[pkg-bacula-devel] Bug#679958: Bug#679958: systemd service file doesn't start, missing -u and -g option

Alexander Golovko alexandro at ankalagon.ru
Tue Jul 3 09:29:57 UTC 2012


tags 679958 + pending

Hi, Michael

Thank you for report!

Fixed in git, next uploaded version will be with fixed 
bacula-(fd|sd|dir).service


On Mon, 02 Jul 2012 19:01:45 +0200, Michael Stapelberg wrote:
> Package: bacula-fd
> Version: 5.2.6+dfsg-1
> Severity: important
>
> Hi,
>
> thanks for shipping a bacula-fd.service file for systemd users. 
> However,
> the file bacula-fd.service.in uses variables such as @fd_user@ and
> @fd_group@, which are not provided in debian/rules. Therefore, the 
> spots
> are filled with nothing and the systemd file you ship contains the
> following line:
>
> ExecStart=/usr/sbin/bacula-fd -u  -g  -c /etc/bacula/bacula-fd.conf
>
> This leads to bacula-fd not starting because it parses the "-g" as
> argument for the -u flag:
>
> 02-Jul 18:07 x200-fd: ERROR TERMINATION at priv.c:69
> Could not find userid=-g: ERR=Success
>
> Best regards,
> Michael
>
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (600, 'unstable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.3.4-1 (SMP w/2 CPU cores)
> Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages bacula-fd depends on:
> ii  bacula-common  5.2.6+dfsg-1
> ii  libacl1        2.2.51-7
> ii  libc6          2.13-32
> ii  libgcc1        1:4.7.0-8
> ii  libpython2.7   2.7.3~rc2-2.1
> ii  libssl1.0.0    1.0.1b-1
> ii  libstdc++6     4.7.0-8
> ii  libwrap0       7.6.q-21
> ii  lsb-base       4.1+Debian7
> ii  ucf            3.0025+nmu3
> ii  zlib1g         1:1.2.7.dfsg-13
>
> bacula-fd recommends no packages.
>
> Versions of packages bacula-fd suggests:
> pn  bacula-traymonitor  <none>
>
> -- no debconf information
>
>
>
> _______________________________________________
> pkg-bacula-devel mailing list
> pkg-bacula-devel at lists.alioth.debian.org
> 
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-bacula-devel

-- 
with best regards,
Alexander Golovko
email: alexandro at ankalagon.ru
xmpp: alexandro at ankalagon.ru





More information about the pkg-bacula-devel mailing list