[opensuse] leap42 / sistemad - who is supposed to create syslog.service ?
On leap42 with syslog-ng installed, I seem to be missing a symlink: /etc/systemd/system/syslog.service -> /usr/lib/systemd/system/syslog-ng.service Hmm, in 13.1 and 13.2, the syslog-ng service unit had "Alias=syslog.service", but this appears to have been commented out in Leap42 ?? -- Per Jessen, Zürich (4.0°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 4 Feb 2016 17:44, Per Jessen <per@...> wrote:
On leap42 with syslog-ng installed, I seem to be missing a symlink:
/etc/systemd/system/syslog.service -> /usr/lib/systemd/system/syslog-ng.service
Hmm, in 13.1 and 13.2, the syslog-ng service unit had "Alias=syslog.service", but this appears to have been commented out in Leap42 ??
Bug, please report it. I'm using rsyslog in Leap42.1, and its rsyslog.service file has the "Alias=syslog.service" line active in the Install section. As intermediate bug workaraound the creation of a dir "/etc/systemd/system/syslog-ng.service.d" and creating a file "/etc/systemd/system/syslog-ng.service.d/Alias.conf" with the following should help: [code] # adding missing Alias line [Install] Alias=syslog.service [/code] Remember to use "systemctl daemon-reload" to get the change active and then "systemctl reenable syslog-ng.service" should create the alias symlink. - Yamaban. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Yamaban wrote:
On Thu, 4 Feb 2016 17:44, Per Jessen <per@...> wrote:
On leap42 with syslog-ng installed, I seem to be missing a symlink:
/etc/systemd/system/syslog.service -> /usr/lib/systemd/system/syslog-ng.service
Hmm, in 13.1 and 13.2, the syslog-ng service unit had "Alias=syslog.service", but this appears to have been commented out in Leap42 ??
Bug, please report it.
Yeah, already did, https://bugzilla.opensuse.org/show_bug.cgi?id=965191
I'm using rsyslog in Leap42.1, and its rsyslog.service file has the "Alias=syslog.service" line active in the Install section.
Perfect, thanks.
As intermediate bug workaraound the creation of a dir "/etc/systemd/system/syslog-ng.service.d" and creating a file "/etc/systemd/system/syslog-ng.service.d/Alias.conf" with the following should help:
I just uncommented the Alias=syslog.service an re-enabled it. -- Per Jessen, Zürich (5.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thursday, 4 February 2016 17:44:03 GMT Per Jessen wrote:
On leap42 with syslog-ng installed, I seem to be missing a symlink:
/etc/systemd/system/syslog.service -> /usr/lib/systemd/system/syslog-ng.service
Hmm, in 13.1 and 13.2, the syslog-ng service unit had "Alias=syslog.service", but this appears to have been commented out in Leap42 ??
is it a bug or future config as, i think, both syslog and rsyslog are now doing their own extraction of journal records and there is no need for systemd to forward them. Depends on your version of syslog/rsyslog -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
ianseeks wrote:
On Thursday, 4 February 2016 17:44:03 GMT Per Jessen wrote:
On leap42 with syslog-ng installed, I seem to be missing a symlink:
/etc/systemd/system/syslog.service -> /usr/lib/systemd/system/syslog-ng.service
Hmm, in 13.1 and 13.2, the syslog-ng service unit had "Alias=syslog.service", but this appears to have been commented out in Leap42 ??
is it a bug or future config as, i think, both syslog and rsyslog are now doing their own extraction of journal records and there is no need for systemd to forward them. Depends on your version of syslog/rsyslog
I know what you mean, but that's something else. (and it's working fine afaik). This is only about the syslog.service alias not being created for syslog-ng - for some odd reason. -- Per Jessen, Zürich (6.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
ianseeks
-
Per Jessen
-
Yamaban