Hi Tollef, Tollef Fog Heen <tfh...@err.no> writes:
> ]] Michael Biebl > >> Am 02.07.2013 04:38, schrieb Paul Wise: >> >> > systemd doesn't support "environment initctl request"s. systemd needs to >> > support all initctl requests if it is going to replace sysvinit in Debian >> >> Why is INIT_CMD_SETENV/INIT_CMD_UNSETENV a critical feature which needs >> to be supported by systemd-initctl? > > it seems like shutdown(8) is setting INIT_HALT to HALT or POWERDOWN > depending on whether it wants to halt or power down. I haven't tested, > but I suspect this means you can either not halt or either not > shutdown. (Or this is handled some other way than through env variables > nowadays.) halttype is either HALT or POWERDOWN, and the shutdown() function calls init_setenv("INIT_HALT", halttype);. The only reference I can find to INIT_HALT is in sysvinit’s debian/src/initscripts/etc/init.d/halt Paul, could you clarify what’s the actual problem here? You did not say whether anything actually went wrong, e.g. did your machine not power off even though you requested it (but you said it _was_ powered off)? -- Best regards, Michael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org