Debian Bug report logs - #559754
fails to install if /etc/sysctl.d/ not present

version graph

Package: netbase; Maintainer for netbase is Marco d'Itri <md@linux.it>; Source for netbase is src:netbase (PTS, buildd, popcon).

Reported by: Samuel Thibault <sthibault@debian.org>

Date: Sun, 6 Dec 2009 21:57:02 UTC

Severity: serious

Found in version netbase/4.37

Fixed in version netbase/4.39

Done: Marco d'Itri <md@linux.it>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#559754; Package netbase. (Sun, 06 Dec 2009 21:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
New Bug report received and forwarded. Copy sent to Marco d'Itri <md@linux.it>. (Sun, 06 Dec 2009 21:57:05 GMT) (full text, mbox, link).


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

From: Samuel Thibault <sthibault@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: netbase: Fails to install on non-Linux
Date: Sun, 6 Dec 2009 22:53:36 +0100
Package: netbase
Version: 4.37
Severity: important

Hello,

So at least something broke with bindv6only :)

Setting up netbase (4.38) ...
/var/lib/dpkg/info/netbase.postinst: 82: cannot create /etc/sysctl.d/bindv6only.conf: Directory nonexistent
dpkg: error processing netbase (--configure):
 subprocess installed post-installation script returned error exit status 2

This is on hurd-i386, but I guess it happens on kfreebsd-* too.

Samuel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages netbase depends on:
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

Versions of packages netbase recommends:
ii  ifupdown                      0.6.9      high level tools to configure netw

netbase suggests no packages.

-- debconf information excluded

-- 
Samuel Thibault <samuel.thibault@fnac.net>
 Cliquez sur le lien qui suit dans ce mail...vous n'avez plus qu'a vous
 inscrire pour gagner de l'argent en restant connecte....et puis faites
 passer le message et vous gagnerez encore plus d'argent ...
 -+- AC in NPC : Neuneu a rencontr� le Pere No�l -+-




Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#559754; Package netbase. (Sun, 06 Dec 2009 22:09:06 GMT) (full text, mbox, link).


Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sun, 06 Dec 2009 22:09:06 GMT) (full text, mbox, link).


Message #10 received at 559754@bugs.debian.org (full text, mbox, reply):

From: md@Linux.IT (Marco d'Itri)
To: Samuel Thibault <sthibault@debian.org>, 559754@bugs.debian.org
Subject: Re: Bug#559754: netbase: Fails to install on non-Linux
Date: Sun, 6 Dec 2009 23:06:57 +0100
[Message part 1 (text/plain, inline)]
On Dec 06, Samuel Thibault <sthibault@debian.org> wrote:

> This is on hurd-i386, but I guess it happens on kfreebsd-* too.
Can you suggest a test? Will checking for /proc/sys/net work?

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

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#559754; Package netbase. (Sun, 06 Dec 2009 22:27:02 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Sun, 06 Dec 2009 22:27:02 GMT) (full text, mbox, link).


Message #15 received at 559754@bugs.debian.org (full text, mbox, reply):

From: Samuel Thibault <sthibault@debian.org>
To: Marco d'Itri <md@Linux.IT>
Cc: 559754@bugs.debian.org
Subject: Re: Bug#559754: netbase: Fails to install on non-Linux
Date: Sun, 6 Dec 2009 23:26:15 +0100
Marco d'Itri, le Sun 06 Dec 2009 23:06:57 +0100, a écrit :
> On Dec 06, Samuel Thibault <sthibault@debian.org> wrote:
> 
> > This is on hurd-i386, but I guess it happens on kfreebsd-* too.
> Can you suggest a test? Will checking for /proc/sys/net work?

Mmm, thinking again about it, /etc/sysctl.d is provided by procps since
1:3.2.7-7, which is Priority: required, so it's safe to assume it is
installed, even on Lenny, unless you prefer to set a versioned
dependency?

Samuel




Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#559754; Package netbase. (Mon, 07 Dec 2009 11:00:06 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Mon, 07 Dec 2009 11:00:07 GMT) (full text, mbox, link).


Message #20 received at 559754@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: 559754@bugs.debian.org, Samuel Thibault <sthibault@debian.org>
Cc: control@bugs.debian.org
Subject: fails to install if /etc/sysctl.d/ not present
Date: Mon, 07 Dec 2009 11:56:52 +0100
[Message part 1 (text/plain, inline)]
retitle 559754 fails to install if /etc/sysctl.d/ not present
severity 559754 serious
thanks

> Mmm, thinking again about it, /etc/sysctl.d is provided by procps since
> 1:3.2.7-7, which is Priority: required, so it's safe to assume it is
> installed,

no, this is not sufficient. You only can assume that for essential packages.

fwiw, because of this, my pbuilder chroot is currently broken (it does not have
procps installed).

The obvious fix for this is, that the netbase postinst should simply create the
/etc/sysctl.d/ directory if not existent.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

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

Changed Bug title to 'fails to install if /etc/sysctl.d/ not present' from 'netbase: Fails to install on non-Linux' Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Mon, 07 Dec 2009 11:00:08 GMT) (full text, mbox, link).


Severity set to 'serious' from 'important' Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Mon, 07 Dec 2009 11:00:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#559754; Package netbase. (Mon, 07 Dec 2009 11:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Mon, 07 Dec 2009 11:36:03 GMT) (full text, mbox, link).


Message #29 received at 559754@bugs.debian.org (full text, mbox, reply):

From: md@Linux.IT (Marco d'Itri)
To: Michael Biebl <biebl@debian.org>, 559754@bugs.debian.org
Cc: Samuel Thibault <sthibault@debian.org>
Subject: Re: Bug#559754: fails to install if /etc/sysctl.d/ not present
Date: Mon, 7 Dec 2009 12:33:11 +0100
[Message part 1 (text/plain, inline)]
On Dec 07, Michael Biebl <biebl@debian.org> wrote:

> The obvious fix for this is, that the netbase postinst should simply create the
> /etc/sysctl.d/ directory if not existent.
I do not want an obvious fix, I want the people who care about non-linux
ports to tell me how they should be tested for.

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

Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#559754; Package netbase. (Mon, 07 Dec 2009 12:15:05 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (Mon, 07 Dec 2009 12:15:05 GMT) (full text, mbox, link).


Message #34 received at 559754@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Marco d'Itri <md@Linux.IT>
Cc: 559754@bugs.debian.org, Samuel Thibault <sthibault@debian.org>
Subject: Re: Bug#559754: fails to install if /etc/sysctl.d/ not present
Date: Mon, 07 Dec 2009 13:14:09 +0100
[Message part 1 (text/plain, inline)]
Marco d'Itri wrote:
> On Dec 07, Michael Biebl <biebl@debian.org> wrote:
> 
>> The obvious fix for this is, that the netbase postinst should simply create the
>> /etc/sysctl.d/ directory if not existent.
> I do not want an obvious fix, I want the people who care about non-linux
> ports to tell me how they should be tested for.

Well, my point was, that it also fails to install on linux, because procps is
not guaranteed to be installed (as e.g. is in my pbuilder chroot), so the
/etc/sysctl.d directory is not present.

That the sysctl snippet has no effect on non-linux is another issue and should
probably be handled in a separate bug report.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

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

Reply sent to Marco d'Itri <md@linux.it>:
You have taken responsibility. (Mon, 07 Dec 2009 18:57:09 GMT) (full text, mbox, link).


Notification sent to Samuel Thibault <sthibault@debian.org>:
Bug acknowledged by developer. (Mon, 07 Dec 2009 18:57:09 GMT) (full text, mbox, link).


Message #39 received at 559754-close@bugs.debian.org (full text, mbox, reply):

From: Marco d'Itri <md@linux.it>
To: 559754-close@bugs.debian.org
Subject: Bug#559754: fixed in netbase 4.39
Date: Mon, 07 Dec 2009 18:52:21 +0000
Source: netbase
Source-Version: 4.39

We believe that the bug you reported is fixed in the latest version of
netbase, which is due to be installed in the Debian FTP archive:

netbase_4.39.dsc
  to main/n/netbase/netbase_4.39.dsc
netbase_4.39.tar.gz
  to main/n/netbase/netbase_4.39.tar.gz
netbase_4.39_all.deb
  to main/n/netbase/netbase_4.39_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 559754@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <md@linux.it> (supplier of updated netbase package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 07 Dec 2009 19:02:29 +0100
Source: netbase
Binary: netbase
Architecture: source all
Version: 4.39
Distribution: unstable
Urgency: low
Maintainer: Marco d'Itri <md@linux.it>
Changed-By: Marco d'Itri <md@linux.it>
Description: 
 netbase    - Basic TCP/IP networking system
Closes: 559754
Changes: 
 netbase (4.39) unstable; urgency=low
 .
   * Create /etc/sysctl.d/ if it does not exist and do nothing on non-Linux
     systems. (Closes: #559754)
Checksums-Sha1: 
 1be245800bccb37640440b1fd14526e67275f27b 682 netbase_4.39.dsc
 82c2299fc42344f171fe6327181c1b202bd0e83f 34068 netbase_4.39.tar.gz
 744078ca3729aafd57caf9727f18bae7554964bc 19778 netbase_4.39_all.deb
Checksums-Sha256: 
 39e22e25bddaf74efb80e10cf28b9b5bbf469152c5258a35e808d355f044a36d 682 netbase_4.39.dsc
 32a21020cbf59ac5f69ba44d402589ebd827a00f76d973a98c8da2455c4c9f56 34068 netbase_4.39.tar.gz
 4b53b1249e11b3a1e362e5455d8348650f55a178d383d04d6d1c1ddaf28face5 19778 netbase_4.39_all.deb
Files: 
 dc47c08588be3cb80d72e8d8dcdf7377 682 admin important netbase_4.39.dsc
 e186865c81dbfb07cbbb35294ad67ff6 34068 admin important netbase_4.39.tar.gz
 2aa696a41312dea321ac5a27e916c560 19778 admin important netbase_4.39_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAksdSucACgkQFGfw2OHuP7EwAgCdGr3CYbvF9hAOOsESTEsDbSAN
nGIAn0Pc8k3s7eBFFSBSnfS9HMlFqxNQ
=YzrR
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 05 Jan 2010 07:36:38 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 01:03:03 2024; Machine Name: buxtehude

Debian 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.