From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ez597-0003uc-Mp for guix-patches@gnu.org; Thu, 22 Mar 2018 14:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ez594-0006af-IF for guix-patches@gnu.org; Thu, 22 Mar 2018 14:41:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40237) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ez594-0006aY-EK for guix-patches@gnu.org; Thu, 22 Mar 2018 14:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ez594-0002Vy-7j for guix-patches@gnu.org; Thu, 22 Mar 2018 14:41:02 -0400 Subject: [bug#30734] [PATCH core-updates 3/3] gnu: net-tools: Don't install 'ifconfig'. Resent-Message-ID: From: Marius Bakke In-Reply-To: <87fu5al261.fsf@gnu.org> References: <20180306165642.4486-1-mbakke@fastmail.com> <20180306165642.4486-3-mbakke@fastmail.com> <87zi3jporb.fsf@gnu.org> <87woym70ue.fsf@fastmail.com> <87fu5al261.fsf@gnu.org> Date: Thu, 22 Mar 2018 19:40:30 +0100 Message-ID: <87d0zwkl7l.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30734@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Marius Bakke 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 >> 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 wi= th >> + ;; GNU ifconfig, so we keep it around. Move it to "/s= bin" >> + ;; 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 =E2=80=9Cifconfig.net-tools=E2=80=9D (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'? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqz+J4ACgkQoqBt8qM6 VPqArQgArD8UUvwMlUVB3TJWHF9HuJeAjQoZvCd84pnigGlU7OltUGrD0HvN+yNl YIDZQagnj/pGoA2GaBerWdco0eiHlMu2UqjEAykh0IWQZxhps5K6z2iOWks4d29v 4KgIoIPbdXVRs20THwR9FLF5cViTlXSdv1KVQ6+cface7+wOfd+BaYUbTrdVA97M Q1/KCxMqijgwuRC06+1Ql2OKcpD+bayyy8a4XJUkp41NXHy+wbsHcAS/j75yHHYi bz5jPgWkaOIte1nJIOpI37UeX501O7fDEUGfL+2nbsr4l75qY6RLrB2CADC8IL38 BhVcMF0OiTBSxbWnNyfSkxkaai+NAQ== =Bb2l -----END PGP SIGNATURE----- --=-=-=--