Bug 6391 - runuser does not have pam.d configuration and cannot run.
Summary: runuser does not have pam.d configuration and cannot run.
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-64-OK mga2-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-06-09 21:02 CEST by Colin Guthrie
Modified: 2012-06-27 16:53 CEST (History)
2 users (show)

See Also:
Source RPM: coreutils-8.15-1.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Colin Guthrie 2012-06-09 21:02:19 CEST
=== Advisory Text ===

It was discovered that the runuser command provided by coreutils package did not ship with appropriate pam.d config files. This prevented the command from running and resulted in knock on effects in other packages as a result. One example is that cyrus-imapd would refuse to run under systemd (the default setup).

The release simply includes these missing pam files.
Comment 1 Colin Guthrie 2012-06-09 22:04:43 CEST
I've tested the relevant package and ensured that cyrus imap now runs correctly.

Source RPMS: coreutils-8.15-1.1.mga2.src.rpm

Assignee: mageia => qa-bugs

Comment 2 claire robinson 2012-06-20 15:30:45 CEST
Testing complete x86_64 mga2

Before
------
# rpm -q coreutils
coreutils-8.15-1.mga2

# systemctl start cyrus-imapd.service
Job failed. See system journal and 'systemctl status' for details.

# systemctl status cyrus-imapd.service
cyrus-imapd.service - Cyrus-imapd IMAP/POP3 email server                                                                     
          Loaded: loaded (/lib/systemd/system/cyrus-imapd.service; enabled)                                                  
          Active: failed (Result: exit-code) since Wed, 20 Jun 2012 14:06:27 +0100; 35s ago                                  
         Process: 18140 ExecStartPre=/usr/lib/cyrus-imapd/cyr_systemd_helper start (code=exited, status=1/FAILURE)           
          CGroup: name=systemd:/system/cyrus-imapd.service                                                                   
                                                                                                                             
Jun 20 14:06:27 mega cyr_systemd_helper[18140]: runuser: Failure setting user credentials


After
-----
# rpm -q coreutils
coreutils-8.15-1.1.mga2

# systemctl start cyrus-imapd.service

# systemctl status cyrus-imapd.service
cyrus-imapd.service - Cyrus-imapd IMAP/POP3 email server
          Loaded: loaded (/lib/systemd/system/cyrus-imapd.service; enabled)
          Active: active (running) since Wed, 20 Jun 2012 14:24:48 +0100; 4s ago
         Process: 18751 ExecStartPre=/usr/lib/cyrus-imapd/cyr_systemd_helper start (code=exited, status=0/SUCCESS)
        Main PID: 18813 (cyrus-master)
          CGroup: name=systemd:/system/cyrus-imapd.service
...etc

Sophie shows the addition of /etc/pam.d/runuser and runuser-l
http://sophie.zarb.org/rpms/991d5a21185328f183e9f2cc1c605cf2/files
Comment 3 claire robinson 2012-06-22 13:57:27 CEST
Assigning Colin. Please reassign QA when you've had a chance to take a look.

Thanks!

CC: (none) => qa-bugs
Assignee: qa-bugs => mageia

Comment 4 Colin Guthrie 2012-06-22 14:53:27 CEST
Sorry Claire, what do you want me to do?  Everything looks correct in your tests...

CC: (none) => eeeemail

Comment 5 claire robinson 2012-06-22 15:32:10 CEST
Sorry Colin, my bad. I was thinking of the other one. Doing too many things at once. Assigning back.

CC: eeeemail, qa-bugs => (none)
Assignee: mageia => qa-bugs

Comment 6 claire robinson 2012-06-23 22:50:18 CEST
Testing complete i586

Validating

=== Advisory Text ===

It was discovered that the runuser command provided by coreutils package did
not ship with appropriate pam.d config files. This prevented the command from
running and resulted in knock on effects in other packages as a result. One
example is that cyrus-imapd would refuse to run under systemd (the default
setup).

The release simply includes these missing pam files.


SRPM: coreutils-8.15-1.1.mga2.src.rpm

Could sysadmin please push from core/updates_testing to core/updates

Thanks!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: (none) => mga2-64-OK mga2-32-OK

Comment 7 Thomas Backlund 2012-06-27 16:53:26 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0089

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


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