Package: am-utils
Version: 6.1.5-12
Severity: important
When installing the current release of am-utils on a lenny box using
'aptitude install am-utils' the installation ends up without the
typical symlinks in /etc/rc?.d directories. Since amd gets started
after installation and configuration the machine can use amd-based
mounts until next boot.
The etch package of am-utils (6.1.5-3) installs fine on an etch box:
Here's the relevant part of the differences I found in the postinst
scripts:
--- am-utils-6.1.5-3/debian/am-utils.postinst 2009-03-26 20:20:04.000000000
+0000
+++ am-utils-6.1.5-12/debian/am-utils.postinst 2009-03-26 20:23:36.000000000
+0000
@@ -106,7 +107,9 @@
rm -f $tmpfile
fi
-update-rc.d am-utils defaults 35 >/dev/null
+if [ "$1" = "install" ]; then
+ update-rc.d am-utils defaults 35 >/dev/null
+fi
#DEBHELPER#
Invoking 'update-rc.d am-utils defaults 35 >/dev/null' manually did
create the missing symlinks and solved the problem for me. It seems
that the command wasn't called during installation of the package.
It's not clear to me why this was changed and I couldn't find anything
about this in the changelog. So I think postinst scripts shouldn't
really need to check if we are installing, because otherwise they
shouldn't get executed.
Regards,
Michael
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages am-utils depends on:
ii debconf 1.5.24 Debian configuration management sy
ii debianutils 2.30 Miscellaneous utilities specific t
ii libamu4 6.1.5-12 Support library for amd the 4.4BSD
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime
ii libhesiod0 3.0.2-18.3 Project Athena's DNS-based directo
ii libldap-2.4-2 2.4.11-1 OpenLDAP libraries
ii libwrap0 7.6.q-16 Wietse Venema's TCP wrappers libra
ii perl 5.10.0-19 Larry Wall's Practical Extraction
ii portmap 6.0-9 RPC port mapper
ii ucf 3.0016 Update Configuration File: preserv
am-utils recommends no packages.
Versions of packages am-utils suggests:
pn am-utils-doc <none> (no description available)
ii nis 3.17-17 Clients and daemons for the Networ
-- debconf information:
am-utils/import-amd-failed:
am-utils/nis-master-map: amd.master
* am-utils/clustername:
am-utils/nis-key: default
am-utils/rpc-localhost:
* am-utils/map-others: /amd mount.map
am-utils/nis-master-map-key-style: onekey
* am-utils/map-net: false
* am-utils/use-nis: false
am-utils/nis-custom: echo "/amd-is-misconfigured /usr/share/am-utils/amd.net"
am-utils/import-amd-conf-done: false
am-utils/import-amd-conf: false
* am-utils/map-home: false
am-utils/log-to-file:
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]