Hi all, I've fixed FOSShal.spec. It creates user and group automticaly.
hg branches hg up kde-4.1.4 hg pull hg up make rebuild-hal after succesfull install svc service hal should be running This comes from my ultra20m2 Solaris 10U6. It has been done by one command .... make build-hal ;) It is not bulletproof, but is working. bash-3.00$ cat /etc/passwd |grep hald hald:x:192:192:Hald service Reserved UID:/:/bin/false bash-3.00$ cat /etc/group |grep hald hald::192: bash-3.00$ svcs -a |grep hal online 11:23:52 svc:/system/hal:default bash-3.00$ uname -ars SunOS earth 5.10 Generic_138889-06 i86pc i386 i86pc Solaris bash-3.00$ Same changes needs to be done for cups, avahi, dbus ... I'll do that sometimes in this week. Have a nice day On Fri, Mar 20, 2009 at 10:44 PM, Mark Wright <markwright at internode.on.net>wrote: > Hi Paul, > > I'm not sure. There are some hints in the > Dude/HAL/0.5.9.1/Solaris/README.solaris file, where it says: > > Example SMF manifest and start method are in this directory, under > "smf". > > Make sure you have user 'hald' and group 'hald' added to your system. > > Here is small help > > cat /etc/passwd | grep hald > hald:x:92:92:Hald service Reserved UID:/: > > cat /etc/group | grep hald > hald::92:hald > > Thanks, Mark > > On Fri, 20 Mar 2009 20:00:43 +0100 > Paul Floyd <paulf at free.fr> wrote: > > > Hi > > > > This package wouldn't install without a 'hal' user. I created one, > > and the package installed. But now on boot the hal service doesn't > > start: > > > > > > paulf> svcs -xv > > svc:/system/avahi-bridge-dsd:default (Avahi Daemon Bridge to Bonjour) > > State: maintenance since Fri Mar 20 19:42:58 2009 > > Reason: Start method failed repeatedly, last exited with status 255. > > See: http://sun.com/msg/SMF-8000-KS > > See: man -M /opt/foss/share/man -s 8 avahi-daemon > > See: /var/svc/log/system-avahi-bridge-dsd:default.log > > Impact: This service is not running. > > > > svc:/system/hal:default (Hardware Abstraction Layer daemon) > > State: maintenance since Fri Mar 20 19:41:59 2009 > > Reason: Restarting too quickly. > > See: http://sun.com/msg/SMF-8000-L5 > > See: man -M /usr/man -s 1M hal > > See: /var/svc/log/system-hal:default.log > > Impact: This service is not running. > > > > [ Mar 20 19:41:58 Method "start" exited with status 0 ] > > [ Mar 20 19:41:59 Stopping because all processes in service exited. ] > > [ Mar 20 19:41:59 Executing stop method (:kill) ] > > [ Mar 20 19:41:59 Executing start method ("/lib/svc/method/svc-hal > > start") ] mkdir: Failed to make directory "/var/run/hald"; Permission > > denied mkdir: Failed to make directory "/media"; Permission denied > > chmod: WARNING: can't access /media > > [ Mar 20 19:41:59 Method "start" exited with status 0 ] > > [ Mar 20 19:41:59 Stopping because all processes in service exited. ] > > [ Mar 20 19:41:59 Executing stop method (:kill) ] > > [ Mar 20 19:41:59 Restarting too quickly, changing state to > > maintenance ] > > > > Does the hal user need any particular priveleges and/or do I need to > > create these directories? > > > > A+ > > Paul > > > > _______________________________________________ > > kde-discuss mailing list > > kde-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/kde-discuss > > > -- > _______________________________________________ > kde-discuss mailing list > kde-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/kde-discuss > -- Lukas 'Luc' Oboril IRC nickname: luc^ at freenode When dealing with people, let us remember we are not dealing with creatures of logic. We are dealing with creatures of emotions, creatures bristling with prejudices and motivated by pride and vanity. Dale Carnegie -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20090322/61719598/attachment.html>
