Description of problem: When an user logs in a run time directory should be created for it in /run/user. Similar sudo bug 961510. Version-Release number of selected component (if applicable): util-linux-2.23-1.fc19 How reproducible: always Steps to Reproduce: [root@fed1 ~]# su - pkis [pkis@fed1 ~]$ ls /run/user/ 0 [pkis@fed1 ~]$ exit logout [root@fed1 ~]# su pkis Last login: Tue May 21 10:33:29 CEST 2013 on pts/0 [pkis@fed1 root]$ ls /run/user/ 0 [pkis@fed1 root]$ exit exit [root@fed1 ~]# su -c "ls /run/user/" pkis Last login: Tue May 21 10:33:40 CEST 2013 on pts/0 0 [root@fed1 ~]# su -c "ls /run/user/" - pkis Last login: Tue May 21 10:38:19 CEST 2013 on pts/0 0 [root@fed1 ~]# Actual results: No directory is created for user in /run/user Expected results: A directory is created.
I don't see a reason why programs like su(1) or sudo(1) should create any random files... If we really want this functionality then it has to be implemented on one place and controlled by some config file -- for example by PAM module, or by logind, etc.
I'm sorry but this is really duplicate of bug 753882 which was closed by Lennart.
*** This bug has been marked as a duplicate of bug 753882 ***