Bug#756109: systemd: Please copy 70-uaccess.rules and 71-seat.rules in the initramfs

Laurent Bigonville bigon at debian.org
Wed Nov 30 11:58:47 GMT 2016


On Fri, 13 Nov 2015 17:03:46 +0100 Laurent Bigonville <bigon at debian.org> 
wrote:
 > On Sun, 29 Mar 2015 05:30:23 +0200 md at Linux.IT (Marco d'Itri) wrote:
 > > On Jul 26, Laurent Bigonville <bigon at debian.org> wrote:
 > >
 > > > Do you think that it could be possible to copy 70-uaccess.rules and
 > > > 71-seat.rules (and maybe 73-seat-late.rules) in the initramfs?
 > > Adding 70-uaccess.rules is easy, but 71-seat.rules runs some programs
 > > like loginctl which is not available in the initramfs.
 > > Maybe we need a simpler rules file just for the initramfs?
 > > Is this change still needed?
 > > What do other distributions do about this?
 >
 > Still would be nice to have yes.
 >
 > I see two RUN in the 71-seat.rules and the loginctl one is used to lock
 > the session in case a keylogger is inserted while the machine is booted,
 > is it a problem if the command fails? The other one is udevadm, isn't
 > this one already in the initramfs?
 >
 > Looking at fedora, I see that they are copying the following rules:
 >
 > inst_rules \
 > 70-uaccess.rules \
 > 71-seat.rules \
 > 73-seat-late.rules \
 > 90-vconsole.rules \
 > 99-systemd.rules
 >
 > but indeed they are also installing the loginctl apparently (and
 > systemd-sysctl for 99-systemd.rules).

What could be done here?

Is it a problem if loginctl is not present in the initramfs? Would the 
rule be executed later in the boot again?

Same question for systemd-sysctl. Couldn't that one be added in the 
initramfs?



More information about the Pkg-systemd-maintainers mailing list