Quantcast
Viewing all articles
Browse latest Browse all 36167

Error in PREIN scriptlet when installing gnunet

The error must be related to this package trying to create a user dedicated to gnunet client, but there must be a syntax error, or maybe a useradd in Fedora isn't exactly conforming, so I'm getting:

Code:

Running Transaction
Error in PREIN scriptlet in rpm package gnunet-0.9.4-6.2.x86_64
Usage: useradd [options] LOGIN
      useradd -D
      useradd -D [options]

Options:
  -b, --base-dir BASE_DIR      base directory for the home directory of the
....
error: %pre(gnunet-0.9.4-6.2.x86_64) scriptlet failed, exit status 2
  Verifying  : gnunet-0.9.4-6.2.x86_64                                      1/1

Failed:
  gnunet.x86_64 0:0.9.4-6.2

I've tried to download the rpm, but I don't know where to look for this script :( Please help.

Also, this looks related: http://fedora.12.n6.nabble.com/F17-y...td4987410.html

Still, I don't know how to fix (how do I know what user / group was it trying to register?)

Following the bug report, tried to put Selinux into permissive mode - didn't help. Updated policy files, still no effect.

Found what the preinstall scriplet looks like:

Code:

rpm -pq --scripts ./gnunet-0.9.4-6.2.x86_64.rpm
preinstall scriptlet (using /bin/sh):
useradd gnunetd /var/lib/gnunet /bin/false
postinstall scriptlet (using /bin/sh):
service gnunetd
preuninstall scriptlet (using /bin/sh):
service gnunetd
postuninstall scriptlet (using /bin/sh):
userdel gnunetd

No idea why would that work... useradd takes only one argument. So, given that I've registered this user, how do I skip executing the pre scriptlet?

Viewing all articles
Browse latest Browse all 36167

Trending Articles