Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#55734 - {mkinitcpio} shutdown hook incompatible with systemd hook

Attached to Project: Arch Linux
Opened by Sung Pae (guns) - Sunday, 24 September 2017, 16:58 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 25 September 2017, 01:56 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Copy of initramfs does not exist in /run/initramfs when the `systemd` and `shutdown` hooks are both present in the HOOKS variable.

Additional info:

* VERSION: mkinicpio 23-2

* grep ^HOOKS /etc/mkinitcpio.conf:

HOOKS="base systemd autodetect modconf block keyboard fsck filesystems shutdown"

Steps to reproduce:

1. Create an initramfs with `systemd` and `shutdown` in the HOOKS variable.

2. Reboot.

3. Check /run/initramfs from main system after boot.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 25 September 2017, 01:56 GMT
Reason for closing:  Not a bug
Comment by Sung Pae (guns) - Sunday, 24 September 2017, 20:17 GMT
If this is officially unsupported because the raison d'ĂȘtre for the shutdown hook (/usr on separate partition) is handled by the systemd hook, then documentation would be nice.

Thank you.
Comment by Sung Pae (guns) - Monday, 25 September 2017, 01:52 GMT
Okay, I found the documentation in the systemd initcpio help. Sorry for the noise.

> Other hooks with runtime components will need to be ported, and will not work as intended.

Loading...