Bug#931920: freeradius: Init script does not stop daemon
Package: freeradius Version: 3.0.17+dfsg-1.1 Severity: normal Dear Maintainer, The program path is not set in init script when invoking killproc, which is requiered by the LSB spec. Therefore, a "/etc/init.d/freeradius stop" does not stop the daemon as intended (at least, when using sysvinit). Modified init script is included in the bug report. Regards, -- System Information: Debian Release: 10.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: sysvinit (via /sbin/init) Versions of packages freeradius depends on: ii freeradius-common 3.0.17+dfsg-1.1 ii freeradius-config 3.0.17+dfsg-1.1 ii libc6 2.28-10 ii libcap21:2.25-2 ii libct4 1.00.104-1 ii libfreeradius3 3.0.17+dfsg-1.1 ii libgdbm6 1.18.1-4 ii libpam0g 1.3.1-5 ii libpcre3 2:8.39-12 ii libperl5.285.28.1-6 ii libreadline7 7.0-5 ii libsqlite3-0 3.27.2-3 ii libssl1.1 1.1.1c-1 ii libtalloc2 2.1.14-2 ii libwbclient0 2:4.9.5+dfsg-5 ii lsb-base 10.2019051400 Versions of packages freeradius recommends: ii freeradius-utils 3.0.17+dfsg-1.1 Versions of packages freeradius suggests: pn freeradius-krb5 pn freeradius-ldap pn freeradius-mysql pn freeradius-postgresql pn freeradius-python2 ii snmp 5.7.3+dfsg-5 -- Configuration Files: /etc/init.d/freeradius changed: PROG="freeradius" PROGRAM="/usr/sbin/freeradius" PIDFILE="/var/run/freeradius/freeradius.pid" DESCR="FreeRADIUS daemon" set -e . /lib/lsb/init-functions configtest() { log_action_begin_msg "Checking $DESCR configuration" out=`$PROGRAM -Cxl stdout $FREERADIUS_OPTIONS`; ret=$? out=`echo "${out}" | tail -n 1 | sed 's/^\s*ERROR:\s*\(.*\)\s*$/\1/'` log_action_end_msg $ret "$out" return $ret } if [ -r /etc/default/$PROG ]; then . /etc/default/$PROG fi test -f $PROGRAM || exit 0 if [ ! -d /var/run/freeradius ]; then mkdir -p /var/run/freeradius chown freerad:freerad /var/run/freeradius fi if [ -d "$FREERADIUS_CONF_LOCAL" -a -z "$FREERADIUS_OPTIONS" ]; then FREERADIUS_OPTIONS="-d $FREERADIUS_CONF_LOCAL" fi export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" ret=0 case "$1" in start) log_daemon_msg "Starting $DESCR" "$PROG" # eval allows quoted arguments (config directories for example) to be passed in $FREERADIUS_OPTIONS eval "start_daemon -p '$PIDFILE' '$PROGRAM' $FREERADIUS_OPTIONS" || ret=$? log_end_msg $ret ;; stop) log_daemon_msg "Stopping $DESCR" "$PROG" killproc -p "$PIDFILE" "$PROGRAM" || ret=$? log_end_msg $ret ;; restart|force-reload) configtest || exit 150 $0 stop $0 start ;; reload) configtest || exit 150 if status_of_proc -p "$PIDFILE" "$PROG" "$DESCR"; then log_daemon_msg "Reloading $DESCR" "$PROG" start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE || ret=$? log_end_msg $ret fi ;; configtest|testconfig) configtest || exit 150 ;; debug) $0 status if [ $? -eq 0 ]; then echo "$PROGRAM already running; for live debugging see raddebug(8)" exit 151 fi $PROGRAM -X $FREERADIUS_OPTIONS || exit $? ;; debug-threaded) $0 status if [ $? -eq 0 ]; then echo "$PROGRAM already running; for live debugging see raddebug(8)" exit 151 fi $PROGRAM -f -xx -l stdout $FREERADIUS_OPTIONS || exit $? ;; status) status_of_proc -p "$PIDFILE" "$PROGRAM" "$PROG" && exit 0 || exit $? ;; *) echo "Usage: $0 start|stop|restart|force-reload|reload|configtest|debug|debug-threaded|status" exit 1 ;; esac exit $ret -- no debconf information
Bug#874467: Debian mirror mirrors.ircam.fr: tracefile info, syncscript
Le lundi 18 septembre 2017 08:06:24, vous avez écrit : > Is your sync process doing two stages? All of pool and most of /dist > can be done in the first stage, with the remaining stuff and removals > handled in the second stage. > > (Apt is not very good at dealing with inconsistent archives) Not in same way ftpsync does : we use --delete-after --delay-updates options in rsync. It should have the same effect than running 2 rsyncs : downloaded files are kept hidden during transfert so they are not served to apt, no files are modified or deleted until all is downloaded. Le lundi 18 septembre 2017 08:07:36, vous avez écrit : > Also, you seem to remove your tracefile during mirror runs. You might > want to protect it. Yes, it was in config. We removed the pre-command now to protect it. > Furthermore, we recommend mirrors not sync directly from service aliases > such as ftp..debian.org (only http is guaranteed to be available at > ftp..d.o sites). Maybe change your config to sync from the site > currently backing the ftp..debian.org service you sync from? Alright, we change to use eu syncproxy. It should be good at next sync. -- Benjamin Boudoir Administrateur Système
Bug#874467: Debian mirror mirrors.ircam.fr: tracefile info, syncscript
Hi, Le mercredi 6 septembre 2017 11:15:00, vous avez écrit : > Package: mirrors > User: mirr...@packages.debian.org > Usertags: mirror-problem may-auto-close > > Hi, > > I was checking some things in the Debian mirror universe and noticed > a problem with your mirror: > > o Status: > https://mirror-master.debian.org/status/mirror-info/mirrors.ircam.fr.html > > o The trace file at > http://mirrors.ircam.fr/pub/debian/project/trace/mirrors.ircam.fr > does not contain much information. > > Please use our ftpsync script to mirror Debian. > > It should produce better trace files, and do the mirroring in a way that > ensures the mirror is in a consistent state even during updates, > unlike the way the mirror is currently being updated. > > http://ftp.debian.org/debian/project/ftpsync/ftpsync-current.tar.gz For practical reasons, we cannot use Debian's ftpsync for now, but we updated our script configuration to produces compatibles traces, status page seems happier now. Let us know if we can do anything else. Regards, -- Benjamin Boudoir Administrateur Système
Bug#695206: lsyncd: --exclude-file documented in man page but is an unrecognized option
Package: lsyncd Version: 1.34-1 Severity: normal The manpages indicates an option "--exclude-file" but the binary doesn't recongnized it : # man lsyncd | grep -C1 'exclude-file' SYNOPSIS lsyncd [--binary FILE] [--conf FILE] [--debug] [--delay SECS] [--dryrun] [--exclude-file FILE] [--logfile FILE] [--no-daemon] [--pidfile FILE] [--scarce] [--stubborn] [source] [target...] -- --exclude-file FILE Exclude file handlet to rsync (DEFAULT: None). # /usr/bin/lsyncd --conf /etc/lsyncd.conf --dryrun --exclude-file /etc/lsyncd.conf.exclude /usr/bin/lsyncd: unrecognized option '--exclude-file' -- System Information: Debian Release: 6.0.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lsyncd depends on: ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib ii libxml22.7.8.dfsg-2+squeeze6 GNOME XML library ii rsync 3.0.7-2 fast remote file copy program (lik lsyncd recommends no packages. lsyncd suggests no packages. -- 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