[opensuse-arm] NTP service fails to start
The NTP daemon doesn't start journalctl -xn shows: Mar 26 15:13:45 linux start-ntpd[1779]: /usr/sbin/start-ntpd: line 144: logger: command not found Mar 26 15:13:45 linux systemd[1]: Failed to start NTP Server Daemon. Yep no logger command, and no rpm providing it (on 12.3 it's in util-linux). It seems like an essential command - is it missing deliberately? Thanks, Volker -- Volker Kuhlmann http://volker.top.geek.nz/ Please do not CC list postings to me. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 26.03.2015 um 03:38 schrieb Volker Kuhlmann <list0570@paradise.net.nz>:
The NTP daemon doesn't start
journalctl -xn shows:
Mar 26 15:13:45 linux start-ntpd[1779]: /usr/sbin/start-ntpd: line 144: logger: command not found Mar 26 15:13:45 linux systemd[1]: Failed to start NTP Server Daemon.
Yep no logger command, and no rpm providing it (on 12.3 it's in util-linux). It seems like an essential command - is it missing deliberately?
Ouch. It probably got moved into another package and nobody updated the JeOS package list to include it. Please find out which package it is, so we can add it to the list. Or poke the maintainer of the ntpd package to add an explicit dependency on logger in his package. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Alexander Graf wrote:
Am 26.03.2015 um 03:38 schrieb Volker Kuhlmann <list0570@paradise.net.nz>:
The NTP daemon doesn't start
journalctl -xn shows:
Mar 26 15:13:45 linux start-ntpd[1779]: /usr/sbin/start-ntpd: line 144: logger: command not found Mar 26 15:13:45 linux systemd[1]: Failed to start NTP Server Daemon.
Yep no logger command, and no rpm providing it (on 12.3 it's in util-linux). It seems like an essential command - is it missing deliberately?
Ouch. It probably got moved into another package and nobody updated the JeOS package list to include it.
logger is in util-linux-systemd. -- Per Jessen, Zürich (6.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Thu 26 Mar 2015 20:27:27 NZDT +1300, Alexander Graf wrote:
Please find out which package it is, so we can add it to the list. Or poke the maintainer of the ntpd package to add an explicit dependency on logger in his package.
It's probably not as straightforward, hence my post. It's not in any package in factory: # zypper in logger Loading repository data... Reading installed packages... 'logger' not found in package names. Trying capabilities. No provider of 'logger' found. Resolving package dependencies... Nothing to do. On oS 12.3:
rpm -qf /usr/bin/logger util-linux-2.21.2-10.2.1.x86_64
# rpm -q util-linux util-linux-2.26-1.1.armv7hl On oS 13.2:
rpm -qf /usr/bin/logger util-linux-systemd-2.25.1-2.4.x86_64
# zypper in util-linux-systemd (1/1) Installing: util-linux-systemd-2.26-1.1 .........[done] # systemctl restart ntpd Works. So, zyppers' trying of capabilities sucks ;-) Package ntp is missing a dependency on util-linux-systemd (or logger). While logger was in util-linux it was obviously never noticed. Both the above are probably not ARM specific. https://bugzilla.novell.com/show_bug.cgi?id=924451 Thanks for the pointer. General problem: How do I find out which package provides XX if zypper (and yast??) can't find it? Thanks, Volker -- Volker Kuhlmann http://volker.top.geek.nz/ Please do not CC list postings to me. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi, On Thu, Mar 26, 2015 at 11:53:34PM +1300, Volker Kuhlmann <list0570@paradise.net.nz> wrote:
Thanks for the pointer. General problem: How do I find out which package provides XX if zypper (and yast??) can't find it?
The file-lists are published for each release, then you can use e.g. https://github.com/benthaman/zyp-file to search them. Regards, Miklos
Volker Kuhlmann wrote:
On Thu 26 Mar 2015 20:27:27 NZDT +1300, Alexander Graf wrote:
Please find out which package it is, so we can add it to the list. Or poke the maintainer of the ntpd package to add an explicit dependency on logger in his package.
It's probably not as straightforward, hence my post.
It's not in any package in factory:
# zypper in logger Loading repository data... Reading installed packages... 'logger' not found in package names. Trying capabilities. No provider of 'logger' found. Resolving package dependencies... Nothing to do.
On oS 12.3:
rpm -qf /usr/bin/logger util-linux-2.21.2-10.2.1.x86_64
# rpm -q util-linux util-linux-2.26-1.1.armv7hl
On oS 13.2:
rpm -qf /usr/bin/logger util-linux-systemd-2.25.1-2.4.x86_64
# zypper in util-linux-systemd (1/1) Installing: util-linux-systemd-2.26-1.1 .........[done]
# systemctl restart ntpd
Works.
So, zyppers' trying of capabilities sucks ;-)
Package ntp is missing a dependency on util-linux-systemd (or logger). While logger was in util-linux it was obviously never noticed.
Both the above are probably not ARM specific.
https://bugzilla.novell.com/show_bug.cgi?id=924451
Thanks for the pointer. General problem: How do I find out which package provides XX if zypper (and yast??) can't find it?
Try 'cnf'. (command-not-found). -- Per Jessen, Zürich (7.6°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Fri 27 Mar 2015 00:41:35 NZDT +1300, Per Jessen wrote:
Try 'cnf'. (command-not-found).
Well I have to laugh: # cnf -bash: cnf: command not found And cry: # zypper in cnf 'cnf' not found in package names. Trying capabilities. No provider of 'cnf' found. Really, this sucks hamsters! zypper ought to get its act together. It's not like the info isn't already on disk somwhere in zypp's repo metadata! As it is, I have to hope to find another system that has it installed, and where I can run rpm -qf /usr/bin/cnf Volker -- Volker Kuhlmann http://volker.top.geek.nz/ Please do not CC list postings to me. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Volker Kuhlmann wrote:
On Fri 27 Mar 2015 00:41:35 NZDT +1300, Per Jessen wrote:
Try 'cnf'. (command-not-found).
Well I have to laugh:
# cnf -bash: cnf: command not found
And cry:
# zypper in cnf 'cnf' not found in package names. Trying capabilities. No provider of 'cnf' found.
try "zypper in command-not-found" On a desktop it's installed by default. -- Per Jessen, Zürich (6.1°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 27.03.2015 um 03:35 schrieb Volker Kuhlmann:
On Fri 27 Mar 2015 00:41:35 NZDT +1300, Per Jessen wrote:
Try 'cnf'. (command-not-found).
Well I have to laugh:
# cnf -bash: cnf: command not found
And cry:
# zypper in cnf 'cnf' not found in package names. Trying capabilities. No provider of 'cnf' found.
You keep trying random things with 'zypper install' and complaining that it doesn't work. Are you at least aware of 'zypper search'? Both operate on package names AFAIK, but 'in' really wants the exact name. Anyway, complaining about zypper here is not gonna get us anywhere. Please post to a suitable list for zypper or file bugs against it - or maybe even implement your ideas yourself. :)
Really, this sucks hamsters! zypper ought to get its act together. It's not like the info isn't already on disk somwhere in zypp's repo metadata!
It sounds like you never did "zypper dup" after installing, which should install additional tools like these. JeOS is really minimal. Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Sat 28 Mar 2015 03:06:18 NZDT +1300, Andreas Färber wrote:
You keep trying random things with 'zypper install' and complaining that it doesn't work. Are you at least aware of 'zypper search'? Both operate on package names AFAIK, but 'in' really wants the exact name.
Yes I am aware of zypper se, but it searches package names. It does have more options (thanks), but none search for any package providing command X. I'll file a suggestion.
It sounds like you never did "zypper dup" after installing, which should install additional tools like these. JeOS is really minimal.
As it should be. I didn't do zypper dup because I don't know what the definition of dist upgrade is for factory 7 days after fresh install (or at any time). I did zypper up only to pick up changes. dup does not install cnf btw. Volker -- Volker Kuhlmann http://volker.top.geek.nz/ Please do not CC list postings to me. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Volker,
# zypper in util-linux-systemd (1/1) Installing: util-linux-systemd-2.26-1.1 .........[done]
# systemctl restart ntpd
Works.
Cool! Thanks for finding this out. I've fixed Factory and 13.2 to include this package now, so fixed images should be available shortly. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (6)
-
Alexander Graf
-
Andreas Färber
-
Dirk Müller
-
Miklos Vajna
-
Per Jessen
-
Volker Kuhlmann