FS#41751 - [systemd] should add machine-id and hostname to mkinitcpio
Attached to Project:
Arch Linux
Opened by Jan (medhefgo) - Friday, 29 August 2014, 13:41 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 30 August 2014, 20:40 GMT
Opened by Jan (medhefgo) - Friday, 29 August 2014, 13:41 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 30 August 2014, 20:40 GMT
|
Details
The systemd mkinitcpio hook should at /etc/machine-id and
/etc/hostname to the initrd, so that systemd can set the
right values in early userspace. The journal would benefit
from a stable machine-id that doesn't change at initrd to
systemd transition.
|
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 30 August 2014, 20:40 GMT
Reason for closing: Won't implement
Additional comments about closing: Easy to workaround, not strictly necessary, and mandating this would break valid/supported use cases of mkinitcpio.
Saturday, 30 August 2014, 20:40 GMT
Reason for closing: Won't implement
Additional comments about closing: Easy to workaround, not strictly necessary, and mandating this would break valid/supported use cases of mkinitcpio.
Benefit how? The journal will already do the right thing and the initramfs logs *will* be available, regardless of any mismatched machine-id.
Yes, but it negates a valid use case -- sharing initramfs images across systems (as you might do for PXE booting or some homogenous environment).
The "fix" on your side is just to append these files to FILES= in /etc/mkinitcpio.conf