Hi !<br>I&#39;ve managed to add the proper symlinks in sbin and the reboot/halt/poweroff/shutdown are now handled by systemctl. I also removed the INIT_VERSION environment entry from the corresponding units. Should I consider to keep the entries in the current units (i.e.: /etc/init.d/reboot) that are unmounting the filesystems or should systemctl handle all the unmounting actions safely ? <br>
<br>Best !<br><br><br><br><div class="gmail_quote">On Mon, Sep 27, 2010 at 3:17 AM, Lennart Poettering <span dir="ltr">&lt;<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, 23.09.10 14:09, Cristian Axenie (<a href="mailto:cristian.axenie@gmail.com">cristian.axenie@gmail.com</a>) wrote:<br>
<br>
&gt; Hi !<br>
&gt;<br>
&gt; Any ideas about the following behavior?<br>
&gt;<br>
&gt; ~ # reboot<br>
&gt; Broadcast message from root (ttyS0)<br>
&gt;<br>
&gt; The system is going down for system halt NOW!<br>
&gt; [  296.080000] systemd-initctl[698]: Received environment initctl request.<br>
&gt; This is not implemented in systemd.<br>
<br>
</div>Hmm, interesting. Normally this environment stuff is only used for<br>
controlling the type of a poweroff (i.e. halt vs. poweroff), and matters<br>
little.<br>
<br>
Note that this messages should only become visible if you try to control<br>
systemd with implementations of halt/reboot/poweroff/shutdown from the<br>
old sysvinit package. It is recommended to use the native systemd<br>
implementations instead which you get by symlinking /bin/systemctl to<br>
the various binaries.<br>
<br>
For more details see:<br>
<br>
<a href="http://lists.freedesktop.org/archives/systemd-devel/2010-June/000072.html" target="_blank">http://lists.freedesktop.org/archives/systemd-devel/2010-June/000072.html</a><br>
<div class="im"><br>
&gt; And then the system freezes !<br>
<br>
</div>Completely? Or just the process?<br>
<div class="im"><br>
&gt; It seems that the initctl tries to request a command to set/unset the<br>
&gt; environment when rebooting the system. Is this related to the fact that the<br>
&gt; reboott service is setting in the Environment=RUNLEVEL=6 variable ?<br>
<br>
</div>No. This is done internally of the old sysvinit poweroff binary.<br>
<div class="im"><br>
&gt; Any hint will be appreciated !<br>
<br>
</div>My guess is that some kind of ordering loop makes it impossible to put<br>
together and execute the shutdown transaction. Check syslog/dmesg.<br>
<br>
Does &quot;systemctl poweroff&quot; work?<br>
<div><div></div><div class="h5"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering - Red Hat, Inc.<br>
</div></div></blockquote></div><br>