GNU bug report logs - #27151
[PATCH] gnu: sudo: Unbundle zlib.

Previous Next

Package: guix-patches;

Reported by: Marius Bakke <mbakke <at> fastmail.com>

Date: Tue, 30 May 2017 16:13:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27151 in the body.
You can then email your comments to 27151 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27151; Package guix-patches. (Tue, 30 May 2017 16:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marius Bakke <mbakke <at> fastmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 30 May 2017 16:13:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: guix-patches <at> gnu.org
Cc: Marius Bakke <mbakke <at> fastmail.com>
Subject: [PATCH] gnu: sudo: Unbundle zlib.
Date: Tue, 30 May 2017 18:12:24 +0200
* gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
[inputs]: Add ZLIB.
---
 gnu/packages/admin.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ba0d7f661..c1d254d48 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -812,7 +812,10 @@ system administrator.")
                                     version ".tar.gz")))
               (sha256
                (base32
-                "07fvh8qy0l1h93lccc625f48d8yp0pkp5rjjykq13pb07ar0x64y"))))
+                "07fvh8qy0l1h93lccc625f48d8yp0pkp5rjjykq13pb07ar0x64y"))
+              (modules '((guix build utils)))
+              (snippet
+               '(delete-file-recursively "lib/zlib"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
@@ -860,6 +863,7 @@ system administrator.")
     (inputs
      `(("groff" ,groff)
        ("linux-pam" ,linux-pam)
+       ("zlib" ,zlib)
        ("coreutils" ,coreutils)))
     (home-page "https://www.sudo.ws/")
     (synopsis "Run commands as root")
-- 
2.13.0





Information forwarded to guix-patches <at> gnu.org:
bug#27151; Package guix-patches. (Tue, 30 May 2017 17:48:01 GMT) Full text and rfc822 format available.

Message #8 received at 27151 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 27151 <at> debbugs.gnu.org
Subject: Re: bug#27151: [PATCH] gnu: sudo: Unbundle zlib.
Date: Tue, 30 May 2017 13:47:57 -0400
[Message part 1 (text/plain, inline)]
On Tue, May 30, 2017 at 06:12:24PM +0200, Marius Bakke wrote:
> * gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
> [inputs]: Add ZLIB.

Works for me, thanks!
[signature.asc (application/pgp-signature, inline)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Tue, 30 May 2017 17:52:01 GMT) Full text and rfc822 format available.

Notification sent to Marius Bakke <mbakke <at> fastmail.com>:
bug acknowledged by developer. (Tue, 30 May 2017 17:52:02 GMT) Full text and rfc822 format available.

Message #13 received at 27151-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 27151-done <at> debbugs.gnu.org
Subject: Re: bug#27151: [PATCH] gnu: sudo: Unbundle zlib.
Date: Tue, 30 May 2017 19:51:18 +0200
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:

> On Tue, May 30, 2017 at 06:12:24PM +0200, Marius Bakke wrote:
>> * gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
>> [inputs]: Add ZLIB.
>
> Works for me, thanks!

Thanks for checking! FWIW 'sudo' builds fine without zlib as well, but
references it when it is available in inputs (did not dig further).

Pushed as 6b7f1b6ce96d4c3bbe85d5c548b0643b4ea78ccf.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#27151; Package guix-patches. (Wed, 31 May 2017 19:21:02 GMT) Full text and rfc822 format available.

Message #16 received at 27151-done <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 27151-done <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#27151: [PATCH] gnu: sudo: Unbundle zlib.
Date: Wed, 31 May 2017 21:20:06 +0200
Apparently sudo can log stdin, stdout, stderr of programs it invokes.  If zlib is available, it will compress those logs.

See also <https://unix.stackexchange.com/questions/108577/how-to-log-commands-within-a-sudo-su>.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 Jun 2017 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 358 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.