Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #157753

systemd ignores / overrides 'shutdown -t' delay?

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject systemd ignores / overrides 'shutdown -t' delay?
Date 2015-09-11 20:40 +0200
Message-ID <q7BoS-1rn-15@gated-at.bofh.it> (permalink)
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I've recently built a VM against jessie, and just for the heck of it, I
left it with the default systemd-based configuration.

When I log in to the console as root and try to shut down, I get the
following:

========
# shutdown -h -t 0
Broadcast message from root@hostname (Fri 2015-09-11 14:08:29 EDT):

The system is going down for power off at Fri 2015-09-11 14:09:29 EDT!
========

I.e., even though I specified a shutdown delay of zero seconds (meaning
to shut down immediately), the shutdown is being delayed by 60 seconds.

What I expected instead was a response including the line

========
The system is going down for power off NOW!
========

and an immediate shutdown (without even enough delay to log root out via
Ctrl-D), which is what I get on my other systems, where systemd is not
the active init system.

Google has not been helpful in trying to figure out why this might be
happening; there are plenty of hits explaining how to make systemd
inhibit shutdown or add a delay or the like, and a few hits related to
Debian bug 635777 (which seems to be about a delay after the shutdown
has actually begun, not about a delay in initiating the shutdown), but
no real useful hints.

Grepping recursively and case-insensitively through /etc/systemd for
'shut' and '60' (separately) produces only two hits, neither of which
seems relevant.

Any idea why this is happening, and how to get this VM to respect the
semantics of the shutdown command again?

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

systemd ignores / overrides 'shutdown -t' delay? The Wanderer <wanderer@fastmail.fm> - 2015-09-11 20:40 +0200
  Re: systemd ignores / overrides 'shutdown -t' delay? Ralph Katz <ralph.katz@rcn.com> - 2015-09-11 21:10 +0200
    Re: systemd ignores / overrides 'shutdown -t' delay? The Wanderer <wanderer@fastmail.fm> - 2015-09-11 21:40 +0200
      systemd ignores / overrides 'shutdown -t' delay? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2015-09-13 01:00 +0200
        Re: systemd ignores / overrides 'shutdown -t' delay? The Wanderer <wanderer@fastmail.fm> - 2015-09-13 05:30 +0200
          systemd ignores / overrides 'shutdown -t' delay? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2015-09-16 15:00 +0200
    systemd ignores / overrides 'shutdown -t' delay? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2015-09-13 00:50 +0200
      Re: systemd ignores / overrides 'shutdown -t' delay? Ralph Katz <ralph.katz@rcn.com> - 2015-09-13 20:00 +0200
      Re: systemd ignores / overrides 'shutdown -t' delay? David Wright <deblis@lionunicorn.co.uk> - 2015-09-16 17:00 +0200
        Systemd ignores / overrides 'shutdown -t' delay? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2015-09-16 23:40 +0200
  Re: systemd ignores / overrides 'shutdown -t' delay? Reco <recoverym4n@gmail.com> - 2015-09-11 21:10 +0200
  Re: systemd ignores / overrides 'shutdown -t' delay? David Wright <deblis@lionunicorn.co.uk> - 2015-09-11 21:20 +0200
    systemd ignores / overrides 'shutdown -t' delay? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2015-09-13 01:00 +0200
  Re: systemd ignores / overrides 'shutdown -t' delay? Brian <ad44@cityscape.co.uk> - 2015-09-11 21:20 +0200
  Re: systemd ignores / overrides 'shutdown -t' delay? Don Armstrong <don@debian.org> - 2015-09-11 21:20 +0200
  systemd ignores / overrides 'shutdown -t' delay? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2015-09-13 01:00 +0200

csiph-web