I am seeing the same problem. I used the same solution suggested by
mrtaber solution, and it worked. However, this is the sort of thing
that I find really annoying and I feel patching the source tree is more
appropriate.

Here is the output trying to install the most recent nightly build of
6.3.0 as root on an updated FC5 box:
# rpm -ivh /usr/local/src/SlimServer_6_3_x_v2006-05-25.noarch.rpm
Preparing...                ###########################################
[100%]
useradd: cannot create directory /usr/local/slimserver
error: %pre(slimserver-2006_05_25-1.noarch) scriptlet failed, exit
status 12
error:   install: %pre scriptlet failed (2), skipping
slimserver-2006_05_25-1

This also occurred with slimserver-6.2.2-1.noarch.rpm.

At first I wondered if it had to do with SELinux, but there was no
error message prefixed with 'avc'. Before trying without SELinux on, I
noticed that the error message is prefixed with 'useradd', which
suggests the problem has to do with creating the slimserver user and
this directory simultaneously. I need to find the .spec file (anyone
know where to find an SRPM?) to confirm my suspicion).

Googling 'useradd: cannot create directory' yielded the following link
<http://www.redhat.com/archives/fedora-extras-list/2006-February/msg01066.html>
which led me to the link
<http://fedoraproject.org/wiki/Packaging/UserCreation?action=show&redirect=PackageUserCreation>
which I suspect is most pertinent.

Hopefully I'll develop a patch to fix this in the .spec file, once I
find it. Curiously, it doesn't seem to be in the source tree tarball.
If you can set me right on this, email me at adpacifico at yahoo dot
com.
-al


-- 
Al Pacifico
------------------------------------------------------------------------
Al Pacifico's Profile: http://forums.slimdevices.com/member.php?userid=5640
View this thread: http://forums.slimdevices.com/showthread.php?t=22911

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to