Re: blocking shutdown?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On 05/17/2012 10:50 AM, George Pang wrote: > I've been configuring a server for a colocation recently using ubuntu > 12.04 desktop (the server dist dislikes my only keyboard) and I > noticed that if I am running an fio test and I initiate a shutdown the > shutdown kills off everything as usual, but fio appears to keep > running and block shutdown. (from either the desktop ui or with > "shutdown now") > > Thus on a remote server any user with privileges to run fio could > accidentally, or maliciously prevent system shutdown from completing, > effectively taking a server out of service until physical access was > achieved. Sounds like the distro is buggy, then. Fio is nothing special. It'll terminate on a signal, if sent TERM for instance. The only way that fio would feasibly not die on shutdown would be if it's stuck uninterruptibly in the kernel, due to an oops/crash or a bug. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html