[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#422781: marked as done (/etc/init.d/hplip: sleeps for 2 seconds after stopping each daemon)



Your message dated Mon, 03 Dec 2007 18:10:10 -0800
with message-id <[🔎] 4754B702.1070702@freedesktop.org>
and subject line Bug#422781: Fwd: Accepted hplip 2.7.10-2 (source i386 all)
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: hplip
Version: 1.6.10-4
Severity: normal
File: /etc/init.d/hplip

/etc/init.d/hplip contains:
stop_daemon() {
[...]
        if start-stop-daemon --stop --quiet --pidfile ${PIDFILE} \
                --retry 10 --name ${PROCNAME} \
                >/dev/null 2>&1 ; then
                        # success
                        DIDSOMETHING=1
                        # FIXME: change hpiod so that this is not necessary
                        sleep 2
[...]

The script later calls stop_daemon once for each of the two daemons in hplip.

Documenting this in a bugreport so it does not get lost as a perpetual FIXME.

Does hpiod still need this?  If not, removing it would cut 4 seconds off of
shutdown time.

Even if hpiod still requires this sleep, restructuring the init script
shutdown code to only sleep for hpiod and not for hpssd would cut 2 seconds
off of shutdown time.

- Josh Triplett

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-josh (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                       3.102      Add and remove users and groups
ii  coreutils                     5.97-5.3   The GNU core utilities
ii  cupsys                        1.2.7-4    Common UNIX Printing System(tm) - 
ii  hplip-data                    1.6.10-4   HP Linux Printing and Imaging - da
ii  libc6                         2.5-7      GNU C Library: Shared libraries
ii  libcupsys2                    1.2.7-4    Common UNIX Printing System(tm) - 
ii  libgcc1                       1:4.1.2-6  GCC support library
ii  libsnmp10                     5.3.1-5    NET SNMP (Simple Network Managemen
ii  libssl0.9.8                   0.9.8e-4   SSL shared libraries
ii  libstdc++6                    4.1.2-6    The GNU Standard C++ Library v3
ii  libusb-0.1-4                  2:0.1.12-7 userspace USB programming library
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip
ii  python                        2.4.4-3    An interactive high-level object-o
ii  python-qt3                    3.16-1.2   Qt3 bindings for Python
ii  python-support                0.6.3      automated rebuilding support for p

Versions of packages hplip recommends:
ii  cupsys-client            1.2.7-4         Common UNIX Printing System(tm) - 
ii  hpijs                    2.6.10+1.6.10-4 HP Linux Printing and Imaging - gs
ii  hpijs-ppds               2.6.10+1.6.10-4 HP Linux Printing and Imaging - HP
ii  linuxprinting.org-ppds   20061031-1      linuxprinting.org printer support 
ii  python-reportlab         2.0dfsg-1       ReportLab library to create PDF do

-- no debconf information


--- End Message ---
--- Begin Message ---
Mark Purcell wrote:
> At once stage you submitted a bug report against hplip, and in some cases that 
> was for very old versions (0.8, 0.9, 1.6).
> 
> hplip 2.7.10 has now been uploaded to Debian unstable.
> 
> Could I ask you to verify that you are still having your reported problem with 
> the latest version of hplip.
> 
> If you feel the issue has been resolved, could you please forward a short note 
> to xxxx-done@bugs.debian.org outlining that the issue has been resolved.

Since the init script no longer exists, I don't think this bug does either.

- Josh Triplett


Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: