- Subject: Re: blocking shutdown?
- From: Jens Axboe <axboe@xxxxxxxxx>
- Date: Fri, 18 May 2012 11:59:48 +0200
- Cc: fio@xxxxxxxxxxxxxxx
- In-reply-to: <CAMJ=ptBgv_YKz9zQOnsyMzXbLO=pUusNY9YEWJzqQWgr_TvRyw@mail.gmail.com>
- References: <CAMJ=ptCSGPwF+QWLw27XePB9kbJ-PxjtOtvJ3UbmzAqaZsYrGQ@mail.gmail.com> <CAMJ=ptBgv_YKz9zQOnsyMzXbLO=pUusNY9YEWJzqQWgr_TvRyw@mail.gmail.com>
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
[Home]
[Linux SCSI]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Video Projectors]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]