Bug#652149: l2tp-ipsec-vpn-daemon: Package indirectly depends on rsyslog

December 15th, 2011 - 04:40 am ET by Roland Clobus | Report spam

Package: l2tp-ipsec-vpn-daemon
Version: 0.9.6-1
Severity: normal

Dear Maintainer,

I was running a Debian installation with syslogd and klogd. When I
installed this package, I saw the following messages scroll past:

Setting up l2tp-ipsec-vpn (1.0.2-1) ...
invoke-rc.d: unknown initscript, /etc/init.d/rsyslog not found.

I've fetched the source code and found the following:
- The postinst script explicitly calls rsyslog to restart the daemon.

- Also src/conf/Confwriter.cpp contains a reference to
/etc/rsyslog.d/30-l2tp-ipsec-vpn.conf

Should this package have a depends on rsyslog?

With kind regards,
Roland Clobus

Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages l2tp-ipsec-vpn-daemon depends on:
ii libc6 2.13-21
ii libgcc1 1:4.6.2-5
ii libqt4-network 4:4.7.3-5
ii libqtcore4 4:4.7.3-5
ii libstdc++6 4.6.2-5
ii openswan 1:2.6.28+dfsg-5+b1
ii xl2tpd 1.3.1+dfsg-1

l2tp-ipsec-vpn-daemon recommends no packages.

l2tp-ipsec-vpn-daemon suggests no packages.









To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Werner Jaeger
December 15th, 2011 - 06:00 am ET | Report spam
Hash: SHA1

Hi Roland,

yes, this dependency is intentional, yet unfortunate.

The reason for this is, that I need to redirect certain syslog
messages to a pipe, so that the client is able to capture and evaluate
them.

In /etc/rsyslog.d/30-l2tp-ipsec-vpn.conf you'll see the following lines:
# Log xl2tpd pppd and ipsec generated log messages to a pipe
:syslogtag,contains,"xl2tpd[" |/var/log/l2tpipsecvpn.pipe
:syslogtag,contains,"pppd[" |/var/log/l2tpipsecvpn.pipe
:syslogtag,contains,"ipsec__plutorun:" |/var/log/l2tpipsecvpn.pipe


My problem is, that I don't yet know how to do this in a syslog
product independent way.

But I'm going to figure out, if klogd provides a similar functionality
and if so I could at least try to differentiate between a rsyslogd and
klogd installation.

If you have any ideas or solutions please let me know.



With kind regards,
Werner Jaeger

On 12/15/2011 05:22 PM, Roland Clobus wrote:
Package: l2tp-ipsec-vpn-daemon
Version: 0.9.6-1
Severity: normal

Dear Maintainer,

I was running a Debian installation with syslogd and klogd. When I
installed this package, I saw the following messages scroll past:

Setting up l2tp-ipsec-vpn (1.0.2-1) ...
invoke-rc.d: unknown initscript, /etc/init.d/rsyslog not found.

I've fetched the source code and found the following:
- The postinst script explicitly calls rsyslog to restart the daemon.

- Also src/conf/Confwriter.cpp contains a reference to
/etc/rsyslog.d/30-l2tp-ipsec-vpn.conf

Should this package have a depends on rsyslog?

With kind regards,
Roland Clobus

Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages l2tp-ipsec-vpn-daemon depends on:
ii libc6 2.13-21
ii libgcc1 1:4.6.2-5
ii libqt4-network 4:4.7.3-5
ii libqtcore4 4:4.7.3-5
ii libstdc++6 4.6.2-5
ii openswan 1:2.6.28+dfsg-5+b1
ii xl2tpd 1.3.1+dfsg-1

l2tp-ipsec-vpn-daemon recommends no packages.

l2tp-ipsec-vpn-daemon suggests no packages.








To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics