[Bug 892079] New: runuser exits with exit code 1, not being able to set the user permissions
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c0 Summary: runuser exits with exit code 1, not being able to set the user permissions Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: aj@ajaissle.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 runuser exits with exit code 1, not being able to set the user permissions. Reproducible: Always Steps to Reproduce: # runuser -u root whoami -or- # runuser - root -c whoami Actual Results: # runuser -u root whoami runuser: Fehler beim Festlegen der Benutzerberechtigung # runuser - root -c whoami runuser: Fehler beim Festlegen der Benutzerberechtigung Expected Results: # runuser -u root whoami root # runuser - root -c whoami root This may be due to missing /etc/pam.d/runuser and /etc/pam.d/runuser-l. A simple link from /etc/pam.d/su to /etc/pam.d/runuser and /etc/pam.d/su-l to /etc/pam.d/runuser-l resolves this issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c1 Aeneas Jaißle <aj@ajaissle.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium URL| |https://build.opensuse.org/ | |package/show/Base:System/ut | |il-linux CC| |aj@ajaissle.de --- Comment #1 from Aeneas Jaißle <aj@ajaissle.de> 2014-08-15 12:14:22 CEST --- This bug breaks starting cyrus-imapd 2.5 with systemd when using cyr_systemd_helper, as that script relies heavily on runuser. runuser is part of the util-linux package[1] At least openSUSE 13.1 and Factory should get an update to fix this. [1] https://build.opensuse.org/package/show/Base:System/util-linux -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c2 --- Comment #2 from Aeneas Jaißle <aj@ajaissle.de> 2014-08-15 12:32:44 CEST --- runuser: Failure setting user credentials -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com, | |mail@bernhard-voelker.de AssignedTo|bnc-team-screening@forge.pr |pth@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c3 Philipp Thomas <pth@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@suse.com AssignedTo|pth@suse.com |sbrabec@suse.com --- Comment #3 from Philipp Thomas <pth@suse.com> 2014-08-21 12:18:28 CEST --- And su in 13.1 also comes from util-linux so it's not my responsibility -> reassigning. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c4 Nico Kruber <nico.kruber@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nico.kruber@gmail.com --- Comment #4 from Nico Kruber <nico.kruber@gmail.com> 2014-09-01 11:51:07 UTC --- could this have the same reason as in Mageia (missing pam.d config files)? https://bugs.mageia.org/show_bug.cgi?id=6391 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c5 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #5 from Stanislav Brabec <sbrabec@suse.com> 2014-09-08 18:39:54 CEST --- Looking at util-linux-2.25/Documentation/PAM-configuration.txt, I see: Expected PAM config files: login(1): /etc/pam.d/remote - for -h command line option /etc/pam.d/login - regular login su(1): /etc/pam.d/su-l - for --login command line option /etc/pam.d/su - regular su runuser(1): /etc/pam.d/runuser-l - for --login command line option /etc/pam.d/runuser - regular su Note that runuser requires only "session" setting (and for example "auth sufficient pam_rootok.so" dummy line). chfn(1): /etc/pam.d/chfn chsh(1): /etc/pam.d/chsh More files are missing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c6 --- Comment #6 from Stanislav Brabec <sbrabec@suse.com> 2014-09-08 21:46:07 CEST --- runuser and runuser-l were added. chfn and chsh are not installed by util-linux, so its PAM files are not needed. Fix submitted to Factory (request 248084) and 13.1 (maintenance request 248087). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c7 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #7 from Stanislav Brabec <sbrabec@suse.com> 2014-09-08 21:46:35 CEST --- Marking as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=892079 https://bugzilla.novell.com/show_bug.cgi?id=892079#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-09-12 20:00:20 CEST --- This is an autogenerated message for OBS integration: This bug (892079) was mentioned in https://build.opensuse.org/request/show/249014 Factory / util-linux -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com