F17 yum/rpm not running groupadd in %pre scripts

Amit Saha amitksaha at fedoraproject.org
Wed Aug 15 07:57:59 UTC 2012


On Wed, Aug 15, 2012 at 5:30 AM, Chuck Anderson <cra at wpi.edu> wrote:
> I ran into a comedy of errors today after I did a new F17 installation
> yesterday.  Here are a couple:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=848148
> Error in PREIN scriptlet in rpm package wireshark-1.6.9-1.fc17.x86_64
>
> (and why does yum still let the transaction succeed, creating problems
> in the RPMDB, broken dependencies?)
>
> https://bugzilla.redhat.com/show_bug.cgi?id=845671
> "Directory '/var/run/screen' must have mode 777." when opening screen
>
> (and why does systemd-tmpfiles completely fail to start when there is
> a missing group--it should fail gracefully, allowing the other
> tmpfiles stuff to run and the service as a whole to run)
>
> Both of these are traceable to missing entries in /etc/group.  In the
> former cae, there is an explicit "Error in PREIN" script during
> instalation.  In the latter case, there is only a warning and
> installation proceeds:
>
> Running Transaction
>   Installing : screen-4.1.0-0.9.20120314git3c2946.fc17.x86_64               1/1
> warning: group screen does not exist - using root
> warning: group screen does not exist - using root
>
> So what is going on with %pre not running groupadd properly?  Are there
> any known issues in this area?

Would like to add a link to the bug I filed recently [1]. As I note
there, this is what I get:

"Error in PREIN scriptlet in rpm package rabbitmq-server-2.6.1-2.fc17.noarch
error: %pre(rabbitmq-server-2.6.1-2.fc17.noarch) scriptlet failed,
exit status 6"

And also that "Group added using: #groupadd -r rabbitmq and yum
install succeeds."

[1] https://bugzilla.redhat.com/show_bug.cgi?id=844977

Cheers,
Amit

-- 
http://echorand.me


More information about the test mailing list