Package: lldpd Version: 0.5.1-1 Severity: wishlist Tags: patch lldpd init script does not have option to check status. This is critical if, for example, puppet used to manage lldpd. I'm including patch to add "status" argument to lldpd init.d script, however it's my first patch and i does not know if it's written correctly. But at least it works :)
Patch below: ---START--- 89a90,104 > status) > log_action_begin_msg "Checking $DESC $NAME" > if pidofproc -p "$PIDFILE" >/dev/null; then > log_action_end_msg 0 "running" > exit 0 > else > if [ -e "$PIDFILE" ]; then > log_action_end_msg 1 "failed to start" > exit 1 > else > log_action_end_msg 0 "not running" > exit 3 > fi > fi > ;; ---END--- -- System Information: Debian Release: 6.0.6 APT prefers stable APT policy: (990, 'stable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lldpd depends on: ii adduser 3.112+nmu2 add and remove users and groups ii libc6 2.13-37 Embedded GNU C Library: Shared lib ii libsnmp15 5.4.3~dfsg-2.7 SNMP (Simple Network Management Pr ii libssl0.9.8 0.9.8o-4squeeze13 SSL shared libraries lldpd recommends no packages. Versions of packages lldpd suggests: ii snmpd 5.4.3~dfsg-2 SNMP (Simple Network Management Pr -- Configuration Files: /etc/default/lldpd changed: DAEMON_ARGS="-x -c -s -e" -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org