Your message dated Fri, 29 Mar 2013 21:02:27 +0100
with message-id <[email protected]>
and subject line Re: Bug#704212: lldpd init does not have status option
has caused the Debian Bug report #704212,
regarding lldpd init does not have status option
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
704212: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704212
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
❦ 29 mars 2013 14:26 CET, Lex Rivera <[email protected]> :
> 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 :)
Thanks for the patch!
Latest version of lldpd already comes with a "status" command for the
init script. The version targeted for the next version of Debian will
have this fixed. We cannot modify things in stable unless the bug is
important. You can also use the version in backports. Or just keep your
modified init.d which seems fine.
--
printk("Cool stuff's happening!\n")
2.4.3 linux/fs/jffs/intrep.c
pgpM2dPzjqw5u.pgp
Description: PGP signature
--- End Message ---