Your message dated Tue, 06 Aug 2019 00:17:28 +0000 with message-id <[email protected]> and subject line Bug#922616: fixed in fetchmail 6.4.0~rc1-1 has caused the Debian Bug report #922616, regarding fetchmail: init.d script has typo that breaks labelling for SE Linux 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.) -- 922616: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922616 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: fetchmail Version: 6.4.0~beta4-3 Severity: normal Tags: patch I think this patch is self-explanatiory. --- /etc/init.d/fetchmail.orig 2019-02-19 00:03:36.763871514 +1100 +++ /etc/init.d/fetchmail 2019-02-19 00:03:50.483952018 +1100 @@ -103,7 +103,7 @@ mkdir /var/run/fetchmail chown -h $USER:nogroup /var/run/fetchmail chmod 700 /var/run/fetchmail - [ -x /sbin/restorecon ] && /sbin/restorecon /var/lib/fetchmail + [ -x /sbin/restorecon ] && /sbin/restorecon /var/run/fetchmail fi # sanity check -- System Information: Debian Release: buster/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Enforcing - Policy name: default Versions of packages fetchmail depends on: ii adduser 3.118 ii debianutils 4.8.6.1 ii libc6 2.28-6 ii libcom-err2 1.44.5-1 ii libgssapi-krb5-2 1.17-1 ii libk5crypto3 1.17-1 ii libkrb5-3 1.17-1 ii libssl1.1 1.1.1a-1 ii lsb-base 10.2018112800 Versions of packages fetchmail recommends: ii ca-certificates 20190110 Versions of packages fetchmail suggests: pn fetchmailconf <none> ii postfix [mail-transport-agent] 3.3.2-1+b1 pn resolvconf <none> -- Configuration Files: /etc/default/fetchmail changed: START_DAEMON=yes /etc/init.d/fetchmail changed: set -e PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/fetchmail USER=fetchmail OPTIONS="" CONFFILE="/etc/fetchmailrc" PIDFILE="/var/run/fetchmail/fetchmail.pid" UIDL="/var/lib/fetchmail/.fetchmail-UIDL-cache" START_DAEMON="no" . /lib/lsb/init-functions if [ -r /etc/default/fetchmail ]; then . /etc/default/fetchmail fi OPTIONS="$OPTIONS -f $CONFFILE --pidfile $PIDFILE" if [ ! "x$START_DAEMON" = "xyes" -a ! "$1" = "status" ]; then log_action_msg "Not starting fetchmail daemon, disabled via /etc/default/fetchmail" exit 0 fi if [ ! -e $CONFFILE ]; then log_failure_msg "$CONFFILE not found." log_failure_msg "can not start fetchmail daemon... consider disabling the script" exit 6 fi test -f $DAEMON || exit 0 if [ "$1" = "start" ]; then if [ ! -r $CONFFILE ] ; then log_failure_msg "$CONFFILE found but not readable." exit 0 fi fi if ! id $USER >/dev/null 2>&1; then if [ "$USER" = "fetchmail" ]; then # The fetchmail user might have been removed when the fetchmail-common # package is purged. We have to re-add it here so the system-wide # daemon will run. adduser --system --ingroup nogroup --home /var/lib/fetchmail \ --shell /bin/sh --disabled-password fetchmail >/dev/null 2>&1 || true # work around possible adduser bug, see #119366 [ -d /var/lib/fetchmail ] || mkdir -p /var/lib/fetchmail chmod 700 /var/lib/fetchmail chown -h -R fetchmail:nogroup /var/lib/fetchmail [ -x /sbin/restorecon ] && /sbin/restorecon /var/lib/fetchmail else log_failure_msg "$0: $USER user does not exist!" exit 1 fi fi if ! grep -qs '^[[:space:]]*set[[:space:]]\+daemon[[:space:]]' "$CONFFILE"; then # Make sure user did not use -d on /etc/default/fetchmail if ! grep -qs -e '^[[:space:]]*OPTIONS=.*-d[[:space:]]*[[:digit:]]\+' "/etc/default/fetchmail"; then OPTIONS="$OPTIONS -d 300" fi fi if ! grep -qs '^[[:space:]]*set[[:space:]]\+no[[:space:]]\+syslog' "$CONFFILE"; then OPTIONS="$OPTIONS --syslog" fi if [ "${PIDFILE%/*}" = "/var/run/fetchmail" ] && [ ! -d ${PIDFILE%/*} ] && [ "$1" != "status" ]; then mkdir /var/run/fetchmail chown -h $USER:nogroup /var/run/fetchmail chmod 700 /var/run/fetchmail [ -x /sbin/restorecon ] && /sbin/restorecon /var/run/fetchmail fi if [ -f $CONFFILE -a "`stat -c '%U %a' $CONFFILE 2>/dev/null`" != "$USER 600" ]; then chown -h $USER $CONFFILE chmod -f 0600 $CONFFILE fi case "$1" in start) if test -e $PIDFILE ; then pid=`cat $PIDFILE | sed -e 's/\s.*//'|head -n1` PIDDIR=/proc/$pid if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then log_failure_msg "fetchmail already started; not starting." exit 0 else log_warning_msg "Removing stale PID file $PIDFILE." rm -f $PIDFILE fi fi log_begin_msg "Starting mail retriever agent:" "fetchmail" if start-stop-daemon -S -o -q -p $PIDFILE -x $DAEMON -u $USER -c $USER -- $OPTIONS; then log_end_msg 0 else log_end_msg 1 exit 1 fi ;; status) status_of_proc $DAEMON fetchmail -p $PIDFILE ;; stop) if ! test -e $PIDFILE ; then log_failure_msg "Pidfile not found! Is fetchmail running?" exit 0 fi log_begin_msg "Stopping mail retriever agent:" "fetchmail" if start-stop-daemon -K -o -q -p $PIDFILE -x $DAEMON -u $USER; then log_end_msg 0 else log_end_msg 1 exit 1 fi ;; force-reload|restart) log_begin_msg "Restarting mail retriever agent:" "fetchmail" if ! start-stop-daemon -K -o -q -p $PIDFILE -x $DAEMON -u $USER; then log_end_msg 1 exit 1 fi sleep 1 if start-stop-daemon -S -q -p $PIDFILE -x $DAEMON -u $USER -c $USER -- $OPTIONS; then log_end_msg 0 else log_end_msg 1 exit 1 fi ;; try-restart) if test -e $PIDFILE ; then pid=`cat $PIDFILE | sed -e 's/\s.*//'|head -n1` PIDDIR=/proc/$pid if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then $0 restart exit 0 fi fi test -f /etc/rc`/sbin/runlevel | cut -d' ' -f2`.d/S*fetchmail* && $0 start ;; awaken) log_begin_msg "Awakening mail retriever agent:" "fetchmail" if [ -s $PIDFILE ]; then start-stop-daemon -K -s 10 -q -p $PIDFILE -x $DAEMON log_end_msg 0 exit 0 else log_end_msg 1 exit 1 fi ;; debug-run) echo "$0: Initiating debug run of system-wide fetchmail service..." 1>&2 echo "$0: script will be run in debug mode, all output to forced to" 1>&2 echo "$0: stdout. This is not enough to debug failures that only" 1>&2 echo "$0: happen in daemon mode." 1>&2 echo "$0: You might want to direct output to a file, and tail -f it." 1>&2 if [ "$2" = "strace" ]; then echo "$0: (running debug mode under strace. See strace(1) for options)" 1>&2 echo "$0: WARNING: strace output may contain security-sensitive info, such as" 1>&2 echo "$0: passwords; please clobber them before sending the strace file to a" 1>&2 echo "$0: public bug tracking system, such as Debian's." 1>&2 fi echo "$0: Stopping the service..." 1>&2 "$0" stop echo "$0: exit status of service stop was: $?" echo "$0: RUNUSER is $USER" echo "$0: OPTIONS would be $OPTIONS" echo "$0: Starting service in nodetach mode, hit ^C (SIGINT/intr) to finish run..." 1>&2 if [ "$2" = "strace" ] ; then shift shift [ $# -ne 0 ] && echo "$0: (strace options are: -tt $@)" 1>&2 su -s /bin/sh -c "/usr/bin/strace -tt $* $DAEMON $OPTIONS --nosyslog --nodetach -v -v" $USER <&- 2>&1 else su -s /bin/sh -c "$DAEMON $OPTIONS --nosyslog --nodetach -v -v" $USER <&- 2>&1 fi echo "$0: End of service run. Exit status was: $?" exit 0 ;; *) log_warning_msg "Usage: /etc/init.d/fetchmail {start|stop|restart|force-reload|awaken|debug-run}" log_warning_msg " start - starts system-wide fetchmail service" log_warning_msg " stop - stops system-wide fetchmail service" log_warning_msg " restart, force-reload - starts a new system-wide fetchmail service" log_warning_msg " awaken - tell system-wide fetchmail to start a poll cycle immediately" log_warning_msg " debug-run [strace [strace options...]] - start a debug run of the" log_warning_msg " system-wide fetchmail service, optionally running it under strace" exit 1 ;; esac exit 0 -- no debconf information
--- End Message ---
--- Begin Message ---Source: fetchmail Source-Version: 6.4.0~rc1-1 We believe that the bug you reported is fixed in the latest version of fetchmail, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated fetchmail package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 05 Aug 2019 22:35:46 +0000 Source: fetchmail Architecture: source Version: 6.4.0~rc1-1 Distribution: unstable Urgency: medium Maintainer: Laszlo Boszormenyi (GCS) <[email protected]> Changed-By: Laszlo Boszormenyi (GCS) <[email protected]> Closes: 831611 922616 926743 928916 Changes: fetchmail (6.4.0~rc1-1) unstable; urgency=medium . * New major upstream RC release: - set umask properly before writing the .fetchids file (closes: #831611), - fix clang null pointer checks to prevent potential segfaults. * Backport fix to no longer reports System error during SSL_connect(): Success (closes: #928916). * Sync with Ubuntu. . [ nick black <[email protected]> ] * Use full path for invoke-rc.d (closes: #926743). . [ Russell Coker <[email protected]> ] * Fix init.d script typo that breaks labelling for SE Linux (closes: #922616). . [ Bryce Harrington <[email protected]> ] * TLS: set hostname for SNI. Checksums-Sha1: 8b4fc40b68d6e74b71aad8dc03d49f5375ccb1df 1915 fetchmail_6.4.0~rc1-1.dsc 8b90cadab39f07a7a0e01b490a0aa141330ab549 1457957 fetchmail_6.4.0~rc1.orig.tar.gz 9c05afbb7154df02f9937b48b3223446cfb37cf5 53516 fetchmail_6.4.0~rc1-1.debian.tar.xz Checksums-Sha256: 2a0401bcecbe718292e088eba56aeb5bb1715b723d9dd5256f02deb9e4f1da37 1915 fetchmail_6.4.0~rc1-1.dsc c39efefa71704147444e66b6d77be929cae93b00213256b39df96181db90bb33 1457957 fetchmail_6.4.0~rc1.orig.tar.gz 1e337751e014e57cc833b8da40caa68edb7d55bd654b409bcd1fd98a05a0c698 53516 fetchmail_6.4.0~rc1-1.debian.tar.xz Files: 1a10a4ee7f70b3b15ef54abe2fc12cd7 1915 mail optional fetchmail_6.4.0~rc1-1.dsc 3dae1a8c50568c4220c6e0a3f5ac227b 1457957 mail optional fetchmail_6.4.0~rc1.orig.tar.gz 39bf85a5ade2ec53827a3d50202e1363 53516 mail optional fetchmail_6.4.0~rc1-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAl1IvTAACgkQ3OMQ54ZM yL+AFA/+O3+U3v5KvxS54QryJry4BOvPKLsWUy+cR+L1PVFaca65f4+hCCl2zl9v SkKutD+inFTKkzAzP2sFCwuvoA/ftKwjTtHSaBIymsd1DN4AILsD/HKm4wODYFaN h5Bg3VLczwPuskSlU1IMHoi0UKSFXt/UIpqUoLtpI/kbMntmTNk3IMKYqUQ2D9oG zkVxgW4uQT9NMqOzYm+3OaitbZK3sJJn7JLMql9G2mXBuwvjymsoMuEcpzIz5Mbg 1mYuu4rbvg/wX0l/BIkdy7b4nhWKEtqs76z/RedIuQd6HyM8dd3dI8bThzg1o8Wy r6aB4FL6ENRt/30M8yvjyh/4Kve9AGoIXr4abCAAa+HsElKVyHLME5Xuz4onDqgv XIad1Y9SIXMQexMi3rGPX+VnQo/lRaN3dw5gUHLSTEjHyZFcwUch6fHaguTHv0J0 fWETln84Ft92/nTIkKwl52gIWjpCxm3KhcZUQ4wzjQ0RScFTMGV8DVbkVlyAZCYI eeX7qTzfqbJUZrjocG9jRNJvoNqmsDHeCep/0NYs3/2SnIy1TU/qofTZME3+Ht+E nGnew8iCBhYyCuXuKCVCJDjVPpZQH4N0gPch7mQzdGuq5bgwqpBTtiOmPH5ossQ4 SI0Mr4Wdp3j//y+1pl05q+5lwD4K/1b927E7zrrJ5VJ3bPVORJ8= =UOzq -----END PGP SIGNATURE-----
--- End Message ---

