GNU bug report logs

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

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

Received: (at submit) by debbugs.gnu.org; 3 Jan 2020 00:48:16 +0000
From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 02 19:48:16 2020
Received: from localhost ([127.0.0.1]:40227 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1inB8S-000742-08
	for submit@debbugs.gnu.org; Thu, 02 Jan 2020 19:48:16 -0500
Received: from lists.gnu.org ([209.51.188.17]:33555)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kuba@kadziolka.net>) id 1inB8Q-00073u-BE
 for submit@debbugs.gnu.org; Thu, 02 Jan 2020 19:48:14 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:35599)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <kuba@kadziolka.net>) id 1inB8P-0008Bg-4o
 for bug-guix@gnu.org; Thu, 02 Jan 2020 19:48:14 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kuba@kadziolka.net>) 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 <kuba@kadziolka.net>) id 1inB8J-0003Ms-BQ
 for bug-guix@gnu.org; Thu, 02 Jan 2020 19:48:07 -0500
Received: (qmail 1804 invoked by uid 1009); 3 Jan 2020 01:48:05 +0100
Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat
 (envelope-from <kuba@kadziolka.net>, uid 1002) with qmail-scanner-2.08st 
 (clamdscan: 0.98.6/25681. spamassassin: 3.4.0. perlscan: 2.08st.  
 Clear:RC:1(188.123.215.55):. 
 Processed in 0.028219 secs); 03 Jan 2020 00:48:05 -0000
Received: from unknown (HELO zdrowyportier.kadziolka.net)
 (kuba@kadziolka.net@188.123.215.55)
 by pat.zlotemysli.pl with SMTP; 3 Jan 2020 01:48:05 +0100
Date: Fri, 3 Jan 2020 01:48:03 +0100
From: Jakub Kądziołka <kuba@kadziolka.net>
To: bug-guix@gnu.org
Subject: guix system roll-back doesn't roll setuid-programs back
Message-ID: <20200103004803.7xmz2dfz6hvs5oak@zdrowyportier.kadziolka.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 37.59.186.212
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
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




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Fri Jan 3 03:40:20 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.