Ilya, Currently, haldaemon is not working in my openSUSE 12.3 installation, but I am not using the HAL-enabled KDE3 pacakges. The haldaemon user and group were not present and I created them manually, but it still does not run. I have the following line in /etc/group: haldaemon:x:482: and in /etc/passwd I have: haldaemon:x:485:482:User for haldaemon:/var/run/hald:/bin/false The code that you mention, where is it inserted? Gianluca On Wed, 20 Nov 2013, Ilya Chernykh wrote:
On Wednesday 20 November 2013 22:07:17 Chika wrote:
Once rebooted, all seemed well. Some days later, openSUSE 12.3 was released with a similar problem. I did the above but found that hald still seemed to fail until I checked the user list and found that the haldaemon user was missing this time. The command...
useradd -g haldaemon -u 109 -s /bin/false -c 'User for haldaemon' -d /var/run/hald haldaemon
...and a change of runlevel for haldaemon fixed all that. Even got sysinfo back, though that also takes a little bit of a frob to get it to work.
Currently the following code is designed for this:
if getent passwd haldaemon >/dev/null then : OK haldaemon user already present else /usr/sbin/useradd -r -g haldaemon -c "User for haldaemon" \ -d /var/run/hald -o haldaemon 2>/dev/null || : fi
Does not it work properly? -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://artemide.bioeng.washington.edu/ Research Scientist at the Department of Bioengineering at the University of Washington, Seattle WA U.S.A. http://healthynaturalbaby.org ----------------------------------------------------- -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org