Bug#476126: hplip: postrm attempts to remove group scanner unconditionally

View: New views
6 Messages — Rating Filter:   Alert me  

Bug#476126: hplip: postrm attempts to remove group scanner unconditionally

by Julien BLACHE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Package: hplip
Severity: important

Hi,

When purged, the hplip postrm attempts to remove the scanner group, and this
in an unconditional manner.

Please do not do this and let libsane handle the scanner group.

Thanks,

JB.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.3 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                     3.107        add and remove users and groups
ii  coreutils                   6.10-6       The GNU core utilities
ii  cupsys                      1.3.7-1      Common UNIX Printing System(tm) -
pn  hplip-data                  <none>       (no description available)
ii  libc6                       2.7-10       GNU C Library: Shared libraries
ii  libcupsys2                  1.3.7-1      Common UNIX Printing System(tm) -
ii  libjpeg62                   6b-14        The Independent JPEG Group's JPEG
ii  libsane                     1.0.19-4     API library for scanners
ii  libsnmp15                   5.4.1~dfsg-6 SNMP (Simple Network Management Pr
ii  libssl0.9.8                 0.9.8g-8     SSL shared libraries
ii  libusb-0.1-4                2:0.1.12-10  userspace USB programming library
ii  lsb-base                    3.2-7        Linux Standard Base 3.2 init scrip
ii  python                      2.4.4-6      An interactive high-level object-o
ii  python-support              0.7.7        automated rebuilding support for P

Versions of packages hplip recommends:
ii  cupsys-client                 1.3.7-1    Common UNIX Printing System(tm) -
pn  hpijs                         <none>     (no description available)
pn  hpijs-ppds                    <none>     (no description available)
pn  hplip-gui                     <none>     (no description available)
pn  openprinting-ppds             <none>     (no description available)
pn  python-reportlab              <none>     (no description available)




--
To UNSUBSCRIBE, email to debian-printing-request@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#476126: Bug:#476126 hplip: postrm attempts to remove group scanner unconditionally

by Mark Purcell-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 15 Apr 2008, Julien BLACHE wrote:
> When purged, the hplip postrm attempts to remove the scanner group, and
> this in an unconditional manner.
>
> Please do not do this and let libsane handle the scanner group.

Julien,

Sorry about the delay, yes I agree this would be good to resolve before lenny.

hplip also checks for the scanner group and adds it if necessary.  But hplip
also depends on libsane.

Is hplip able to rely on libsane to add and remove the scanner group as
required?

Looking through launchpad[1] I see that they are now using HAL rather than the
scanner group for access.  Is that relevant to debian?

Till. Can you comment at all?

Mark


[1] https://bugs.launchpad.net/ubuntu/+source/hal/+bug/195782


signature.asc (196 bytes) Download Attachment

Bug#476126: Bug:#476126 hplip: postrm attempts to remove group scanner unconditionally

by Till Kamppeter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mark Purcell wrote:
> Sorry about the delay, yes I agree this would be good to resolve before lenny.
>
> hplip also checks for the scanner group and adds it if necessary.  But hplip
> also depends on libsane.
>
> Is hplip able to rely on libsane to add and remove the scanner group as
> required?
>

If libsane manages completely that the scanner group exists throughout
the whole presence of libsane, HPLIP does not need to take care of the
group. If libsane does so only from a given version on, then make the
dependency in HPLIP versioned.

> Looking through launchpad[1] I see that they are now using HAL rather than the
> scanner group for access.  Is that relevant to debian?
>

I do not know whether Debian switched to HAL, too. If so, one could drop
the scanner group even in libsane. In general I would keep the scanner
group, so that the admin can add (trusted) users to the group scanner if
they want to scan from an ssh login or if the machine provides desktops
to remote machines through tools like VNC or NX.

    Till




--
To UNSUBSCRIBE, email to debian-printing-request@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#476126: Bug:#476126 hplip: postrm attempts to remove group scanner unconditionally

by Julien BLACHE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mark Purcell <msp@...> wrote:

Hi,

> Is hplip able to rely on libsane to add and remove the scanner group as
> required?

Yes, absolutely. libsane has been using (and creating) the scanner
group for years now.

Also, when you create users and/or groups, you never ever remove them
with the package. Users and groups must remain on the system even
after the package has been purged.

> Looking through launchpad[1] I see that they are now using HAL rather than the
> scanner group for access.  Is that relevant to debian?

I provide the HAL fdi file in Debian too, but HAL is not mandatory and
libsane still ships udev rules and will continue to do so.

JB.

--
 Julien BLACHE <jblache@...>  |  Debian, because code matters more
 Debian & GNU/Linux Developer        |       <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169




--
To UNSUBSCRIBE, email to debian-printing-request@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#476126: Bug:#476126 hplip: postrm attempts to remove group scanner unconditionally

by Mark Purcell-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 3 Jun 2008, Julien BLACHE wrote:
> > Is hplip able to rely on libsane to add and remove the scanner group as
> > required?
>
> Yes, absolutely. libsane has been using (and creating) the scanner
> group for years now.

Great,  I'll remove all hplip touching the scanner group from post{inst,rm}
then and defer all actions to libsane.

Mark


signature.asc (196 bytes) Download Attachment

Bug#476126: marked as done (hplip: postrm attempts to remove group scanner unconditionally)

by Debian Bug Tracking System :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Your message dated Thu, 3 Jul 2008 18:42:42 +1000
with message-id <200807031842.51294.msp@...>
and subject line Fixed IN VERSION 2.8.6-1
has caused the Debian Bug report #476126,
regarding hplip: postrm attempts to remove group scanner unconditionally
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 owner@...
immediately.)


--
476126: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476126
Debian Bug Tracking System
Contact owner@... with problems

Package: hplip
Severity: important

Hi,

When purged, the hplip postrm attempts to remove the scanner group, and this
in an unconditional manner.

Please do not do this and let libsane handle the scanner group.

Thanks,

JB.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.3 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                     3.107        add and remove users and groups
ii  coreutils                   6.10-6       The GNU core utilities
ii  cupsys                      1.3.7-1      Common UNIX Printing System(tm) -
pn  hplip-data                  <none>       (no description available)
ii  libc6                       2.7-10       GNU C Library: Shared libraries
ii  libcupsys2                  1.3.7-1      Common UNIX Printing System(tm) -
ii  libjpeg62                   6b-14        The Independent JPEG Group's JPEG
ii  libsane                     1.0.19-4     API library for scanners
ii  libsnmp15                   5.4.1~dfsg-6 SNMP (Simple Network Management Pr
ii  libssl0.9.8                 0.9.8g-8     SSL shared libraries
ii  libusb-0.1-4                2:0.1.12-10  userspace USB programming library
ii  lsb-base                    3.2-7        Linux Standard Base 3.2 init scrip
ii  python                      2.4.4-6      An interactive high-level object-o
ii  python-support              0.7.7        automated rebuilding support for P

Versions of packages hplip recommends:
ii  cupsys-client                 1.3.7-1    Common UNIX Printing System(tm) -
pn  hpijs                         <none>     (no description available)
pn  hpijs-ppds                    <none>     (no description available)
pn  hplip-gui                     <none>     (no description available)
pn  openprinting-ppds             <none>     (no description available)
pn  python-reportlab              <none>     (no description available)



Package: hplip
Version: 2.8.6-1

hplip (2.8.6-1) unstable; urgency=low

  * New upstream release
  * /usr/share/bug: run hp-check & refer inital reports to upstream LP
  * Refresh: debian/patches/87_move_documentation.dpatch
           - hp_photosmart_pro_b9100_support.dpatch
  * Fixed upstream: systray_applet_really_in_tray.dpatch
  * Remove obsolete Depends: for gs and friends

 -- Mark Purcell <msp@...>  Sun, 22 Jun 2008 18:50:45 +1000

hplip (2.8.5-2ubuntu1) intrepid; urgency=low

  * Sync new upstream release from Debian.
    WARNING: There were major changes applied to the hp-toolbox which
    introduced new bugs. Please test the toolbox and report any problem
    as soon as possible to the upstream bug tracker
    http://launchpad.net/hplip/ to get the problems fixed in the next
    upstream release (there will be one or two before Intrepid Feature
    Freeze).

  [ Mark Purcell ]
  * Stop hplip.post{rm,inst} playing with scanner group - libsane does
    and do not delete hplip user on purge:
    - postrm attempts to remove group scanner unconditionally (Closes:
    #476126)


signature.asc (204 bytes) Download Attachment