[Pkg-utopia-commits] r103 - packages/hal/trunk/debian

Sjoerd Simons sjoerd@haydn.debian.org
Thu, 18 Nov 2004 11:47:34 -0700


Author: sjoerd
Date: 2004-11-18 11:47:30 -0700 (Thu, 18 Nov 2004)
New Revision: 103

Modified:
   packages/hal/trunk/debian/README.Debian
Log:
Update readme, based on martin's ubuntu README with some little updates

Modified: packages/hal/trunk/debian/README.Debian
===================================================================
--- packages/hal/trunk/debian/README.Debian	2004-11-18 18:40:55 UTC (rev 102)
+++ packages/hal/trunk/debian/README.Debian	2004-11-18 18:47:30 UTC (rev 103)
@@ -1,12 +1,20 @@
+This package runs hal as non-root. By setting 'DAEMON_OPTS=--drop-privileges'
+in /etc/default/hal (default), the hal daemon run as normal user 'hal' with
+some additional kernel capabilities and in some privileged groups (floppy and
+cdrom). This will not allow to execute callout scripts as root, though, so
+fstab-sync will not work.
 
- Managing your mountpoints via HAL:
- ----------------------------------
+ATTENTION! This behavior is fully compatible with running as root since hal
+must be in group 'disk' to do file system autodetection on fixed hard disk
+partitions.  However, since disk membership is almost as dangerous as root
+access, the package does not put the hal user into this group by default. If
+you want to get the full power of hal, either let it run as root or add hal to
+the disk group with the command
 
-HAL includes fstab-sync which can manage your mount-points in /etc/fstab.
+   adduser hal disk
 
-Beware: fstab-sync can damage your fstab, which would render your system
-unusable. Therefore, it is disabled by default.
-To enable automatic mount point handling, do:  
-'ln -s /usr/sbin/fstab-sync /etc/hal/device.d/fstab-sync.hal'
+(as root). Please be aware that file system detection will work for CD-ROMs and
+hotpluggable devices even without hal being in group 'disk' since these devices
+are owned by group 'cdrom' or 'hal'.
 
- -- Sjoerd Simons <sjoerd@debian.org>
+ -- Martin Pitt <mpitt@debian.org> and Sjoerd Simons <sjoerd@debian.org>