Difference between revisions of "Talk:Kexec"

From ArchWiki
Jump to: navigation, search
m (Wrong dependencies in kexec-load@.service ??)
m (systemd service dependencies are correct, closing section...)
Line 7: Line 7:
  
 
== systemd - service dependencies ==
 
== systemd - service dependencies ==
I think the depenencies are very wrong, it should be
+
<s>I think the depenencies are very wrong, it should be
 
     Requires=shutdown.target umount.target final.target
 
     Requires=shutdown.target umount.target final.target
 
     After=shutdown.target umount.target final.target
 
     After=shutdown.target umount.target final.target
otherwise shutdown.target etc. isn't invoked on kexec.<br>
+
otherwise shutdown.target etc. isn't invoked on kexec.</s><br>
 
-- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 23:48, 20 February 2013 (UTC)
 
-- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 23:48, 20 February 2013 (UTC)
 +
: Totally wrong, my mistake... The problem was something else, systemd --user was not shut down cleanly. --[[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 23:50, 21 February 2013 (UTC)

Revision as of 23:50, 21 February 2013

Kexec with LUKS

Some fancy mkinitcpio stuff needs to be done to make kexec work when the root filesystem is in LUKS; that needs to be clarified either here or in the mkinitcpio article. --Buhman (talk) 07:20, 1 October 2012 (UTC)

If you know what these fancy stuff is, please add them here or to Kexec main page (Directly edit the page is better). Everyone can contribute to Arch Wiki. -- Fengchao (talk) 09:57, 1 October 2012 (UTC)
Quite simply: fixing the kexec initscript. The kexec-load systemd unit-files already does the right thing; I no longer see reason to expend effort try to write a dirty hack for the former in this article. Admittedly, 9 days ago, I was speaking of the shutdown initcpio hook as well as including kexec in the BINARIES array, but I couldn't quite make it work *entirely* for myself, which is why I called it "fancy stuff" earlier; this was before I switched to systemd. --Buhman (talk) 09:53, 10 October 2012 (UTC)
The correct way to do this is (imho) to add clarification in mkinitcpio and reference that article here. --Buhman (talk) 09:53, 10 October 2012 (UTC)

systemd - service dependencies

I think the depenencies are very wrong, it should be

   Requires=shutdown.target umount.target final.target
   After=shutdown.target umount.target final.target

otherwise shutdown.target etc. isn't invoked on kexec.
-- Lahwaacz (talk) 23:48, 20 February 2013 (UTC)

Totally wrong, my mistake... The problem was something else, systemd --user was not shut down cleanly. --Lahwaacz (talk) 23:50, 21 February 2013 (UTC)