Andrei Borzenkov wrote:
On Mon, Mar 16, 2015 at 5:25 PM, Per Jessen <per@computer.org> wrote:
After killing a wrongly started ntpd, I tried starting a new one:
systemctl start ntpd
This seems to hang:
4 0 1163 1 20 0 45216 4996 core_s Ss ? 0:00 /usr/sbin/sshd -D 4 0 2974 1163 20 0 81640 6060 core_s Ss ? 0:00 \_ sshd: root@pts/4 4 0 2981 2974 20 0 14724 4600 wait Ss pts/4 0:00 | \_ -bash 4 0 8128 2981 20 0 24552 2824 SyS_pp S+ pts/4 0:00 | \_ systemctl start ntpd 0 0 8129 8128 20 0 13160 1664 SyS_po S+ pts/4 0:00 | \_ /usr/bin/systemd-tty-ask-password-agent --watch
Sofar it's been waiting about 3 minutes. What is it waiting for?
systemctl always starts systemd-tty-ask-password-agent (unless explicitly disabled) in case service may want to request some passwords.
Okay - but in this cae, ntpd doesn't want a password? Anyway, I think I've found the answer: 2015-03-16T15:30:56+01:00 airbus systemd[1]: ntpd.service holdoff time over, scheduling restart. It seems my "systemctl start ntpd" was waiting for this holdoff time to expire?? (I would have thought a manually entered 'start' should override). -- Per Jessen, Zürich (13.1°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org