Bug#950520: blueman: Ship blueman-mechanism.service under /lib/systemd/system

2020-05-23 Thread Christopher Schramm

Control: close 950520
Control: fixed 950520 2.1.3-1


I'm not sure if moving '/usr/lib/systemd/user/blueman-applet.service' to
'/lib/systemd/user/blueman-applet.service' is the correct solution here.


No, it's not. It caused #961215 and is thus reverted in 2.1.3-2.


According to the systemd.unit(5) man [1], the user unit search path
contains '/usr/lib/systemd/user/*' but it doesn't contain
'/lib/systemd/user/*'.


The user unit dir gets prefixed with the configured prefix, so it's 
/usr/lib/systemd/user in Debian.



It is worth noting, that according to the manual, '/lib/systemd/system'
seems to be correct location for 'shipped blueman-mechanism.service' (as
'/lib/systemd/system/*' is in system unit search path, while
'/usr/lib/systemd/system/' is not).


The system unit dir gets prefixed with the rootprefix which defaults to 
/ in split /usr systems, so it's /lib/systemd/system in Debian.


However, systemd always looks into /usr/lib/systemd/system (and other 
paths, like /usr/local/lib/systemd/system) as well, so the installation 
path was not a problem.




Bug#950520: blueman: Ship blueman-mechanism.service under /lib/systemd/system

2020-05-22 Thread Tomasz Nitecki
Control: reopen 950520
Control: block 961215 by 950520

Hey,

I'm not sure if moving '/usr/lib/systemd/user/blueman-applet.service' to
'/lib/systemd/user/blueman-applet.service' is the correct solution here.

According to the systemd.unit(5) man [1], the user unit search path
contains '/usr/lib/systemd/user/*' but it doesn't contain
'/lib/systemd/user/*'. On /usr merged systems it will work (thanks to
the symlinked /lib), however it will break non /usr merged systems, as
evidenced by #961215 [2].

It is worth noting, that according to the manual, '/lib/systemd/system'
seems to be correct location for 'shipped blueman-mechanism.service' (as
'/lib/systemd/system/*' is in system unit search path, while
'/usr/lib/systemd/system/' is not).


Regards,
T.

[1] https://manpages.debian.org/stretch/systemd/systemd.unit.5.en.html
[2] https://bugs.debian.org/961215



signature.asc
Description: OpenPGP digital signature


Bug#950520: blueman: Ship blueman-mechanism.service under /lib/systemd/system

2020-02-02 Thread Nicolas Braud-Santoni
Package: blueman
Version: 2.1.1-1+b1
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dear maintainer,

On my system, blueman shipped blueman-mechanism.service to
/usr/lib/systemd/system/ (and is the only package to use that directory)

While systemd does find it, it is a fairly surprising location to find it
in, as unit files are usually shipped to /lib/systemd/system.

Similarly, you ship /usr/lib/systemd/user/blueman-applet.service which
ought to be /lib/systemd/user/blueman-applet.service


Best,

  nicoo

- -- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages blueman depends on:
ii  adwaita-icon-theme3.34.0-2
ii  bluez 5.50-1+b1
ii  bluez-obexd   5.50-1+b1
ii  cinnamon [notification-daemon]4.2.4-2
ii  dbus  1.12.16-2
ii  dbus-user-session [default-dbus-session-bus]  1.12.16-2
ii  dconf-gsettings-backend [gsettings-backend]   0.34.0-2
ii  gir1.2-appindicator3-0.1  0.4.92-7
ii  gir1.2-gdkpixbuf-2.0  2.40.0+dfsg-2
ii  gir1.2-glib-2.0   1.62.0-2
ii  gir1.2-gtk-3.03.24.13-1
ii  gir1.2-nm-1.0 1.22.4-1
ii  gir1.2-pango-1.0  1.42.4-7
ii  gnome-icon-theme  3.12.0-3
ii  libbluetooth3 5.50-1+b1
ii  libc6 2.29-9
ii  libglib2.0-0  2.62.4-1+b1
ii  libpulse-mainloop-glib0   13.0-3
ii  libpython3.7  3.7.6-1+b1
ii  librsvg2-common   2.46.4-1
ii  python3   3.7.5-3
ii  python3-cairo 1.16.2-2
ii  python3-gi3.34.0-3
ii  python3-gi-cairo  3.34.0-3

Versions of packages blueman recommends:
ii  policykit-1  0.105-26
ii  pulseaudio-module-bluetooth  13.0-3

blueman suggests no packages.

- -- no debconf information

-BEGIN PGP SIGNATURE-

iQJFBAEBCgAvFiEEU7EqA8ZVHYoLJhPE5vmO4pLV7MsFAl43Y1IRHG5pY29vQGRl
Ymlhbi5vcmcACgkQ5vmO4pLV7MuPEA//V6cLb06QN3ilz19ls1Yqjt6tbx/SZQyS
pInrmgjC4D0pXLvOYSGBghNE2SJ+ksYPmJZPhTs/ZyMcSEPCS9hPsjNMhQQmNOER
KmfO05Kg6XdcYUTXWnaLDCqpk7m2z/TFMQyQJnVP/3dmqj0OUbs6TH2KUu0xxudQ
UOp6oibkstrR+Gp7grjix2xjNzb2/d2Dl2f8wyp0fiCIQp+roD1JsozAbNB58YYt
1dHUX6Fe1S/+tVcOzGzDdUC+rbhenKZ7qieYL2cEZxJ9pBX1+1lsWiEFrVejJJeC
0fx4DyN560w6mi1p6MQWsbmm1sEfuJLeoXPJOE7A9El3dS6uAJwE0oj0DN2YOSG0
LklHoUIUVK0+1oEI6eyqh/82195cvRUWDpyWo3o0aUcfao/sfEcWjRGq/H3zGLCQ
YaiaBJGRVaPBNSwqmmxETskBNZsp7oFuZOSVPynDp0a5twMk4iwbGED4DbdRS1g+
ZSuZcE+Vnfh6883wem3aW0KPTM0qofWzlbHZIs7vBZmZt38lDbn6SODa5wCLCX8k
WZFNYYX1hmi85TBYIx7y2z8j4SDu5fESEnFf+uUEWiSh/0LCdRESYUQOL+5V/SMB
K8zpx62duhXspDxUABXcBTGO+/5HVj/hTyOjSbiY9pHJHcGGUWXwQcSLl8O1spml
IU4yI7u5pCg=
=JjPz
-END PGP SIGNATURE-