From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Subject: bug#38884: guix system roll-back doesn't roll setuid-programs back Date: Fri, 3 Jan 2020 01:48:03 +0100 Message-ID: <20200103004803.7xmz2dfz6hvs5oak@zdrowyportier.kadziolka.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38390) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inB9G-0008HG-T5 for bug-guix@gnu.org; Thu, 02 Jan 2020 19:49:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inB9C-0004kY-Ni for bug-guix@gnu.org; Thu, 02 Jan 2020 19:49:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34254) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inB9C-0004kJ-K4 for bug-guix@gnu.org; Thu, 02 Jan 2020 19:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inB9C-00075F-Ih for bug-guix@gnu.org; Thu, 02 Jan 2020 19:49:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35599) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inB8P-0008Bg-4o for bug-guix@gnu.org; Thu, 02 Jan 2020 19:48:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inB8J-0003Pk-NS for bug-guix@gnu.org; Thu, 02 Jan 2020 19:48:09 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:60870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1inB8J-0003Ms-BQ for bug-guix@gnu.org; Thu, 02 Jan 2020 19:48:07 -0500 Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38884@debbugs.gnu.org Steps to reproduce: 1. Add a setuid program to your config: (setuid-programs (cons* (file-append hello "/bin/hello") %setuid-programs)) 2. guix system reconfigure 3. Observe that /run/setuid-programs/hello got created 4. Undo the configuration change 5. guix system reconfigure 6. Observe that /run/setuid-programs/hello no longer exists 7. 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