Jeff-
Please see the previous post for insight into what I was thinking.
After experimenting, here's what I learned:
Changing the .spec.build file to:
/usr/sbin/useradd -c "SlimServer" -g $SLIMSERVER_USER -M -s
/sbin/nologin $SLIMSERVER_USER
eliminated bug 3314, but the slimserver would not start, complaining
that the home directory for the slimserver user did not exist. The
error is generated somewhere outside in the /etc/init.d/slimserver
script... hadn't figured out just where yet.
Changing the .spec.build file to:
/usr/sbin/useradd -c "SlimServer" -g $SLIMSERVER_USER -m
%{slimdir} -s /sbin/nologin $SLIMSERVER_USER
didn't work either, with the rpm failing to install. Output was the
usage message from adduser and the following error message:
error: %pre(slimserver-6.3.1-1.noarch) scriptlet failed, exit status 2
I've got to head off to work (yes, all weekend over Memorial Day) and
probably won't be able to get back to this for a few days.
Attached tarball has changes to the makerelease.pl file (to create SRPM
also) and to the slimserver.spec.build file from the subversion tree.
-al
+-------------------------------------------------------------------+
|Filename: slimserver-svn-mods.tar.gz |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=1368|
+-------------------------------------------------------------------+
--
Al Pacifico
------------------------------------------------------------------------
Al Pacifico's Profile: http://forums.slimdevices.com/member.php?userid=5640
View this thread: http://forums.slimdevices.com/showthread.php?t=23594
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix