Your message dated Fri, 19 Jul 2024 05:18:58 +0000
with message-id <[email protected]>
and subject line Bug#1074495: fixed in greetd 0.10.3-1
has caused the Debian Bug report #1074495,
regarding Greetd init.d file
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.)


-- 
1074495: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074495
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: greetd
Version: 0.10.0-1
Severity: wishlist

Greetd does not include an init script, forcing the use of SystemD.  The
attached script seems to work for me, please consider including it with
the Debian package for greetd.

Thanks.

#!/bin/sh

### BEGIN INIT INFO
# Provides:          greetd
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: The greetd login manager
### END INIT INFO

set -e

DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager

PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/sbin/greetd
PIDFILE=/var/run/greetd.pid

test -x $DAEMON || exit 0

. /lib/lsb/init-functions

SSD_START_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --startas $DAEMON"
SSD_STOP_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --retry 
TERM/5/TERM/5"

case "$1" in
  start)
    if [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] &&
       [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
      echo "Not starting greetd; it is not the default" \
        "display manager."
    else
      log_daemon_msg "Starting greetd" "greetd"
      start-stop-daemon --start --quiet $SSD_START_ARGS \
        || log_progress_msg "already running"
      log_end_msg 0
    fi
  ;;

  restart)
    /etc/init.d/greetd stop
    [ -f $PIDFILE ] && exit 1
    /etc/init.d/greetd start
  ;;

  force-reload)
    /etc/init.d/greetd restart
  ;;

  stop)
    log_daemon_msg "Stopping greetd" "greetd"
    if ! [ -f $PIDFILE ]; then
      log_progress_msg "not running ($PIDFILE not found)"
    else
      start-stop-daemon --stop --quiet $SSD_STOP_ARGS
      SSD_RES=$?
      if [ $SSD_RES -eq 1 ]; then
        log_progress_msg "not running"
      fi
      if [ $SSD_RES -eq 2 ]; then
        log_progress_msg "not responding to TERM signals"
      else
        if [ -f $PIDFILE ]; then
          log_progress_msg "(removing stale $PIDFILE)"
          rm $PIDFILE
        fi
      fi
    fi
    log_end_msg 0
  ;;

  *)
    echo "Usage: /etc/init.d/greetd {start|stop|restart|force-reload}"
    exit 1
    ;;
esac

exit 0

--- End Message ---
--- Begin Message ---
Source: greetd
Source-Version: 0.10.3-1
Done: Marc Dequènes (Duck) <[email protected]>

We believe that the bug you reported is fixed in the latest version of
greetd, 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.
Marc Dequènes (Duck) <[email protected]> (supplier of updated greetd 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: Fri, 19 Jul 2024 14:09:19 +0900
Source: greetd
Architecture: source
Version: 0.10.3-1
Distribution: unstable
Urgency: medium
Maintainer: Marc Dequènes (Duck) <[email protected]>
Changed-By: Marc Dequènes (Duck) <[email protected]>
Closes: 1073602 1074495
Changes:
 greetd (0.10.3-1) unstable; urgency=medium
 .
   * NUR.
   * Update paths for the /usr-move (DEP17) transition
     (Closes: #1073602).
   * Add init script kindly provided by Juliusz Chroboczek (Closes:
     #1074495).
   * Add missing misc:Pre-Depends.
Checksums-Sha1:
 5c5057354621b1c8167e76aca76fac49e589fc10 2212 greetd_0.10.3-1.dsc
 bd7e2cf3a2bc78474e79d77e391dd5335ccb4ecc 49908 greetd_0.10.3.orig.tar.gz
 ecfbb773f9bd96adb4be57d68e07a651890ad1d5 5904 greetd_0.10.3-1.debian.tar.xz
 be503fa935ddbced0f5a18c70ca732c0ca2da12d 13418 greetd_0.10.3-1_amd64.buildinfo
Checksums-Sha256:
 93da2640e2fe8a87dd82c42940ad2a8166665d05857512be143c24dfd8f253cb 2212 
greetd_0.10.3-1.dsc
 ee5cb70e0add4ca9c9fe57e47581ab0002d44c07743fb5492469f3b570db640b 49908 
greetd_0.10.3.orig.tar.gz
 a22b3b1daeaaa36e0e9201d6b696715c7b28d2d4ac1db20233a415a2a4225699 5904 
greetd_0.10.3-1.debian.tar.xz
 527276bf0ebafc7ce3e0d63b525a1244061fe24ef4d2e6a03b42a42a121f7c58 13418 
greetd_0.10.3-1_amd64.buildinfo
Files:
 a97455b7c031775d3ca37f2c2bc59f22 2212 misc optional greetd_0.10.3-1.dsc
 72ed0ce68d0cd22911d486e4e407c733 49908 misc optional greetd_0.10.3.orig.tar.gz
 5e84876db24b6b08560c2921cbd2a8e1 5904 misc optional 
greetd_0.10.3-1.debian.tar.xz
 3d0061b7e9663c898d8d14692dbefe7f 13418 misc optional 
greetd_0.10.3-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcpcqg+UmRT3yiF+BVen596wcRD8FAmaZ9hIACgkQVen596wc
RD+AuA//QF8C1fA+mLMzTreiKE4Xse3bMPWLWE2Mqugi3Ut554/pTdn0TTKjvXtH
F5ctZEJsgxeUn8vClvJ5nemOZMGmsRTPJx9nCbKHAPMut5vm97e2coc2ZNMOVGJ5
pCjPanAl36uq4UvUVyu88/Lp+kzx99S2cs1pvui8qkOEZBXrlLe+JacY1fK+Jp3t
Cv19/NsQzoaGJ9gdrKgTzxHB1m6MBVOFDOYL+xLqNDmDAXa9VwG81m6i3YEmx2KY
MasGhzgEdYLOJw1HcsBqf6HXy+0Qn5dSnS8VHbEk1vptcarkfS3BuciTiHmEUs+N
wE5gVWoO10yCw5ZfwLIwOLswujqbekb3ptkD7+6jHA+bnIT6Lm5cQxcCw9G4j8+h
ELjzEdbvdGB0ZDy3M6Uz2CKDSo5WLuxkiRRUcyte7zFFI/61k5am+pdYrI8WOiP8
Nt3bUFFq1XvqrbLO/w8HFhdWdfNBUGRLd6yAiLISOl4CcJRsExg9MlWNoWWugE6U
swrDij3+iQL5l+PeC/a/HrJhersgB9eCUsZeQSOV7IYMGvAMOKIvqeMsjcH/XPrB
92H2kdPlO36vVVKePNxe7cgPl7zBWKUdxYlU/qVfU9vhlECgWVZ+ZqciayARxNF+
wCcQ0b+llRjUpl+jN6qsisOfF39qISTSYUSjTzPaoMYV7MQuyko=
=ITj8
-----END PGP SIGNATURE-----

Attachment: pgpceyprwZprY.pgp
Description: PGP signature


--- End Message ---

Reply via email to