[Pkg-utopia-commits] r1991 - in /packages/unstable/hal/debian: changelog hal.postinst
sjoerd at users.alioth.debian.org
sjoerd at users.alioth.debian.org
Sat Dec 22 15:42:56 UTC 2007
Author: sjoerd
Date: Sat Dec 22 15:42:56 2007
New Revision: 1991
URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1991
Log:
* debian/hal.postinst
- Ignore errors from addgroup. These aren't fatal and can occur when
trying to add groups are added on installation (thus aren't system
groups).
- Add --quiet to the adduser invocation. We're not interested in adduser
noting that user haldaemon already exists
Modified:
packages/unstable/hal/debian/changelog
packages/unstable/hal/debian/hal.postinst
Modified: packages/unstable/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/changelog?rev=1991&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Sat Dec 22 15:42:56 2007
@@ -32,6 +32,12 @@
* debian/patches/91_fix_invalid_fdi_cache_on_empty_matches.patch:
- Added. Fix a bug causing the fdi cache to be invalid when an fdi files
contains empty match rules. (Closes: #456310)
+ * debian/hal.postinst
+ - Ignore errors from addgroup. These aren't fatal and can occur when
+ trying to add groups are added on installation (thus aren't system
+ groups).
+ - Add --quiet to the adduser invocation. We're not interested in adduser
+ noting that user haldaemon already exists
-- Michael Biebl <biebl at debian.org> Wed, 12 Dec 2007 22:34:48 +0100
Modified: packages/unstable/hal/debian/hal.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.postinst?rev=1991&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.postinst (original)
+++ packages/unstable/hal/debian/hal.postinst Sat Dec 22 15:42:56 2007
@@ -26,6 +26,7 @@
case "$1" in
configure)
adduser --system \
+ --quiet \
--disabled-password \
--no-create-home \
--home "/var/run/hal" \
@@ -33,10 +34,10 @@
--group haldaemon
# Add the powerdev group (power management)
- addgroup --quiet --system powerdev
+ addgroup --quiet --system powerdev || true
# Add the plugdev group (mounting removable devices)
- addgroup --quiet --system plugdev
+ addgroup --quiet --system plugdev || true
# be sure the run dir is owned by the hal user
chown haldaemon:haldaemon /var/run/hal
More information about the Pkg-utopia-commits
mailing list