GNU bug report logs - #30734
[PATCH core-updates 0/3] nologin and ifconfig profile conflicts

Previous Next

Package: guix-patches;

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

Date: Tue, 6 Mar 2018 16:55:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <marius <at> gnu.org>

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 30734 in the body.
You can then email your comments to 30734 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#30734; Package guix-patches. (Tue, 06 Mar 2018 16:55:04 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, 06 Mar 2018 16:55:04 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 core-updates 0/3] nologin and ifconfig profile conflicts
Date: Tue,  6 Mar 2018 17:54:38 +0100
These patches aim to fix conflicts in the default profile.  The second
patch is unrelated and not necessarily even accurate.

Feedback wanted!

Marius Bakke (3):
  gnu: util-linux: Don't build 'nologin'.
  gnu: util-linux: Move '.la' files to static output.
  gnu: net-tools: Don't install 'ifconfig'.

 gnu/packages/linux.scm | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

-- 
2.16.2





Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Tue, 06 Mar 2018 16:57:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: 30734 <at> debbugs.gnu.org
Cc: Marius Bakke <mbakke <at> fastmail.com>
Subject: [PATCH core-updates 1/3] gnu: util-linux: Don't build 'nologin'.
Date: Tue,  6 Mar 2018 17:56:40 +0100
* gnu/packages/linux.scm (util-linux)[source](snippet): Add substitution.
---
 gnu/packages/linux.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c33b473ca..e63abcea4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -559,12 +559,13 @@ providing the system administrator with some help in common tasks.")
               (patches (search-patches "util-linux-tests.patch"))
               (modules '((guix build utils)))
               (snippet
-               ;; We take the 'logger' program from GNU Inetutils and 'kill'
-               ;; from GNU Coreutils.
+               ;; We take 'nologin' from Shadow, the 'logger' program from
+               ;; GNU Inetutils and 'kill' from GNU Coreutils.
                '(begin
                   (substitute* "configure"
                     (("build_logger=yes") "build_logger=no")
-                    (("build_kill=yes") "build_kill=no"))
+                    (("build_kill=yes") "build_kill=no")
+                    (("build_nologin=yes") "build_nologin=no"))
                   #t))))
     (build-system gnu-build-system)
     (outputs '("out"
-- 
2.16.2





Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Tue, 06 Mar 2018 16:57:04 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: 30734 <at> debbugs.gnu.org
Cc: Marius Bakke <mbakke <at> fastmail.com>
Subject: [PATCH core-updates 2/3] gnu: util-linux: Move '.la' files to static
 output.
Date: Tue,  6 Mar 2018 17:56:41 +0100
* gnu/packages/linux.scm (util-linux)[arguments]: Update 'move-static-libs'
phase to include .la files.  Substitute the output.
---
 gnu/packages/linux.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index e63abcea4..dffe2c49c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -608,10 +608,16 @@ providing the system administrator with some help in common tasks.")
                        (mkdir-p (string-append static "/lib"))
                        (with-directory-excursion out
                          (for-each (lambda (file)
+                                     ;; The dynamic linker does not need the '.la'
+                                     ;; files, but libtool might.  Make sure they
+                                     ;; refer to the right output.
+                                     (when (string= ".la" (string-take-right file 3))
+                                       (substitute* file
+                                         ((out) static)))
                                      (rename-file file
                                                   (string-append static "/"
                                                                  file)))
-                                   (find-files "lib" "\\.a$")))
+                                   (find-files "lib" "\\.l?a$")))
                        #t))))))
     (inputs `(("zlib" ,zlib)
               ("ncurses" ,ncurses)
-- 
2.16.2





Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Tue, 06 Mar 2018 16:57:04 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: 30734 <at> debbugs.gnu.org
Cc: Marius Bakke <mbakke <at> fastmail.com>
Subject: [PATCH core-updates 3/3] gnu: net-tools: Don't install 'ifconfig'.
Date: Tue,  6 Mar 2018 17:56:42 +0100
* gnu/packages/linux.scm (net-tools)[arguments]: In
REMOVE-REDUNDANT-COMMANDS-PHASE, add regexp for ifconfig.
---
 gnu/packages/linux.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index dffe2c49c..8c07d1fdd 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1290,7 +1290,7 @@ inadequately in modern network environments, and both should be deprecated.")
                ;; Remove commands and man pages redundant with Inetutils.
                (let* ((out (assoc-ref outputs "out"))
                       (dup (append-map (cut find-files out <>)
-                                       '("^hostname"
+                                       '("^hostname" "^ifconfig"
                                          "^(yp|nis|dns)?domainname"))))
                  (for-each delete-file dup)
                  #t))))
-- 
2.16.2





Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Tue, 06 Mar 2018 17:05:02 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 2/3] gnu: util-linux: Move
 '.la' files to static output.
Date: Tue, 6 Mar 2018 18:04:49 +0100
[Message part 1 (text/plain, inline)]
Hi Marius,

On Tue,  6 Mar 2018 17:56:41 +0100
Marius Bakke <mbakke <at> fastmail.com> wrote:

> index e63abcea4..dffe2c49c 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -608,10 +608,16 @@ providing the system administrator with some help in common tasks.")
>                         (mkdir-p (string-append static "/lib"))
>                         (with-directory-excursion out
>                           (for-each (lambda (file)
> +                                     ;; The dynamic linker does not need the '.la'
> +                                     ;; files, but libtool might.  Make sure they
> +                                     ;; refer to the right output.
> +                                     (when (string= ".la" (string-take-right file 3))

string-take-right errors out when given an argument which is longer than the length of FILE.

I suggest using (string-suffix? ".la" file) instead.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Tue, 06 Mar 2018 20:21:02 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 3/3] gnu: net-tools: Don't
 install 'ifconfig'.
Date: Tue, 6 Mar 2018 21:20:09 +0100
[Message part 1 (text/plain, inline)]
Hi Marius,

On Tue,  6 Mar 2018 17:56:42 +0100
Marius Bakke <mbakke <at> fastmail.com> wrote:

> * gnu/packages/linux.scm (net-tools)[arguments]: In
> REMOVE-REDUNDANT-COMMANDS-PHASE, add regexp for ifconfig.
> ---
>  gnu/packages/linux.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index dffe2c49c..8c07d1fdd 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -1290,7 +1290,7 @@ inadequately in modern network environments, and both should be deprecated.")
>                 ;; Remove commands and man pages redundant with Inetutils.
>                 (let* ((out (assoc-ref outputs "out"))
>                        (dup (append-map (cut find-files out <>)
> -                                       '("^hostname"
> +                                       '("^hostname" "^ifconfig"
>                                           "^(yp|nis|dns)?domainname"))))
>                   (for-each delete-file dup)

Is there a reason why those regular expressions don't end in "$" (meaning "at the end")?

Otherwise LGTM!
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Tue, 06 Mar 2018 20:21:02 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 1/3] gnu: util-linux: Don't
 build 'nologin'.
Date: Tue, 6 Mar 2018 21:20:51 +0100
[Message part 1 (text/plain, inline)]
LGTM!
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Wed, 07 Mar 2018 21:20:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 3/3] gnu: net-tools: Don't
 install 'ifconfig'.
Date: Wed, 07 Mar 2018 22:19:36 +0100
Marius Bakke <mbakke <at> fastmail.com> skribis:

> * gnu/packages/linux.scm (net-tools)[arguments]: In
> REMOVE-REDUNDANT-COMMANDS-PHASE, add regexp for ifconfig.
> ---
>  gnu/packages/linux.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index dffe2c49c..8c07d1fdd 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -1290,7 +1290,7 @@ inadequately in modern network environments, and both should be deprecated.")
>                 ;; Remove commands and man pages redundant with Inetutils.
>                 (let* ((out (assoc-ref outputs "out"))
>                        (dup (append-map (cut find-files out <>)
> -                                       '("^hostname"
> +                                       '("^hostname" "^ifconfig"

GNU ifconfig is somewhat incompatible and may have a different feature
set compared to the one of net-tools, so I’d be in favor of keeping it.

WDYT?

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Wed, 07 Mar 2018 21:21:03 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 1/3] gnu: util-linux: Don't build
 'nologin'.
Date: Wed, 07 Mar 2018 22:19:56 +0100
Marius Bakke <mbakke <at> fastmail.com> skribis:

> * gnu/packages/linux.scm (util-linux)[source](snippet): Add substitution.

LGTM!

Ludo'.




Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Thu, 08 Mar 2018 20:46:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 3/3] gnu: net-tools: Don't
 install 'ifconfig'.
Date: Thu, 08 Mar 2018 21:45:45 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> * gnu/packages/linux.scm (net-tools)[arguments]: In
>> REMOVE-REDUNDANT-COMMANDS-PHASE, add regexp for ifconfig.
>> ---
>>  gnu/packages/linux.scm | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
>> index dffe2c49c..8c07d1fdd 100644
>> --- a/gnu/packages/linux.scm
>> +++ b/gnu/packages/linux.scm
>> @@ -1290,7 +1290,7 @@ inadequately in modern network environments, and both should be deprecated.")
>>                 ;; Remove commands and man pages redundant with Inetutils.
>>                 (let* ((out (assoc-ref outputs "out"))
>>                        (dup (append-map (cut find-files out <>)
>> -                                       '("^hostname"
>> +                                       '("^hostname" "^ifconfig"
>
> GNU ifconfig is somewhat incompatible and may have a different feature
> set compared to the one of net-tools, so I’d be in favor of keeping it.
>
> WDYT?

The motivation for this commit was to remove a conflict in
%base-packages.  Currently it's entirely random which ifconfig ends up
in the system profile, which is not great.

What about the below hack?  Alternatively, it could be moved to a
separate output.  Thoughts?

[0001-gnu-net-tools-Move-ifconfig-to-sbin.patch (text/x-patch, inline)]
From 0887b6af81781ae74f0a34c59f32ed098fa199dc Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke <at> fastmail.com>
Date: Thu, 8 Mar 2018 21:41:13 +0100
Subject: [PATCH] gnu: net-tools: Move 'ifconfig' to "/sbin".

* gnu/packages/linux.scm (net-tools)[arguments]: In
REMOVE-REDUNDANT-COMMANDS-PHASE, use rename-file on ifconfig.
---
 gnu/packages/linux.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 875f11062..916309b79 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1286,6 +1286,11 @@ inadequately in modern network environments, and both should be deprecated.")
                                        '("^hostname"
                                          "^(yp|nis|dns)?domainname"))))
                  (for-each delete-file dup)
+                 ;; ifconfig from net-tools is somewhat incompatible with
+                 ;; GNU ifconfig, so we keep it around.  Move it to "/sbin"
+                 ;; to prevent conflict in %base-packages.
+                 (rename-file (string-append out "/bin/ifconfig")
+                              (string-append out "/sbin/ifconfig"))
                  #t))))
          ;; Binaries that depend on libnet-tools.a don't declare that
          ;; dependency, making it parallel-unsafe.
-- 
2.16.2

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Thu, 08 Mar 2018 20:54:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 3/3] gnu: net-tools: Don't
 install 'ifconfig'.
Date: Thu, 08 Mar 2018 21:53:26 +0100
Marius Bakke <mbakke <at> fastmail.com> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Marius Bakke <mbakke <at> fastmail.com> skribis:
>>
>>> * gnu/packages/linux.scm (net-tools)[arguments]: In
>>> REMOVE-REDUNDANT-COMMANDS-PHASE, add regexp for ifconfig.
>>> ---
>>>  gnu/packages/linux.scm | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
>>> index dffe2c49c..8c07d1fdd 100644
>>> --- a/gnu/packages/linux.scm
>>> +++ b/gnu/packages/linux.scm
>>> @@ -1290,7 +1290,7 @@ inadequately in modern network environments, and both should be deprecated.")
>>>                 ;; Remove commands and man pages redundant with Inetutils.
>>>                 (let* ((out (assoc-ref outputs "out"))
>>>                        (dup (append-map (cut find-files out <>)
>>> -                                       '("^hostname"
>>> +                                       '("^hostname" "^ifconfig"
>>
>> GNU ifconfig is somewhat incompatible and may have a different feature
>> set compared to the one of net-tools, so I’d be in favor of keeping it.
>>
>> WDYT?
>
> The motivation for this commit was to remove a conflict in
> %base-packages.  Currently it's entirely random which ifconfig ends up
> in the system profile, which is not great.

I think it’s not _entirely_ random, but I agree it’s not great.  ;-)

> What about the below hack?  Alternatively, it could be moved to a
> separate output.  Thoughts?
>
> From 0887b6af81781ae74f0a34c59f32ed098fa199dc Mon Sep 17 00:00:00 2001
> From: Marius Bakke <mbakke <at> fastmail.com>
> Date: Thu, 8 Mar 2018 21:41:13 +0100
> Subject: [PATCH] gnu: net-tools: Move 'ifconfig' to "/sbin".
>
> * gnu/packages/linux.scm (net-tools)[arguments]: In
> REMOVE-REDUNDANT-COMMANDS-PHASE, use rename-file on ifconfig.
> ---
>  gnu/packages/linux.scm | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 875f11062..916309b79 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -1286,6 +1286,11 @@ inadequately in modern network environments, and both should be deprecated.")
>                                         '("^hostname"
>                                           "^(yp|nis|dns)?domainname"))))
>                   (for-each delete-file dup)
> +                 ;; ifconfig from net-tools is somewhat incompatible with
> +                 ;; GNU ifconfig, so we keep it around.  Move it to "/sbin"
> +                 ;; to prevent conflict in %base-packages.
> +                 (rename-file (string-append out "/bin/ifconfig")
> +                              (string-append out "/sbin/ifconfig"))
>                   #t))))

Sure, either that or rename it to “ifconfig.net-tools” (I think Debian
sometimes does things like this.)

But, isc-dhcp depends on net-tools, and it might have scripts that
depend on its ifconfig, for instance.  Same for virtuoso-ose, isc-bind,
iodine, and more.

So all in all, your suggestion may be safer, though we should check
whether these things break.

Thank you,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Thu, 22 Mar 2018 18:41:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 3/3] gnu: net-tools: Don't
 install 'ifconfig'.
Date: Thu, 22 Mar 2018 19:40:30 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> What about the below hack?  Alternatively, it could be moved to a
>> separate output.  Thoughts?
>>
>> From 0887b6af81781ae74f0a34c59f32ed098fa199dc Mon Sep 17 00:00:00 2001
>> From: Marius Bakke <mbakke <at> fastmail.com>
>> Date: Thu, 8 Mar 2018 21:41:13 +0100
>> Subject: [PATCH] gnu: net-tools: Move 'ifconfig' to "/sbin".
>>
>> * gnu/packages/linux.scm (net-tools)[arguments]: In
>> REMOVE-REDUNDANT-COMMANDS-PHASE, use rename-file on ifconfig.
>> ---
>>  gnu/packages/linux.scm | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
>> index 875f11062..916309b79 100644
>> --- a/gnu/packages/linux.scm
>> +++ b/gnu/packages/linux.scm
>> @@ -1286,6 +1286,11 @@ inadequately in modern network environments, and both should be deprecated.")
>>                                         '("^hostname"
>>                                           "^(yp|nis|dns)?domainname"))))
>>                   (for-each delete-file dup)
>> +                 ;; ifconfig from net-tools is somewhat incompatible with
>> +                 ;; GNU ifconfig, so we keep it around.  Move it to "/sbin"
>> +                 ;; to prevent conflict in %base-packages.
>> +                 (rename-file (string-append out "/bin/ifconfig")
>> +                              (string-append out "/sbin/ifconfig"))
>>                   #t))))
>
> Sure, either that or rename it to “ifconfig.net-tools” (I think Debian
> sometimes does things like this.)
>
> But, isc-dhcp depends on net-tools, and it might have scripts that
> depend on its ifconfig, for instance.  Same for virtuoso-ose, isc-bind,
> iodine, and more.
>
> So all in all, your suggestion may be safer, though we should check
> whether these things break.

I like renaming it better than moving to 'sbin'.  I'll try out some of
the dependent packages and see what needs to be done.  Would it be okay
to switch to GNU Inetutils for those that require 'ifconfig'?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Fri, 23 Mar 2018 09:23:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 3/3] gnu: net-tools: Don't
 install 'ifconfig'.
Date: Fri, 23 Mar 2018 10:22:36 +0100
Marius Bakke <mbakke <at> fastmail.com> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:

[...]

>> Sure, either that or rename it to “ifconfig.net-tools” (I think Debian
>> sometimes does things like this.)
>>
>> But, isc-dhcp depends on net-tools, and it might have scripts that
>> depend on its ifconfig, for instance.  Same for virtuoso-ose, isc-bind,
>> iodine, and more.
>>
>> So all in all, your suggestion may be safer, though we should check
>> whether these things break.
>
> I like renaming it better than moving to 'sbin'.  I'll try out some of
> the dependent packages and see what needs to be done.  Would it be okay
> to switch to GNU Inetutils for those that require 'ifconfig'?

Sure.  I think we’ll have to actually run the those tools (isc-dhcp,
etc.) to check whether their scripts work well with GNU ifconfig, though.

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Wed, 29 Aug 2018 21:25:01 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 30734 <at> debbugs.gnu.org
Subject: Re: [bug#30734] [PATCH core-updates 0/3] nologin and ifconfig
 profile conflicts
Date: Wed, 29 Aug 2018 17:24:13 -0400
[Message part 1 (text/plain, inline)]
On Tue, Mar 06, 2018 at 05:54:38PM +0100, Marius Bakke wrote:
> These patches aim to fix conflicts in the default profile.  The second
> patch is unrelated and not necessarily even accurate.
> 
> Feedback wanted!
> 
> Marius Bakke (3):
>   gnu: util-linux: Don't build 'nologin'.
>   gnu: util-linux: Move '.la' files to static output.
>   gnu: net-tools: Don't install 'ifconfig'.

What's the status of this third patch? Should we apply it to
core-updates (or core-updates-next)?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Wed, 23 Mar 2022 15:26:01 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Marius Bakke <mbakke <at> fastmail.com>, Leo Famulari <leo <at> famulari.name>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, ludo <at> gnu.org,
 30734 <at> debbugs.gnu.org
Subject: Re: bug#30734: [PATCH core-updates 0/3] nologin and ifconfig
 profile conflicts
Date: Wed, 23 Mar 2022 16:24:01 +0100
Hi,

An old patch [1] which probably fell through the cracks.

1: <http://issues.guix.gnu.org/issue/30464>


On Tue, 06 Mar 2018 at 17:54, Marius Bakke <mbakke <at> fastmail.com> wrote:

> These patches aim to fix conflicts in the default profile.  The second
> patch is unrelated and not necessarily even accurate.
>
> Feedback wanted!
>
> Marius Bakke (3):
>   gnu: util-linux: Don't build 'nologin'.

The first patch got 2 LGTM at the time, so it can be applied, IMHO.
Since the last discussion of the two others is from 4 years ago, I
assume it is not a big deal and could be close as wontfix.  WDYT?


Cheers,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#30734; Package guix-patches. (Wed, 23 Mar 2022 16:21:01 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, ludo <at> gnu.org,
 30734 <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#30734: [PATCH core-updates 0/3] nologin and ifconfig
 profile conflicts
Date: Wed, 23 Mar 2022 17:19:55 +0100
Hi,

On Wed, 23 Mar 2022 at 16:24, zimoun <zimon.toutoune <at> gmail.com> wrote:

> The first patch got 2 LGTM at the time, so it can be applied, IMHO.

It is already applied by 0223db58ef36dbc552f91e12d2bb6e444bcfd7f6.


> Since the last discussion of the two others is from 4 years ago, I
> assume it is not a big deal and could be close as wontfix.  WDYT?

Closing the 2 others?  Or what is the next action?


Cheers,
simon




Reply sent to Marius Bakke <marius <at> gnu.org>:
You have taken responsibility. (Sun, 10 Apr 2022 11:27:01 GMT) Full text and rfc822 format available.

Notification sent to Marius Bakke <mbakke <at> fastmail.com>:
bug acknowledged by developer. (Sun, 10 Apr 2022 11:27:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <marius <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, ludo <at> gnu.org,
 30734-done <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#30734: [PATCH core-updates 0/3] nologin and ifconfig
 profile conflicts
Date: Sun, 10 Apr 2022 13:26:40 +0200
[Message part 1 (text/plain, inline)]
zimoun <zimon.toutoune <at> gmail.com> skriver:

>> Since the last discussion of the two others is from 4 years ago, I
>> assume it is not a big deal and could be close as wontfix.  WDYT?
>
> Closing the 2 others?  Or what is the next action?

The ifconfig patch is obsolete since 58236d301 (system: Drop net-tools
from %BASE-PACKAGES (replaced by iproute2).).

Closing, thanks for the reminder.
[signature.asc (application/pgp-signature, inline)]

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

This bug report was last modified 1 year and 353 days ago.

Previous Next


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