6.3: Service Not Starting?

Home » CentOS » 6.3: Service Not Starting?
CentOS 4 Comments

Before I roll it out to users for their workstations, I updated my own system to 6.3, just did an update a few minutes ago, then rebooted. Came up… but when I went to use my PIV card for credentials to certain other machines, it didn’t read the card. I found that pcscd was not running –
when I did a service restart, it said “failed” on shutdown, then ok on startup. chkconfig –list tells me it’s supposed to be on.

Now, I’m pretty sure I saw this behavior with motion on a server I did a week or so ago, also: same thing, chkconfig says it should be on, but it was never turned up. This is a reboot after update, not a new install, and selinux is permissive in both cases.

Has anyone else seen this, with optional services?


4 thoughts on - 6.3: Service Not Starting?

  • Patrick Lists wrote:
    running –

    I can do that, but see no reason to. As I stated above, selinux is in permissive mode, and I did a yum update, which updated Jul 16 14:36:59 Updated: dracut-004-284.el6_3.noarch Jul 16 14:37:00 Updated: dracut-kernel-004-284.el6_3.noarch Jul 17 13:27:40 Updated: psacct-6.3.2-63.el6_3.3.x86_64
    Jul 17 13:27:41 Updated: sudo-1.7.4p5-12.el6_3.x86_64

    which includes the sudo update, though I note from rpm -qi that it was built at 12:31 yesterday. Johnny, is this the one that was just announced in the announcement email of an hour or so ago?


  • Permissive mode or not this update also broke NFS automount of home directories on our 5.8 systems. The restorecon fix works for this purpose for us.

    Before the update…

    # egrep -v “^#” /etc/selinux/config SELINUX=permissive SELINUXTYPE=targeted SETLOCALDEFS=0

    # rpm -qa sudo sudo-1.7.2p1-13.el5

    # ls -Z /etc/nsswitch.conf
    -rw-r–r– root root system_u:object_r:etc_t /etc/nsswitch.conf

    After the update…
    # rpm -qa sudo sudo-1.7.2p1-14.el5_8

    # ls -Z /etc/nsswitch.conf
    -rw-r–r– root root system_u:object_r:rpm_script_tmp_t /etc/nsswitch.conf

    Jul 18 07:08:40 … automount[2580]: nsswitch_parse:173: couldn’t open
    /etc/nsswitch.conf Jul 18 07:08:40 … automount[2580]: lookup_nss_mount: can’t to read name service switch config.

    After the fix…
    # restorecon /etc/nsswitch.conf && service autofs restart Stopping automount: [ OK ]
    Starting automount: [ OK ]

    # ls -Z /etc/nsswitch.conf
    -rw-r–r– root root system_u:object_r:etc_t /etc/nsswitch.conf


  • Trevor Cooper wrote:

    It broke it IN PERMISSIVE MODE?!

    selinux *bug* (but I repeat myself )

    Ok, I just looked at one of my user’s workstations; his did the same, and he’s got selinux disabled. Dunno if it’s reasonable to do an ll -Z in that case, but it shows me everything has a context of ?

    Still digging.