Your message dated Wed, 20 May 2015 13:34:44 +0000
with message-id <[email protected]>
and subject line Bug#782564: fixed in willie 5.3.0-1
has caused the Debian Bug report #782564,
regarding willie: Restarting fails due to missing config
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.)


-- 
782564: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782564
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: willie
Version: 5.2.0-1
Severity: important

Hi,

I just tried running willie, but it seems that the "restart" and "stop"
actions of the init script are broken. These run willie --quit, without
passing $DAEMON_ARGS, which cause the following to happen:

        matthijs@login:~$ sudo invoke-rc.d willie restart
        Restarting willie: willieWelcome to Willie!
        I can't seem to find the configuration file, so let's generate it!

        Please answer the following questions to create your configuration file:

        Enter the nickname for your bot [Willie]:

Checking the process tree confirms that it is stuck while running
--quit:

        matthijs@login:~$ ps aux --forest|grep willie
        root     13081  0.0  0.1  52352  4264 pts/20   S+   10:50   0:00  |   
\_ sudo invoke-rc.d willie restart
        root     13082  0.0  0.0   4308  1548 pts/20   S+   10:50   0:00  |     
  \_ /bin/sh /usr/sbin/invoke-rc.d willie restart
        root     13099  0.0  0.0   4308  1584 pts/20   S+   10:50   0:00  |     
      \_ /bin/sh /etc/init.d/willie restart
        root     13104  0.0  0.0  39512  2860 pts/20   S+   10:50   0:00  |     
          \_ su -s /bin/sh willie -c willie --quit
        willie   13105  0.0  0.0   4308   692 ?        Ss   10:50   0:00  |     
              \_ sh -c willie --quit
        willie   13106  0.1  0.4  59472 17564 ?        S    10:50   0:00  |     
                  \_ /usr/bin/python3 /usr/bin/willie --quit

What seems to happen is that since $DAEMON_ARGS isn't passed, willie
looks in ~/.willie for a config, which doesn't exist, so it prompts to
create a new one. More generally, willie needs to know the config file
when running --quit, since the pidfile location can be modified in the
config.

It seems the simplest fix is to just pass $DAEMON_ARGS to willie --quit?


Gr.

Matthijs


-- System Information:
Debian Release: 7.7
  APT prefers stable
  APT policy: (990, 'stable'), (800, 'testing'), (700, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-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 willie depends on:
ii  adduser              3.113+nmu3
ii  init-system-helpers  1.18~bpo70+1
ii  python3              3.4.2-2
ii  python3-enchant      1.6.5-2
ii  python3-feedparser   5.1.3-3
ii  python3-lxml         3.4.0-1
ii  python3-tz           2012c-1
pn  python3:any          <none>

willie recommends no packages.

willie suggests no packages.

-- debconf-show failed

--- End Message ---
--- Begin Message ---
Source: willie
Source-Version: 5.3.0-1

We believe that the bug you reported is fixed in the latest version of
willie, 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.
Antoine Beaupré <[email protected]> (supplier of updated willie 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: SHA256

Format: 1.8
Date: Wed, 20 May 2015 09:15:41 -0400
Source: willie
Binary: willie
Architecture: source all
Version: 5.3.0-1
Distribution: unstable
Urgency: medium
Maintainer: Antoine Beaupré <[email protected]>
Changed-By: Antoine Beaupré <[email protected]>
Description:
 willie     - simple, lightweight, open source, easy-to-use IRC utility bot
Closes: 782564
Changes:
 willie (5.3.0-1) unstable; urgency=medium
 .
   * fix init.d stop function so that it returns the proper value
     (Closes: #782564)
Checksums-Sha1:
 c174e69dc63b5b2f4528c0965a07fb5f82026d00 1883 willie_5.3.0-1.dsc
 01bc6cb56e7a00e460d69cb99e0eeb224f6cf66b 129652 willie_5.3.0.orig.tar.gz
 321db0bb332118143cb0c00f9660716a3f6c042f 5540 willie_5.3.0-1.debian.tar.xz
 6ff1b251752a247d9b2b215e6dbc27b339ff55a5 102166 willie_5.3.0-1_all.deb
Checksums-Sha256:
 c6c73df79cd824dbc58f782e47b98b204fc37ef258c4feebbc81b9bc49d1b209 1883 
willie_5.3.0-1.dsc
 0f730b65b85e07d0a0b0363818bb2a38e649313a9e868f403c837101b2917d46 129652 
willie_5.3.0.orig.tar.gz
 c170e7bf8981a4edbaaa80e525754de4d089009295020d93eca004c1a12bc89b 5540 
willie_5.3.0-1.debian.tar.xz
 251e3f3e7096a64f373bf6c8cfd3b348c331486874f4d6897c241baaea23727a 102166 
willie_5.3.0-1_all.deb
Files:
 4c583f1937444cd24ef0ce73779531ab 1883 net optional willie_5.3.0-1.dsc
 220ee40bb62e1edc38273251974aaaae 129652 net optional willie_5.3.0.orig.tar.gz
 c9de5dcf78c2be99cb4a1b76a6c62054 5540 net optional willie_5.3.0-1.debian.tar.xz
 74f7a6296ee89892cbe2570570053814 102166 net optional willie_5.3.0-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVXIpwAAoJEHkhUlJ7dZIeWSkP/26e/w2cZKtZkAkb4OgAjbc1
R2ZU/NPqJKjy+S+uTSj1I861e1wvzjf82yGLFXEHBZCYV1/2YfPWToGKP8x6T7Ln
cz8yLZWEmjx2jNlRw7o6CNIxhctUTIP7OTxDnb1nWVf5FAduY1EAzB8mBcsuq0PO
zM33QNo2ZfRkyh91gkMfBnwZ02JPfm9Vk0pU8hFPow+lF0rWXSu72k0UDVbt5XHL
d3+4KSbgjJhN07jOO/XTmcEmMlvxbzAkP4Y7d4ExFmj2VNUksag9cDBWGMvrt0DT
pWiq7pfizrNr0VP5RlONYDSWbYNzoolX+ywVkAgH4yNmD3P2WcTye9PSbBilWKR3
r8oK4TDxRKt56IK0aeH9ELiqPH+OK+f/3ftU0SYRZaYt93p4DfPQ42Oo1YLk75dD
e2SpFLQu8+Arul9hlqPK+t9hUjOmRWISpG+auMoCQ43ERfBo21hvWRvezf71dhUk
jGOnEkqYwCqyYO2i3Jzf7kZK+q2KDM5ULBCWrMXfVhzle1ob+c16vKflDj5YTVt8
8Y25D2UsA/QTR/xr9SjEQScSxus/URftwn/wwrTlIGPzg+txfELB1Ws7aPNA5WCn
P3Ri6M4dIf++e0IbAWHe4uYcSwtfVg4blh+YYKHI3uWjK9NrqV8cRG4QjqE3Ux8A
/CMZ4+/WLqpPUdmQBFZN
=lwdZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to