Bug#772418: systemd: Error installing systemd version 215-7

Carlo Marchiori carlo.marchiori at gmail.com
Sat Dec 6 20:34:24 GMT 2014


Yes, running

addgroup  --system systemd-journal; echo $?
addgroup: The group `systemd-journal' already exists as a system group.
Exiting.
0

yealds 0 as exit code. But, deleting the group, recreating it as non-system
group, actually gives an error

addgroup  --system systemd-journal; echo $?
addgroup: The group `systemd-journal' already exists and is not a system
group. Exiting.
1

So maybe the group already existed as non system group,
but I have never created it.

Anyway I guess the report can be closed.

Thanks,
Carlo.


2014-12-06 21:20 GMT+01:00 Michael Biebl <biebl at debian.org>:

> Am 06.12.2014 um 21:10 schrieb Martin Pitt:
> > Control: tag -1 moreinfo
> >
> > Hello Carlo,
> >
> > Carlo Marchiori [2014-12-06 17:22 +0100]:
> >> On examination the problem is due to the line
> >>
> >> addgroup --quiet --system systemd-journal
> >>
> >> in /var/lib/dpkg/info/systemd.postinst which returns exitcode 1 because
> the
> >> group already exists and the script is run with set -e.
> >
> > No, addgroup exits with 0 usually if the group already exists. Can you
> > please re-run this without --quiet to see what's wrong?
>
> Most likely Carlo has created that group himself without using "--system"
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141206/e27c3bad/attachment-0002.html>


More information about the Pkg-systemd-maintainers mailing list