Package installation fails with read-only /usr/local
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hotplug (Debian) |
Fix Released
|
Unknown
|
|||
hotplug (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #303046 http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#1 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#2 |
Package: hotplug
Version: 0.0.20040329-21
Followup-For: Bug #300726
The latest hotplug tries to create /usr/local/
valid according to policy 9.1.2, but it doesn't use a method which
handles /usr/local mounted read-only. This can cause a failure to
install. Please change the postinst code to create this dir to
something similar to what is suggested in 9.1.2. Thanks.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=
Versions of packages hotplug depends on:
ii bash 3.0-14 The GNU Bourne Again SHell
ii debconf 1.4.46 Debian configuration management sy
ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep
ii module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo
ii modutils 2.4.26-1.2 Linux module utilities
ii procps 1:3.2.5-1 /proc file system utilities
ii sed 4.1.4-2 The GNU sed stream editor
-- debconf information excluded
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#3 |
# Automatically generated email from bts, devscripts version 2.8.10
tags 300726 pending
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#4 |
Package: hotplug
Version: 0.0.20040329-21
Severity: normal
Tags: patch
Followup-For: Bug #300726
Debian policy 9.1.2: "These scripts must not fail if either of these operations fail."
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (900, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-reiser4
Locale: LANG=C, LC_CTYPE=de_DE (charmap=
Versions of packages hotplug depends on:
ii bash 2.05b-24 The GNU Bourne Again SHell
ii debconf 1.4.30.11 Debian configuration management sy
ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep
ii module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo
ii modutils 2.4.26-1.2 Linux module utilities
ii procps 1:3.2.1-2 The /proc file system utilities
ii sed 4.1.2-8 The GNU sed stream editor
-- debconf information excluded
*** /tmp/hotplug.
--- hotplug.
+++ hotplug.postinst 2005-04-04 12:52:29.213034302 +0200
@@ -88,7 +88,7 @@
case "$1" in
configure)
create_
- [ -e /usr/local/
+ [ -e /usr/local/
;;
abort-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#5 |
clone 300726 -1
retitle -1 Package installation fails with read-only /usr/local
reopen -1
severity -1 serious
thanks
--
Dominic Hargreaves | http://
PGP key 5178E2A5 from the.earth.li (keyserver,
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#6 |
reopen 300726 !
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#7 |
tags 303046 - pending
thanks
--
Dominic Hargreaves | http://
PGP key 5178E2A5 from the.earth.li (keyserver,
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#8 |
# Automatically generated email from bts, devscripts version 2.8.14
tags 300726 pending
tags 303046 pending
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #9 |
Automatically imported from Debian bug report #303046 http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #10 |
Message-Id: <email address hidden>
Date: Mon, 21 Mar 2005 23:50:04 +1100
From: Anand Kumria <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: hotplug: no /usr/local/
Package: hotplug
Version: 0.0.20040329-17
Severity: minor
Hi,
/etc/hotplug/
directory is not created by the package. As per the Debian policy
manual 9.1.2 it is okay for packages to create empty directories under
/usr/local
Please consider creating the /usr/local/
Thanks,
Anand
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=
Versions of packages hotplug depends on:
ii debconf 1.4.30.11 Debian configuration management sy
ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep
ii module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo
ii modutils 2.4.26-1.2 Linux module utilities
ii procps 1:3.2.1-2 The /proc file system utilities
-- debconf information:
hotplug/
hotplug/
hotplug/
hotplug/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #11 |
Message-Id: <email address hidden>
Date: Thu, 24 Mar 2005 06:02:03 -0500
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: Bug#300726: fixed in hotplug 0.0.20040329-21
Source: hotplug
Source-Version: 0.0.20040329-21
We believe that the bug you reported is fixed in the latest version of
hotplug, which is due to be installed in the Debian FTP archive:
hotplug_
to pool/main/
hotplug_
to pool/main/
hotplug_
to pool/main/
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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <email address hidden> (supplier of updated hotplug 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 <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 24 Mar 2005 11:23:04 +0100
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-21
Distribution: unstable
Urgency: medium
Maintainer: Fumitoshi UKAI <email address hidden>
Changed-By: Marco d'Itri <email address hidden>
Description:
hotplug - Linux Hotplug Scripts
Closes: 300726
Changes:
hotplug (0.0.20040329-21) unstable; urgency=medium
.
* Remove net.rc on upgrades. (See #296640)
* Depend on a newer bash package. (See #300113)
* Create /usr/local/
Files:
0af1a97180fa57
f41db2ac2b93a5
562776d79d4eef
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCQpsxFGf
HS5jaX0u84DGFj2
=l6ez
-----END PGP SIGNATURE-----
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #12 |
Message-Id: <E1DF4oz-
Date: Sat, 26 Mar 2005 01:30:57 -0500
From: "David I. Lehn" <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: hotplug: don't fail on creating /usr/local/
Package: hotplug
Version: 0.0.20040329-21
Followup-For: Bug #300726
The latest hotplug tries to create /usr/local/
valid according to policy 9.1.2, but it doesn't use a method which
handles /usr/local mounted read-only. This can cause a failure to
install. Please change the postinst code to create this dir to
something similar to what is suggested in 9.1.2. Thanks.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=
Versions of packages hotplug depends on:
ii bash 3.0-14 The GNU Bourne Again SHell
ii debconf 1.4.46 Debian configuration management sy
ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep
ii module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo
ii modutils 2.4.26-1.2 Linux module utilities
ii procps 1:3.2.5-1 /proc file system utilities
ii sed 4.1.4-2 The GNU sed stream editor
-- debconf information excluded
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #13 |
Message-Id: <email address hidden>
Date: Sat, 26 Mar 2005 17:06:49 +0100
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: tagging 300726
# Automatically generated email from bts, devscripts version 2.8.10
tags 300726 pending
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #14 |
Message-Id: <email address hidden>
Date: Mon, 04 Apr 2005 13:55:32 +0200
From: Christopher Huhn <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: hotplug: don't fail on creating /usr/local/
Package: hotplug
Version: 0.0.20040329-21
Severity: normal
Tags: patch
Followup-For: Bug #300726
Debian policy 9.1.2: "These scripts must not fail if either of these operations fail."
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (900, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-reiser4
Locale: LANG=C, LC_CTYPE=de_DE (charmap=
Versions of packages hotplug depends on:
ii bash 2.05b-24 The GNU Bourne Again SHell
ii debconf 1.4.30.11 Debian configuration management sy
ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep
ii module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo
ii modutils 2.4.26-1.2 Linux module utilities
ii procps 1:3.2.1-2 The /proc file system utilities
ii sed 4.1.2-8 The GNU sed stream editor
-- debconf information excluded
*** /tmp/hotplug.
--- hotplug.
+++ hotplug.postinst 2005-04-04 12:52:29.213034302 +0200
@@ -88,7 +88,7 @@
case "$1" in
configure)
create_
- [ -e /usr/local/
+ [ -e /usr/local/
;;
abort-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #15 |
Message-ID: <email address hidden>
Date: Mon, 04 Apr 2005 14:11:19 +0200
From: Christopher Huhn <email address hidden>
To: <email address hidden>
Subject: reopen 300726
reopen 300726 !
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #16 |
Message-ID: <email address hidden>
Date: Mon, 4 Apr 2005 13:10:56 +0100
From: Dominic Hargreaves <email address hidden>
To: <email address hidden>
Subject: hotplug
clone 300726 -1
retitle -1 Package installation fails with read-only /usr/local
reopen -1
severity -1 serious
thanks
--
Dominic Hargreaves | http://
PGP key 5178E2A5 from the.earth.li (keyserver,
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #17 |
Message-ID: <email address hidden>
Date: Mon, 4 Apr 2005 14:08:45 +0100
From: Dominic Hargreaves <email address hidden>
To: <email address hidden>
Subject: not pending
tags 303046 - pending
thanks
--
Dominic Hargreaves | http://
PGP key 5178E2A5 from the.earth.li (keyserver,
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #18 |
Message-Id: <email address hidden>
Date: Mon, 4 Apr 2005 15:10:54 +0200
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: tagging 300726, tagging 303046
# Automatically generated email from bts, devscripts version 2.8.14
tags 300726 pending
tags 303046 pending
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matt Zimmerman (mdz) wrote : | #19 |
Very confused bug, but in the end doesn't affect us
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#20 |
Source: hotplug
Source-Version: 0.0.20040329-22
We believe that the bug you reported is fixed in the latest version of
hotplug, which is due to be installed in the Debian FTP archive:
hotplug_
to pool/main/
hotplug_
to pool/main/
hotplug_
to pool/main/
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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <email address hidden> (supplier of updated hotplug 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 <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 7 Apr 2005 17:51:13 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-22
Distribution: unstable
Urgency: high
Maintainer: Fumitoshi UKAI <email address hidden>
Changed-By: Marco d'Itri <email address hidden>
Description:
hotplug - Linux Hotplug Scripts
Closes: 253936 301533 302709 302991 303046
Changes:
hotplug (0.0.20040329-22) unstable; urgency=high
.
* Fixed postinst to not fail if /usr/local is read only. (Closes: #303046)
* Fixed postinst to generate a correct $STATIC_MODULE_LIST even in some
obscure corner case. (Closes: #301533)
* Updated the spanish debconf translation. (Closes: #302991)
* Finally /etc/modprobe.
* Made net.agent ignore ppp* interfaces, to support the pppd persist option.
(Closes: #253936, #302709)
* Added a link for S89hotplug-net in rc[06].d. (See #303161.)
Files:
b6f8252ee1953c
d87deaef59642b
750afe8502d606
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCVWHJFGf
Y6B1V+4nCuYfufB
=0UjO
-----END PGP SIGNATURE-----
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #21 |
Message-Id: <email address hidden>
Date: Thu, 07 Apr 2005 13:47:06 -0400
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: Bug#303046: fixed in hotplug 0.0.20040329-22
Source: hotplug
Source-Version: 0.0.20040329-22
We believe that the bug you reported is fixed in the latest version of
hotplug, which is due to be installed in the Debian FTP archive:
hotplug_
to pool/main/
hotplug_
to pool/main/
hotplug_
to pool/main/
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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <email address hidden> (supplier of updated hotplug 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 <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 7 Apr 2005 17:51:13 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-22
Distribution: unstable
Urgency: high
Maintainer: Fumitoshi UKAI <email address hidden>
Changed-By: Marco d'Itri <email address hidden>
Description:
hotplug - Linux Hotplug Scripts
Closes: 253936 301533 302709 302991 303046
Changes:
hotplug (0.0.20040329-22) unstable; urgency=high
.
* Fixed postinst to not fail if /usr/local is read only. (Closes: #303046)
* Fixed postinst to generate a correct $STATIC_MODULE_LIST even in some
obscure corner case. (Closes: #301533)
* Updated the spanish debconf translation. (Closes: #302991)
* Finally /etc/modprobe.
* Made net.agent ignore ppp* interfaces, to support the pppd persist option.
(Closes: #253936, #302709)
* Added a link for S89hotplug-net in rc[06].d. (See #303161.)
Files:
b6f8252ee1953c
d87deaef59642b
750afe8502d606
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCVWHJFGf
Y6B1V+4nCuYfufB
=0UjO
-----END PGP SIGNATURE-----
Changed in hotplug: | |
status: | Unknown → Fix Released |
Source: hotplug
Source-Version: 0.0.20040329-21
We believe that the bug you reported is fixed in the latest version of
hotplug, which is due to be installed in the Debian FTP archive:
hotplug_ 0.0.20040329- 21.diff. gz h/hotplug/ hotplug_ 0.0.20040329- 21.diff. gz 0.0.20040329- 21.dsc h/hotplug/ hotplug_ 0.0.20040329- 21.dsc 0.0.20040329- 21_all. deb h/hotplug/ hotplug_ 0.0.20040329- 21_all. deb
to pool/main/
hotplug_
to pool/main/
hotplug_
to pool/main/
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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <email address hidden> (supplier of updated hotplug 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 <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7 lib/firmware/ . (Closes: #300726) b18a8f8d75784c3 503 668 admin standard hotplug_ 0.0.20040329- 21.dsc 8b9a2c985e1b26f d9a 49073 admin standard hotplug_ 0.0.20040329- 21.diff. gz 5eff3c9e241756c 8f5 67710 admin standard hotplug_ 0.0.20040329- 21_all. deb
Date: Thu, 24 Mar 2005 11:23:04 +0100
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-21
Distribution: unstable
Urgency: medium
Maintainer: Fumitoshi UKAI <email address hidden>
Changed-By: Marco d'Itri <email address hidden>
Description:
hotplug - Linux Hotplug Scripts
Closes: 300726
Changes:
hotplug (0.0.20040329-21) unstable; urgency=medium
.
* Remove net.rc on upgrades. (See #296640)
* Depend on a newer bash package. (See #300113)
* Create /usr/local/
Files:
0af1a97180fa57
f41db2ac2b93a5
562776d79d4eef
-----BEGIN PGP SIGNATURE-----
w2OHuP7ERAg7SAK CbYnMsLLZo4msGp VSj9q4N2jaliQCf aKM4 3ZsDHmLU=
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCQpsxFGf
HS5jaX0u84DGFj2
=l6ez
-----END PGP SIGNATURE-----