Bug#730059: busybox-syslogd conflicts with systemd
Control: tag -1 - wontfix 29.09.2014 13:56, Trent W. Buck wrote: Michael Tokarev wrote: It is not the init script, it is the busybox syslog implementation. For simplicity, it is one applet that does both syslog function and klogd function, and klogd function is not optional. Er, are you sure? Errr not. That was a definitive -ENOCOFFEE. I stand corrected. Yes you're absolutely right, that's 2 separate applets, with 2 separate initscripts for them included in busybox-syslogd package. I just cleaned up Provides/Replaces/Conflicts lines of busybox-syslogd package, so this conflict should be fixed. I also added a line to busybox-klogd to stop starting it when systemd is running. Thanks, /mjt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#730059: busybox-syslogd conflicts with systemd
Control: tag -1 - moreinfo + wontfix 11.09.2014 09:49, Trent W. Buck wrote: In fact busybox-syslogd is the *only* package with Provides: klogd the others seem to Provides: linux-kernel-log-daemon I don't understand why this is the case. Does the difference signify a different interface, or is it just an oversight? The point is probably moot since journalctl replaces it, but couldn't the busybox-syslogd init script say if pid1 is systemd, start syslogd but not klogd ? It is not the init script, it is the busybox syslog implementation. For simplicity, it is one applet that does both syslog function and klogd function, and klogd function is not optional. In order to stop providing klogd, someone should write a patch for busybox (upstream, because I for one don't want to make debian-specific changes to busybox) to make klogd function optional, after which it will be possible to adjust initscript to run syslogd without klogd if systemd is running. Tagging as wontfix for now. Thanks, /mjt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#730059: busybox-syslogd conflicts with systemd
Michael Tokarev wrote: It is not the init script, it is the busybox syslog implementation. For simplicity, it is one applet that does both syslog function and klogd function, and klogd function is not optional. Er, are you sure? I'm definitely not familiar with busybox code, but * /etc/init.d/busybox-{syslogd,klogd} are separate scripts that run separate processes: USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND root 1475 0.0 0.0 4812 420 ?Ss 09:57 0:00 /sbin/klogd root 1478 0.0 0.4 13008 8632 ?Ss 09:57 0:00 /sbin/syslogd -C8192 * busybox {syslogd,klogd} --help suggests they're separate applets. * busybox/sysklogd/Config.src has separate options for syslogd and klogd. * the description for CONFIG_SYSLOGD says When used in conjunction with klogd, messages from the Linux kernel can also be recorded. which implies it can be used without klogd. * If I stop klogd, logger test still makes test appear in logread. * if I do make allnoconfig then in make menuconfig I can enable System Logging Utilities syslogd without klogd being turned on. $ ./busybox --help | tail -3 Currently defined functions: logread, syslogd $ ./busybox logread | grep user.notice.*test Sep 29 19:37:11 frey user.notice twb: test Disclaimer: the source code tests above, I was looking at 1_22_0-191-g26a8b9f because that was what I had in front of me. The runtime bits I checked on a jessie/sid install. signature.asc Description: Digital signature
Bug#730059: busybox-syslogd conflicts with systemd
Package: busybox-syslogd Version: 1:1.22.0-6 Followup-For: Bug #730059 In fact busybox-syslogd is the *only* package with Provides: klogd the others seem to Provides: linux-kernel-log-daemon I don't understand why this is the case. Does the difference signify a different interface, or is it just an oversight? The point is probably moot since journalctl replaces it, but couldn't the busybox-syslogd init script say if pid1 is systemd, start syslogd but not klogd ? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#730059: busybox-syslogd conflicts with systemd
Control: tag -1 moreinfo Stefan Monnier monn...@iro.umontreal.ca (2013-11-20): Package: busybox-syslogd Severity: normal Dear Maintainer, As stated in the subject, systemd and busybox-syslogd are in conflict (via klogd, IIUC). I'm not completely uptodate on systemd, but AFAIK it does not provide syslogd functionality, so I'd like to keep running busybox-syslogd alongside systemd. It looks like the Conflicts in systemd was added in: | systemd (25-1) experimental; urgency=low … | * Add Conflicts on klogd, since it doesn't work correctly with the | kmg→/dev/log bridge. Closes: #622555 … | -- Tollef Fog Heen tfh...@debian.org Sun, 24 Apr 2011 09:02:04 +0200 and busybox-syslogd provides that. systemd seems to ship journald. More info about it: http://www.freedesktop.org/software/systemd/man/systemd-journald.service.html Anyway, if the above is correct, I don't see how we could resolve this (except by making busybox-syslogd use libsystemd-journal0, but I don't think that would make much sense). Mraw, KiBi. signature.asc Description: Digital signature
Bug#730059: busybox-syslogd conflicts with systemd
Package: busybox-syslogd Severity: normal Dear Maintainer, As stated in the subject, systemd and busybox-syslogd are in conflict (via klogd, IIUC). I'm not completely uptodate on systemd, but AFAIK it does not provide syslogd functionality, so I'd like to keep running busybox-syslogd alongside systemd. Stefan -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.10-2-686-pae (SMP w/2 CPU cores) Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages busybox-syslogd depends on: ii busybox 1:1.20.0-9 busybox-syslogd recommends no packages. busybox-syslogd suggests no packages. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org