Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionRichard W.M. Jones
2013-01-21 18:35:22 UTC
+++ This bug was initially created as a clone of Bug #902476 +++
Description of problem:
febootstrap-supermin-helper has the -g option on the command
which sets the group that it runs under. However it does not
set supplemental groups.
For comparison see the work done on vhostmd:
https://bugzilla.redhat.com/show_bug.cgi?id=741289
(Reported by Steve Grubb)
Version-Release number of selected component (if applicable):
febootstrap 3.20
Comment 3Richard W.M. Jones
2013-06-28 10:58:20 UTC
Fixed upstream in ae302151a7743f324378f520409ee10dd1584860
which is a trivial patch so we should include it in RHEL 6.5.
I can not find febootstrap 3.20 for RHEL6 in https://brewweb.devel.redhat.com/, so I choose febootstrap-3.21-1.el6 and febootstrap-supermin-helper-3.21-1.el6 which are the previous version of febootstrap-3.21-2.el6 to reproduce this bug.
Steps to reproduce:
1. Install RHEL6.5 host
2. Remove febootstrap-supermin-helper form host if the version is not 3.21-1,
#cp /usr/lib64/guestfs/supermin.d /root/
#yum remove febootstrap-supermin-helper-3.21-4.el6.x86_64
When remove febootstrap-supermin-helper-3.21-4.el6.x86_64, it will remove /usr/lib64/guestfs/supermin.d, this directory is needed by setp 4, so backup it first.
3. Download febootstrap-supermin-helper-3.21-1.el6.x86_64.rpm from https://brewweb.devel.redhat.com/, then install them
[host]#rpm -ivh febootstrap-supermin-helper-3.21-1.el6.x86_64.rpm
Preparing... ########################################### [100%]
1:febootstrap-supermin-he########################################### [100%]
4. Create test.sh to do the test:
#mkdir -p /usr/lib64/guestfs/ && cp /root/supermin.d /usr/lib64/guestfs/
#cat test.sh
#!/bin/bash
febootstrap-supermin-helper /usr/lib64/guestfs/supermin.d /usr/lib64/guestfs/supermin.d/hostfiles x86_64 kernel initrd -g 501 &
grep ^Groups /proc/$(pidof febootstrap-supermin-helper)/status
Execute test.sh:
#./test.sh
Groups: 0
The Groups is 0 not 501 which should be 501.
Verified:
febootstrap and febootstrap-supermin-helper version: 3.21-2
Same steps as Comment 8, but this time I install febootstrap-supermin-helper-3.21-2.el6 on the RHEL6.5 host, and then executed test.sh:
#./test.sh
Groups: 501
The Groups is 501 as requested.
Comment 10Richard W.M. Jones
2013-10-15 08:31:23 UTC
I agree with the reproducer and verification steps (comment 8, comment 9).
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2013-1535.html