Edit:
I believe the culprit has been located.
Kernel 3.10.0-327.18.2.el7.x86_64 seems to be troublesome, I'll stick with the elrepo 4.6 kernel until redhat gets their pants together.
They've pulled this intel driver into 7.2 and of course I have an intel card..
/Edit.
I've been plagued with the same issue as this person:
https://www.centos.org/forums/viewtopic.php?f=48&t=58096
Filesystem:
ext4 / and /home, /boot ext2
Useradd and userdel seems to work on login and reboots for a short while then /etc/passwd, /etc/group becomes "resource or device busy".
This simply makes Centos 7 unusable on desktop. I can't install some packages as they break when try to add users and groups.
I've got no idea what else I should do, I've tried everything in that linked thread.
Edit:
From journalctl:
What's interesting is errors started appearing after I've logged in on tty1 and selinux initialization tmpfs stuff kicked in despite selinux being in permissive mode.
Link: http://pastebin.com/raw/PCJW3qAh
Jun 08 15:03:44 centos7.loc userdel[8372]: delete user 'AmV2236F' Jun 08 15:03:44 centos7.loc userdel[8372]: removed group 'AmV2236F' owned by 'AmV2236F' Jun 08 15:03:44 centos7.loc userdel[8372]: removed shadow group 'AmV2236F' owned by 'AmV2236F' Jun 08 15:03:44 centos7.loc kernel: perf interrupt took too long (2524 > 2500), lowering kernel.perf_event_max_sample_rate to 50000 Jun 08 15:03:45 centos7.loc userdel[8381]: delete user 'AnTboQd0' Jun 08 15:03:45 centos7.loc userdel[8381]: removed group 'AnTboQd0' owned by 'AnTboQd0' ... Jun 08 15:07:15 centos7.loc userdel[11332]: removed shadow group 'XfXmxxOi' owned by 'XfXmxxOi' Jun 08 15:07:15 centos7.loc lightdm[1256]: pam_unix(lightdm:session): session closed for user myuser Jun 08 15:07:15 centos7.loc userdel[11340]: delete user 'xGvEuEGW' Jun 08 15:07:15 centos7.loc userdel[11340]: removed group 'xGvEuEGW' owned by 'xGvEuEGW' Jun 08 15:07:15 centos7.loc userdel[11340]: removed shadow group 'xGvEuEGW' owned by 'xGvEuEGW' Jun 08 15:07:15 centos7.loc kernel: traps: xfsettingsd[11335] trap int3 ip:7f03164778d3 sp:7ffe2c5b8c10 error:0 Jun 08 15:07:15 centos7.loc lightdm[928]: ** (process:11345): WARNING **: Error updating user /org/freedesktop/Accounts/User1271: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No su Jun 08 15:07:15 centos7.loc lightdm[11345]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0) Jun 08 15:07:15 centos7.loc systemd-logind[922]: New session c2 of user lightdm. Jun 08 15:07:15 centos7.loc systemd[1]: Started Session c2 of user lightdm. Jun 08 15:07:15 centos7.loc systemd[1]: Starting Session c2 of user lightdm. Jun 08 15:07:16 centos7.loc userdel[11357]: delete user 'xI3GmsrX' Jun 08 15:07:16 centos7.loc userdel[11357]: removed group 'xI3GmsrX' owned by 'xI3GmsrX' Jun 08 15:07:16 centos7.loc userdel[11357]: removed shadow group 'xI3GmsrX' owned by 'xI3GmsrX' ... Jun 08 15:07:18 centos7.loc userdel[11403]: removed shadow group 'XQ1N0qiL' owned by 'XQ1N0qiL' Jun 08 15:07:18 centos7.loc systemd-logind[922]: Removed session c1. Jun 08 15:07:18 centos7.loc userdel[11409]: delete user 'xqWV57Ce ... Jun 08 15:07:21 centos7.loc lightdm[11345]: pam_unix(lightdm-greeter:session): session closed for user lightdm Jun 08 15:07:21 centos7.loc systemd-logind[922]: New session 7 of user myuser. Jun 08 15:07:21 centos7.loc systemd[1]: Started Session 7 of user myuser. Jun 08 15:07:21 centos7.loc systemd[1]: Starting Session 7 of user myuser. Jun 08 15:07:21 centos7.loc lightdm[11379]: pam_unix(lightdm:session): session opened for user myuser by (uid=0) ... Jun 08 15:07:26 centos7.loc userdel[11664]: delete user 'yNhr7NVg' Jun 08 15:07:26 centos7.loc userdel[11664]: removed group 'yNhr7NVg' owned by 'yNhr7NVg' Jun 08 15:07:26 centos7.loc userdel[11664]: removed shadow group 'yNhr7NVg' owned by 'yNhr7NVg' Jun 08 15:07:27 centos7.loc userdel[11674]: delete user 'you4lOtu' Jun 08 15:07:27 centos7.loc userdel[11674]: removed group 'you4lOtu' owned by 'you4lOtu' Jun 08 15:07:27 centos7.loc userdel[11674]: removed shadow group 'you4lOtu' owned by 'you4lOtu' Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev proc, type proc), uses genfs_contexts Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:27 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:27 centos7.loc userdel[11674]: failure while writing changes to /etc/passwd Jun 08 15:07:27 centos7.loc userdel[11680]: delete user 'YpArTyVr' Jun 08 15:07:27 centos7.loc userdel[11680]: removed group 'YpArTyVr' owned by 'YpArTyVr' Jun 08 15:07:27 centos7.loc userdel[11680]: removed shadow group 'YpArTyVr' owned by 'YpArTyVr' Jun 08 15:07:27 centos7.loc userdel[11680]: failure while writing changes to /etc/passwd ... Jun 08 15:07:32 centos7.loc userdel[11720]: delete user 'ZZZjWcCQ' Jun 08 15:07:32 centos7.loc userdel[11720]: removed group 'ZZZjWcCQ' owned by 'ZZZjWcCQ' Jun 08 15:07:32 centos7.loc userdel[11720]: removed shadow group 'ZZZjWcCQ' owned by 'ZZZjWcCQ' Jun 08 15:07:32 centos7.loc userdel[11720]: failure while writing changes to /etc/passwd Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev proc, type proc), uses genfs_contexts Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:07:49 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:13:33 centos7.loc su[11884]: (to root) myuser on pts/1 Jun 08 15:13:33 centos7.loc su[11884]: pam_unix(su-l:session): session opened for user root by myuser(uid=1000) Jun 08 15:26:59 centos7.loc kernel: perf interrupt took too long (5018 > 5000), lowering kernel.perf_event_max_sample_rate to 25000 Jun 08 15:29:34 centos7.loc kernel: SELinux: initialized (dev proc, type proc), uses genfs_contexts Jun 08 15:29:34 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:29:34 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:29:34 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:29:34 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:29:34 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:29:34 centos7.loc kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jun 08 15:34:38 centos7.loc useradd[11995]: new group: name=imatestuser, GID=1511 Jun 08 15:34:38 centos7.loc useradd[11995]: new user: name=imatestuser, UID=1511, GID=1511, home=/home/imatestuser, shell=/bin/bash Jun 08 15:34:38 centos7.loc useradd[11995]: failure while writing changes to /etc/passwd Jun 08 15:34:38 centos7.loc useradd[11995]: failed adding user 'imatestuser', exit code: 1 Jun 08 15:35:08 centos7.loc useradd[12004]: new group: name=imatestuser, GID=1511 Jun 08 15:35:08 centos7.loc useradd[12004]: new user: name=imatestuser, UID=1511, GID=1511, home=/home/imatestuser, shell=/bin/bash Jun 08 15:35:09 centos7.loc useradd[12004]: failure while writing changes to /etc/passwd Jun 08 15:35:09 centos7.loc useradd[12004]: failed adding user 'imatestuser', exit code: 1 Jun 08 15:38:32 centos7.loc dbus-daemon[914]: dbus[914]: [system] Activating service name='org.fedoraproject.Setroubleshootd' (using servicehelper) Jun 08 15:38:32 centos7.loc dbus[914]: [system] Activating service name='org.fedoraproject.Setroubleshootd' (using servicehelper) Jun 08 15:38:33 centos7.loc dbus[914]: [system] Successfully activated service 'org.fedoraproject.Setroubleshootd' Jun 08 15:38:33 centos7.loc dbus-daemon[914]: dbus[914]: [system] Successfully activated service 'org.fedoraproject.Setroubleshootd' Jun 08 15:39:42 centos7.loc setroubleshoot[12037]: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.57" is not allowed to own the service "org.fedoraproject.Setroubleshootd" due to s Jun 08 15:39:56 centos7.loc polkitd[940]: Registered Authentication Agent for unix-process:12042:302600 (system bus name :1.58 [/myoldusername/bin/pkttyagent --notify-fd 5 --fallback], object path /o Jun 08 15:39:56 centos7.loc polkitd[940]: Unregistered Authentication Agent for unix-process:12042:302600 (system bus name :1.58, object path /org/freedesktop/PolicyKit1/AuthenticationAgent Jun 08 15:40:02 centos7.loc polkitd[940]: Registered Authentication Agent for unix-process:12047:303202 (system bus name :1.59 [/myoldusername/bin/pkttyagent --notify-fd 5 --fallback], object path /o Jun 08 15:40:02 centos7.loc polkitd[940]: Unregistered Authentication Agent for unix-process:12047:303202 (system bus name :1.59, object path /org/freedesktop/PolicyKit1/AuthenticationAgent Jun 08 15:42:08 centos7.loc polkitd[940]: Registered Authentication Agent for unix-process:12059:315859 (system bus name :1.60 [/myoldusername/bin/pkttyagent --notify-fd 5 --fallback], object path /o Jun 08 15:42:08 centos7.loc polkitd[940]: Unregistered Authentication Agent for unix-process:12059:315859 (system bus name :1.60, object path /org/freedesktop/PolicyKit1/AuthenticationAgent Jun 08 15:42:13 centos7.loc setroubleshoot[12065]: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.61" is not allowed to own the service "org.fedoraproject.Setroubleshootd" due to s Jun 08 15:43:00 centos7.loc setroubleshoot[12079]: [Errno 13] Permission denied: '/var/run/setroubleshootd.pid'
I'll try out the elrepo 4.6 kernel and see where it goes with selinux 4.6. This is centos 7's last chance from me for some time.
[link] [comments]