On 20/11/2013 18:28, 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?
This was some time ago that I did this (shortly after 12.3 was released) so I'd say that, if the code was there at the time, it didn't work for me then. I'll be setting up a new 13.1 box in the next couple of weeks so I suspect that I'll get a chance to try it again then. I'll certainly get the practice as I'm due to rebuild three different systems of various sizes and configurations so I'll keep you posted if anything odd turns up. -- Chris "Chika" Johnson MMW Crashnet -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org