Difference between revisions of "Talk:Kexec"

From ArchWiki
Jump to: navigation, search
m (systemd service dependencies are correct, closing section...)
(sd-shutdown hook and kexec: fix signature)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
::: The correct way to do this is (imho) to add clarification in [[mkinitcpio]] and reference that article here. --[[User:Buhman|Buhman]] ([[User talk: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. --[[User:Buhman|Buhman]] ([[User talk:Buhman|talk]]) 09:53, 10 October 2012 (UTC)
  
== systemd - service dependencies ==
+
== sd-shutdown hook and kexec ==
<s>I think the depenencies are very wrong, it should be
+
 
    Requires=shutdown.target umount.target final.target
+
The article mention not use shutdown hook, but there no mention about sd-shutdown or if exist a workaround or even why should not be added. it need clarification and expantion. --[[user:Jristz|Jristz]] 04:43, 26 August 2017 (UTC)
    After=shutdown.target umount.target final.target
 
otherwise shutdown.target etc. isn't invoked on kexec.</s><br>
 
-- [[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)
 

Latest revision as of 04:44, 26 August 2017

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)

sd-shutdown hook and kexec

The article mention not use shutdown hook, but there no mention about sd-shutdown or if exist a workaround or even why should not be added. it need clarification and expantion. --Jristz 04:43, 26 August 2017 (UTC)