Re: named-chroot.service hangs in F19

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sam Varshavchik writes:

systemctl start named-chroot.service hangs for a minute, or so.

ps shows that named is running, but systemctl is trying to execute the following:

root 2036 2035 0 09:53 pts/0 00:00:00 /usr/bin/systemd-tty-ask- password-agent --watch

Follow-up, I don't think this has anything to do with systemd-tty-ask- password-agent. I set up named-chroot on another server, in its default configuration, and it starts fine, and I can see that systemctl also executes systemd-tty-ask-password-agent, as part of starting the service.

The problem on the problematic server has to do with systemd itself. For some reason the service remains in "Activating" state, and systemd never believes that the server finished starting.

After executing "systemctl start named-chroot.service", and its start hanging, a minute later, "systemctl status named-chroot.service" comes back with:

named-chroot.service - Berkeley Internet Name Domain (DNS)
  Loaded: loaded (/usr/lib/systemd/system/named-chroot.service; enabled)
  Active: activating (start) since Thu 2013-07-04 18:02:35 EDT; 1min 6s ago
 Process: 1650 ExecStart=/usr/sbin/named -u named -t /var/named/chroot $OPTIONS (code=exited, status=0/SUCCESS)
 Process: 1645 ExecStartPre=/usr/sbin/named-checkconf -t /var/named/chroot -z /etc/named.conf (code=exited, status=0/SUCCESS)
 Process: 1552 ExecStartPre=/usr/libexec/setup-named-chroot.sh /var/named/chroot on (code=exited, status=0/SUCCESS)
 Process: 1509 ExecStartPre=/usr/libexec/generate-rndc-key.sh (code=exited, status=0/SUCCESS)
  CGroup: name=systemd:/system/named-chroot.service
          └─1652 /usr/sbin/named -u named -t /var/named/chroot

[ syslog messages from named, unimportant ]

I can manually start /usr/sbin/named -u named -t /var/named/chroot, and it runs happily, but systemd does not believe that the service has started, and kills the entire process group, after the default 90 second timeout.

So, what's systemd's problem, here?

Attachment: pgp0Wp2Kwf5ER.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux