Bug 7586 - Ganglia-gmetad shows errors on installation - Group nobody does not exist- %post scriptlet failed
Summary: Ganglia-gmetad shows errors on installation - Group nobody does not exist- %p...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA2-32-OK, MGA2-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-09-26 16:08 CEST by claire robinson
Modified: 2013-02-06 23:33 CET (History)
4 users (show)

See Also:
Source RPM: ganglia
CVE:
Status comment:


Attachments

Description claire robinson 2012-09-26 16:08:32 CEST
Created to allow a security update to be pushed. 

(See also bug 6874 - No response from packager)

Applies to mga1 too.

4/7: ganglia-gmetad       
########################################################
warning: group nobody does not exist - using root
#
gmetad.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig gmetad on
gmetad is launched as nobody users now, changing /var/lib/ganglia/rrds
permissions to nobody.nobody
chown: invalid user: `nobody.nobody'
warning: %post(ganglia-gmetad-3.1.7-7.mga2.x86_64) scriptlet failed, exit
status 1

IINM it should use group "nogroup" instead of "nobody"
claire robinson 2012-09-26 16:08:54 CEST

Whiteboard: (none) => MGA1TOO

Comment 1 claire robinson 2012-09-26 16:37:51 CEST
# ll -d /var/lib/ganglia/rrds
drwxrwxrwx 2 nobody root 4096 Apr  5  2011 /var/lib/ganglia/rrds/
Manuel Hiebel 2012-10-07 11:37:26 CEST

CC: (none) => ennael1, guillomovitch

Johnny A. Solbu 2012-12-20 22:57:47 CET

Status: NEW => ASSIGNED
CC: (none) => johnny
Assignee: bugsquad => johnny

Comment 2 Johnny A. Solbu 2012-12-21 00:50:25 CET
I have uploaded a updated package for Mageia 2 in core/updates_testing.

Suggested advisory:
========================
When installing ganglia-gmetad, the installer uses the non-existent "nobody", and not "nogroup", as the group when changing new ownership of files.

This update fixes this.

========================

Updated packages in core/updates_testing:
========================
ganglia-core-3.1.7-7.2mga2
ganglia-debug-3.1.7-7.2mga2
ganglia-gmetad-3.1.7-7.2mga2 <-- The only one that need to be updated.
ganglia-script-3.1.7-7.2mga2
ganglia-webfrontend-3.1.7-7.2mga2
lib(64)ganglia1-3.1.7-7.2mga2
lib(64)ganglia1-devel-3.1.7-7.2mga2

Source RPM:
ganglia-3.1.7-7.2mga2

Assignee: johnny => qa-bugs

Guillaume Rousse 2012-12-21 09:32:30 CET

CC: guillomovitch => (none)

Comment 3 claire robinson 2012-12-21 10:25:16 CET
When testing
See also:
Bug 7587
Bug 7588
Bug 7589
Bug 7601
claire robinson 2012-12-21 13:08:14 CET

Whiteboard: MGA1TOO => (none)

Comment 4 Johnny A. Solbu 2013-01-09 00:44:32 CET
Can we validate and close this one?
The reported bug is fixed, and the other mentioned bugs have their own bug reports.
Comment 5 claire robinson 2013-01-09 11:05:27 CET
It's on our bugs list Johnny, it'll get done.
Comment 6 Marc Lattemann 2013-02-05 22:52:00 CET
tested for i586:
before update:
warning: group nobody does not exist - using root
#
gmetad.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig gmetad on
gmetad is launched as nobody users now, changing /var/lib/ganglia/rrds permissions to nobody.nobody
chown: invalid user: `nobody.nobody'
warning: %post(ganglia-gmetad-3.1.7-7.1.mga2.i586) scriptlet failed, exit status 1

[test@MGA2_32BIT ~]$ ll -d /var/lib/ganglia/rrds
drwxrwxrwx 2 nobody root 4096 Aug 20 21:23 /var/lib/ganglia/rrds/


after update:
gmetad is launched as the nobody user now, changing /var/lib/ganglia/rrds permissions to nobody:nogroup

[test@MGA2_32BIT ~]$ ll -d /var/lib/ganglia/rrds
drwxrwxrwx 2 nobody nogroup 4096 Dec 20 23:56 /var/lib/ganglia/rrds/

Whiteboard: (none) => MGA2-32-OK

Comment 7 Marc Lattemann 2013-02-05 23:06:36 CET
Bug 7589 is still not resolved.

CC: (none) => marc.lattemann

Comment 8 Johnny A. Solbu 2013-02-05 23:10:20 CET
Which is not This bug. This bug is fixed.
Comment 9 Marc Lattemann 2013-02-05 23:42:31 CET
tested on 64bit: same result as in Comment 6 for i586.

If this is independent of Bug 7589 then validating this update.

Please see Comment 2 for Advisory and SRPMS.

Can sysadmin push packages to updates? Thanks.

Keywords: (none) => validated_update
CC: marc.lattemann => sysadmin-bugs
Whiteboard: MGA2-32-OK => MGA2-32-OK, MGA2-64-OK

Comment 10 Thomas Backlund 2013-02-06 23:33:02 CET
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2013-0008

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.