On Sun, 14 Apr 2013 11:29, Stefan Seyfried <stefan.seyfried@...> wrote:
Ok Stefan: [snip] I found that /etc/systemd/system contains lots of directories and symlinks that do not belong to any package. And then there is one file
Am 14.04.2013 02:55, schrieb Cristian Rodríguez: that also does not belong to any package:
systemd-random-seed-load.service
it's dated Jan 29 2013, I'm pretty sure I did not create it manually and it fails.
To get back on topic in opensuse-packaging:
should we mark all those /etc/systemd/system/dbus-org.bluez.service and friends as %ghost in the packages so that one actually can find out if this is a system file or not? I'm usually inclined to remove everything not known to RPM from my systems, but I figured that this might break my system even more.... :-)
With these symlinks under /etc/systemd/.. does systemd the control what to start (and what target wants which service / socket), similar to /etc/init.d/rc?.d/[SK][num][name] symlinks from sysVinit. The service / socket / target files themself reside under /lib/systemd/... and / or /usr/lib/systemd/... so, if you have a candidate like "systemd-random-seed-load.service" from above, use locate / or find -name on those two "lib" dirs, for the file shown this should give: /usr/lib/systemd/system/sysinit.target.wants/systemd-random-seed-load.service /usr/lib/systemd/system/systemd-random-seed-load.service and a man-page: /usr/share/man/man8/systemd-random-seed-load.service.8.gz a "rpm -qf" on those makes more sense than on the /etc/ symlinks. (and shows that this file belongs to the systemd package) But imho it's a learn-everything-anew thing with systemd, esp. debugging faults is not so easy any more. For example: But a nonvalid line in your syslog-ng / rsyslog config and do a "systemctl reload syslog.service" . Just where are your "Fail / Error" messages? - Not nice. A "systemctl status syslog.service" gives just a "failed" but not the error message from the deamon itself. And systemd tries to spawn syslog.service contiously anew. Happy debugging. A question to the ones that do the config defaults for rsyslogd : why are the cron messages in the /var/log/NetworkManager file? (OSS 12.3 out of the box) I'm still at the start of learning how to handle systemd. For added praxis I try writing .service files for deamons that I use and that do not bring them in the package. That can be very frustrating, due to the lack of useable debug output. And then we can start about determinability. Or the lack of. - Yamaban, who wishes you all a nice weekend.