initramfs-tools broken by libpam-tmpdir and /tmp mounted with noexec

Bug #2053153 reported by Patrick Schleizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Debian)
Fix Released
Unknown
initramfs-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

I would like to forward the bug that was reported against Debian "certain update-initramfs actions broken on systems with' from 'cryptsetup-initramfs: cryptkeyctl script fails to discover decrypt_keyctl even when present" [1] to upstream initramfs-tools, which I think is here.

To reproduce this bug in Debian:

1) sudo apt install libpam-tmpdir

2) Mount /tmp with noexec.

This breaks the cryptkeyctl hook.

Could you fix initramfs-tools compatibility with libpam-tmpdir and /tmp mounted with noexec please?

Is there some more appropriate temporary folder for update-initramfs to use?

By comparison, dracut has no such issue.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062756

(Disclaimer: I am not affiliated with Debian and writing this on my own imitative.)

Changed in initramfs-tools (Debian):
status: Unknown → Fix Released
Revision history for this message
Patrick Schleizer (adrelanos) wrote :

Changed in initramfs-tools (Debian):
status: Unknown → Fix Released

This is wrong as you can see from the context of the ticket.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.