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

Bug#1071079: ipp-usb: Systemd service cannot be enabled manually



Package: ipp-usb
Version: 0.9.23-1+b4
Severity: normal

Dear Maintainer,

I am running ipp-usb in a LXC container, with USB passthrough.

When starting the systemd service "ipp-usb.service" manually, everything
works fine, the printer is detected and exported over the network.

However, "ipp-usb.service" does not start automatically when booting the LXC
container.  It seems that the service is supposed to be started automatically through udev.
But udev on this system does not define ID_USB_INTERFACES, so the udev rule shipped with
ipp-usb does not match and thus does not start the service.

It is somewhat a cornercase, but I would like to be able to enable the service regardless,
and this is currently not possible:

    # systemctl enable ipp-usb.service
    The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
    Alias= settings in the [Install] section, and DefaultInstance= for template
    units). This means they are not meant to be enabled using systemctl.
 
Would it be possible to add the missing bits to the systemd service so that it
can be enabled?  Something like the following:

    [Install]
    WantedBy=multi-user.target

Thanks,
Baptiste


-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-0.deb10.28-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ipp-usb depends on:
ii  avahi-daemon      0.8-10
ii  libavahi-client3  0.8-10
ii  libavahi-common3  0.8-10
ii  libc6             2.36-9+deb12u7
ii  libusb-1.0-0      2:1.0.26-1

ipp-usb recommends no packages.

ipp-usb suggests no packages.

-- Configuration Files:
/etc/ipp-usb/ipp-usb.conf changed [not included]

-- no debconf information


Reply to: