Bug#786648: fails to change euid, wrong command line

Michael Biebl biebl at debian.org
Sun May 24 00:12:05 BST 2015


Control: tags -1 moreinfo unreproducible

Am 24.05.2015 um 00:57 schrieb Eduard Bloch:
> Repro steps:
> 
>  - install apt-cacher-ng from Sid (0.8.3-1). That works fine, runs the
>    process with correct uid and parameters.
>  - build the package from
>    https://alioth.debian.org/anonscm/git/apt-cacher-ng/apt-cacher-ng.git/
>    (debian/sid branch) or get apt-cacher-ng_0.8.4-1_amd64.deb from
>    https://www.unix-ag.uni-kl.de/~bloch/acng/tmp/ .
>  - Install the .deb with dpkg
> 
> And then weird things start happening, see below. First I was confused.
> Then I saw the WRONG command line. Thich explains the startup failure,
> Foreground=1 parameter is missing. And then I saw the wrong process
> lurking around. User is "root" now for no apparent reason.
> 
> I also cannot just downgrade the package because that ghost process
> occupies the port. And using "service stop apt-cacher-ng" (or whatever
> is run from prerm) is not effective because systemd thinks, the process
> is dead.

Are you absolutely sure you started this process via systemd? Could it
be you started it manually? That would explain why the process is not
tracked by systemd, has the wrong user and subsequent tries to start it
via systemctl/service fail.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150524/07699f07/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list