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

Bug#956672: rtkit activation fails, because service unit is installed at the wrong place





On Sun, Apr 19, 2020 at 4:45 PM Boyuan Yang <byang@debian.org> wrote:
Control: tags -1 -pending +patch
X-Debbugs-CC: sateler@debian.org

Alright -- I think I got the reason.

Since we switched to meson buildsystem, all variable handling happens in
meson.build. Starting at
https://salsa.debian.org/multimedia-team/rtkit/-/blob/0a0f6d58f792f8dcf38f9b0b4cf925e9f4f4337d/meson.build#L61
:

systemunitdir = ''
if systemunitdir == '' and systemd_dep.found()
        systemunitdir = systemd_dep.get_pkgconfig_variable(
                'systemdsystemunitdir',
                default: '',
        )
endif
if systemunitdir == ''
        systemunitdir = get_option('libdir') / 'systemd' / 'system'
endif


OK, so the problem is that the `systemunitdir = ''` at the first line is wrong. It should be `systemunitdir = get_option('systemd_systemunitdir')` (like the polkit_actiondir block a few lines up).

NMU welcome ;). Otherwise I'll take a look over the weekend.
 
--

Saludos,
Felipe Sateler

Reply to: