All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: George Pang <xilvar@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: blocking shutdown?
Date: Fri, 18 May 2012 11:59:48 +0200	[thread overview]
Message-ID: <4FB61D94.2050909@kernel.dk> (raw)
In-Reply-To: <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


      reply	other threads:[~2012-05-18 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAMJ=ptCSGPwF+QWLw27XePB9kbJ-PxjtOtvJ3UbmzAqaZsYrGQ@mail.gmail.com>
2012-05-17  8:50 ` blocking shutdown? George Pang
2012-05-18  9:59   ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FB61D94.2050909@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=xilvar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.