Hide Forgot
Description of problem: When I start or stop my ppp-devices with ifup or ifdown (I have two: a ADSL ppp device and a pptp ppp device, happens on both), the following appears in /var/log/secure every time: Nov 3 05:00:05 han su: pam_systemd(su:session): Failed to create session: Invalid argument Version-Release number of selected component (if applicable): ppp-2.4.5-18.fc16.i686 How reproducible: Every time ifup or ifdown for a ppp device is called. Steps to Reproduce: 1. Start or stop a ppp device with ifup or ifdown as root Actual results: Suspicious message in /var/log/secure, see above Expected results: Additional info:
Because error message was logged by pam_systemd(systemd37/src/pam-module.c), thus changing the component to systemd. If appropriate switch component back to ppp.
What exact version of systemd do you have installed?
systemd-36-3.fc16.i686
Could you try with systemd-37-3.fc16 (currently in updates-testing)? It fixes bug 736756 and though the error message is not identical, the cause of it may be related.
No change with systemd-37-3.fc16: # rpm -q systemd systemd-37-3.fc16.i686 # ifdown ppp9 ; sleep 5 ; ifup ppp9 # tail -n6 /var/log/secure Nov 7 13:02:07 han su: pam_systemd(su:session): Failed to create session: Invalid argument Nov 7 13:02:07 han su: pam_unix(su:session): session opened for user root by (uid=0) Nov 7 13:02:07 han su: pam_unix(su:session): session closed for user root Nov 7 13:02:22 han su: pam_systemd(su:session): Failed to create session: Invalid argument Nov 7 13:02:22 han su: pam_unix(su:session): session opened for user root by (uid=0) Nov 7 13:02:22 han su: pam_unix(su:session): session closed for user root
I'm curious why "su" is run at all. Do you have any files in /var/run/netreport/ ? What does this say?: for p in /var/run/netreport/*; do ls -l /proc/$(basename $p)/exe; done
This is reproducible with: su michich -c "echo hello" </dev/null
# for p in /var/run/netreport/*; do ls -l /proc/$(basename $p)/exe; done lrwxrwxrwx 1 root root 0 7. Nov 13:35 /proc/2290/exe -> /sbin/ppp-watch
This is fixed upstream by: http://cgit.freedesktop.org/systemd/commit/?id=1dc995370987660ff045ff4d7cf512da0390cf96
systemd-37-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/systemd-37-6.fc16
Package systemd-37-6.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-37-6.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-6.fc16 then log in and leave karma (feedback).
Package systemd-37-7.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-37-7.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-7.fc16 then log in and leave karma (feedback).
Package systemd-37-8.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-37-8.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-8.fc16 then log in and leave karma (feedback).
Package systemd-37-10.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-37-10.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-10.fc16 then log in and leave karma (feedback).
Package systemd-37-11.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-37-11.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0409/systemd-37-11.fc16 then log in and leave karma (feedback).
systemd-37-11.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.