guix system roll-back doesn't roll setuid-programs back

OpenSubmitted by Jakub Kądziołka.
Details
2 participants
  • Jakub Kądziołka
  • Ludovic Courtès
Owner
Somebody
Severity
important
J
J
Jakub Kądziołka wrote on 3 Jan 01:48 +0100
(address . bug-guix@gnu.org)
20200103004803.7xmz2dfz6hvs5oak@zdrowyportier.kadziolka.net
Steps to reproduce:
1. Add a setuid program to your config:
(setuid-programs (cons* (file-append hello "/bin/hello") %setuid-programs))
2. guix system reconfigure3. Observe that /run/setuid-programs/hello got created4. Undo the configuration change5. guix system reconfigure6. Observe that /run/setuid-programs/hello no longer exists7. guix system roll-back
Expected behavior:/run/setuid-programs/hello appears again
Actual behavior:/run/setuid-programs/hello still doesn't exist
Similarly, when roll-back is supposed to remove a file, it doesn't.
Previously mentioned in https://debbugs.gnu.org/38800.
Regards,Jakub Kądziołka
J
J
Jakub Kądziołka wrote on 14 Jan 01:02 +0100
Assigning bugs I will soon send patches for to myself (where soon = a few days)
(address . control@debbugs.gnu.org)
20200114000245.4q7mv7y6mqgpbxz4@zdrowyportier.kadziolka.net
owner 38884 !owner 32054 !thanks
L
L
Ludovic Courtès wrote 6 days ago
control message for bug #38884
(address . control@debbugs.gnu.org)
877dvpbpq9.fsf@gnu.org
severity 38884 importantquit
L
L
Ludovic Courtès wrote 6 days ago
(address . control@debbugs.gnu.org)
875zb9bpq4.fsf@gnu.org
tags 38884 + securityquit
?