[pkg-bacula-devel] [pkg-bacula-commits] [SCM] Bacula, a network backup, recovery and verification program branch, master, updated. debian/5.2.6+dfsg-2-9-gad18bf4

Luca Capello luca at pca.it
Fri Aug 3 14:26:51 UTC 2012


Hi Alexander!

On Sun, 08 Jul 2012 02:30:07 +0200, Alexander Golovko wrote:
> The following commit has been merged in the master branch:
> commit ad18bf43f1395f2f522f7e0ed303a09605ada50e
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Sun Jul 8 04:29:35 2012 +0400
>
>     add bacula into cdrom group (#520508)
>
> diff --git a/debian/bacula-common.preinst b/debian/bacula-common.preinst
> index f5c8fb7..650084a 100644
> --- a/debian/bacula-common.preinst
> +++ b/debian/bacula-common.preinst
> @@ -7,15 +7,19 @@ case "$1" in
>  	install)
>  		if ! getent passwd bacula >/dev/null; then
>  			echo -n "Adding user 'bacula'... "
> -			adduser --system --no-create-home --group bacula 2>&1 > /dev/null
> +			adduser --system --home /var/lib/bacula --no-create-home --group bacula 2>&1 > /dev/null
>  			usermod -c "Bacula" bacula
>  			usermod -G tape bacula
> +			usermod -G cdrom bacula
>  			echo "Ok."
> -                        usermod -d /var/lib/bacula bacula

I do not remember what the Debian documentation says about usermod, but
I would bet that we should use addgroup instead.

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20120803/61aa68e1/attachment-0001.pgp>


More information about the pkg-bacula-devel mailing list