Package: dracut-core
Version: 106-5

In dracut/modules.d/91tpm2-tss/module-setup.sh , it references
inst_sysusers tpm2-tss.conf , but there's no package installing a
tpm2-tss.conf.


tpm-udev creates a tss user in it's postinst script, but not via
sysusers.


Either the dracut module should inject it's own tpm2-tss.conf to create
the relevant tss user , or tpm2-udev should carry a tpm2-tss.conf file
matching the tss user it creates in the postinst script, or replacing
that.


Currently one can se things like:
Mar 19 14:57:48 localhost systemd-tmpfiles[335]: Failed to parse ACL 
"default:group:tss:rwx", ignoring: Invalid argument
Mar 19 14:57:48 localhost systemd-tmpfiles[335]: Failed to parse ACL 
"default:group:tss:rwx", ignoring: Invalid argument
Mar 19 14:57:48 localhost systemd-tmpfiles[360]: 
/usr/lib/tmpfiles.d/tpm2-tss-fapi.conf:2: Failed to resolve user 'tss': No such 
process
Mar 19 14:57:48 localhost systemd-tmpfiles[360]: Failed to parse ACL 
"default:group:tss:rwx", ignoring: Invalid argument Mar 19 14:57:48 localhost 
systemd-tmpfiles[360]:
/usr/lib/tmpfiles.d/tpm2-tss-fapi.conf:4: Failed to resolve user 'tss': No such 
process Mar 19 14:57:48 localhost systemd-tmpfiles[360]: Failed to parse ACL 
"default:group:tss:rwx", ignoring: Invalid argument
Mar 19 14:57:48 localhost systemd-tmpfiles[360]: 
/usr/lib/tmpfiles.d/tpm2-tss-fapi.conf:6: Failed to resolve group 'tss': No 
such process
Mar 19 14:57:48 localhost systemd-tmpfiles[360]: 
/usr/lib/tmpfiles.d/tpm2-tss-fapi.conf:7: Failed to resolve group 'tss': No 
such process
Mar 19 14:57:48 localhost systemd-udevd[440]: 
/usr/lib/udev/rules.d/60-tpm-udev.rules:3 Unknown user 'tss', ignoring.
Mar 19 14:57:48 localhost systemd-udevd[440]: 
/usr/lib/udev/rules.d/60-tpm-udev.rules:4 Unknown user 'tss', ignoring.
Mar 19 14:57:48 localhost systemd-udevd[440]: 
/usr/lib/udev/rules.d/60-tpm-udev.rules:4 Unknown group 'tss', ignoring.


In the log from the boot with a dracut built initramfs wihout the tss
user.


//Anton

Reply via email to