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.
Bug 878439 - Differences between rebased sudo in RHEL-6.4 and RHEL-7.0
Summary: Differences between rebased sudo in RHEL-6.4 and RHEL-7.0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sudo
Version: 7.0
Hardware: All
OS: Linux
high
high
Target Milestone: beta
: 7.0
Assignee: Daniel Kopeček
QA Contact: Aleš Mareček
URL:
Whiteboard:
Depends On: 839570 971013 982702
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-20 12:46 UTC by Aleš Mareček
Modified: 2014-06-18 07:44 UTC (History)
2 users (show)

Fixed In Version: sudo-1.8.6p7-4.el7
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:14:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Aleš Mareček 2012-11-20 12:46:31 UTC
Description of problem:
There are differences between rebases of sudo in RHEL-6.4 and RHEL-7.0.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. rpm -q sudo
2. rpm -ql sudo | grep '/etc'

  
Actual results:
RHEL-6.4:
=========
[root@dhcp-25-53 ~]# rpm -q sudo
sudo-1.8.6p3-5.el6.x86_64
[root@dhcp-25-53 ~]# rpm -ql sudo | grep '/etc'
/etc/pam.d/sudo
/etc/pam.d/sudo-i
/etc/sudo-ldap.conf
/etc/sudo.conf
/etc/sudoers
/etc/sudoers.d

RHEL-7.0:
=========
i:ppc64|m:ppc64 root@ibm-p730-03-lp3 [~]# rpm -q sudo
sudo-1.8.6p3-1.el7.ppc64
i:ppc64|m:ppc64 root@ibm-p730-03-lp3 [~]# rpm -ql sudo | grep '/etc'
/etc/pam.d/sudo
/etc/pam.d/sudo-i
/etc/sudoers
/etc/sudoers.d

Expected results:
RHEL-7's sudo should contain /etc/sudo.conf and /etc/sudo-ldap.conf. It might also need additional investigation of functionality comparing both versions.

Additional info:

Comment 1 Aleš Mareček 2012-11-20 14:12:50 UTC
RHEL-6.4:
=========
$ sudo -V | grep /etc/ldap.conf ; echo $?
1

RHEL-7.0:
=========
i:ppc64|m:ppc64 root@ibm-p730-03-lp3 [bz652726-sudo-and-nss_ldap-use-the-same-ldap-config]# sudo -V | grep /etc/ldap.conf ; echo $?
ldap.conf path: /etc/ldap.conf
0

Comment 2 Aleš Mareček 2013-05-20 09:20:39 UTC
Hi Dan,
why is this bug in MODIFIED state? I don't see any change in the package, "fixed in version" is empty also. What changed, what's the decision of this bug?
Thanks and Regards!

Tested package: sudo-1.8.6p7-2.el7.x86_64

I'm switching back this bug to ASSIGNED.

Comment 3 Lukas "krteknet" Novy 2013-07-09 15:47:45 UTC
Rebased rhel7 package is missing plenty of patches that rhel6 do have.
This should have been discovered by Regression testing in Tiers. 
For now there are at two patches that needs to be brought forward, see Depends on bugs.

Comment 4 Lukas "krteknet" Novy 2013-07-09 16:28:16 UTC
These are the patches and config files are missing:

sudo-1.7.4p5-sudo-ldap.conf
sudo-1.8.6p3-aliaswarnonly.patch
sudo-1.8.6p3-auditeditor.patch
sudo-1.8.6p3-auditrolechange.patch
sudo-1.8.6p3-cyclesegv.patch
sudo-1.8.6p3-emallocfail.patch
sudo-1.8.6p3-ldapconfparse.patch
sudo-1.8.6p3-ldap-sssd-usermatch.patch
sudo-1.8.6p3-mantypo.patch
sudo-1.8.6p3-noauthwarn-regression.patch
sudo-1.8.6p3-nowaitopt.patch
sudo-1.8.6p3-sssd-noise.patch
sudo-1.8.6p3-sudo.conf
sudo-1.8.6p3-sudoedit-selinux.patch

Dan, could you please justify the removal of each of these? Test coverage is a bit messy in this area and this would help us find whether our tests or the features are broken.

Comment 5 Daniel Kopeček 2013-07-29 08:11:35 UTC
(In reply to Aleš Mareček from comment #0)
> Description of problem:
> There are differences between rebases of sudo in RHEL-6.4 and RHEL-7.0.

Fixed.

(In reply to Lukas -krtek.net- Novy from comment #4)
> These are the patches and config files are missing:
> 
> sudo-1.7.4p5-sudo-ldap.conf
> sudo-1.8.6p3-aliaswarnonly.patch
> sudo-1.8.6p3-auditeditor.patch
> sudo-1.8.6p3-auditrolechange.patch
> sudo-1.8.6p3-emallocfail.patch
> sudo-1.8.6p3-ldapconfparse.patch
> sudo-1.8.6p3-ldap-sssd-usermatch.patch
> sudo-1.8.6p3-mantypo.patch
> sudo-1.8.6p3-nowaitopt.patch
> sudo-1.8.6p3-sssd-noise.patch
> sudo-1.8.6p3-sudo.conf
> sudo-1.8.6p3-sudoedit-selinux.patch

Added in the latest build.

> sudo-1.8.6p3-noauthwarn-regression.patch
> sudo-1.8.6p3-cyclesegv.patch

Removed. They were accepted upstream and are
part of 1.8.6p7 sources.

Dan K.

Comment 10 Ludek Smid 2014-06-13 12:14:01 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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