Bug#852597: iio-sensor-proxy: process keeps running after package purge

Ritesh Raj Sarraf rrs at debian.org
Wed Jan 25 15:27:10 GMT 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Wed, 2017-01-25 at 20:05 +0530, Ritesh Raj Sarraf wrote:
> > I just purged iio-sensor-proxy, but:
> > 
> > $ ps 574
> >   PID TTY      STAT   TIME COMMAND
> >   574 ?        Ssl    4:10 /usr/sbin/iio-sensor-proxy
> > 
> > The process should stop running on removing the package.
> 
> Hmmm. The service is marked static and only operated through systemd.
> Let me check what the expectations are with a static service, and how systemd
> deals with service start/stop during package install/removal.
> 
> I've marked this report "help" because I'm not fully versed with the other
> supporting tools. If you can provide any help, that'll be nice.

So a "static" service is:

The state will usually be "enabled", "disabled", "static", or "masked". In this
context, static means that the unit file does not contain an "install" section,
which is used to enable a unit. As such, these units cannot be enabled. Usually,
this means that the unit performs a one-off action or is used only as a
dependency of another unit and should not be run by itself.


Dear Debian Systemd Team,

For a static service, upon package de-install, how do we ensure the service is
killed. Should this be done manually and individually in a package's prerm
script ?


- -- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAliIw84ACgkQpjpYo/Lh
dWlLwhAAtikvOsCUPtwrZxd/F6+tyRCJE+R4s4uZ1S8KLLFKtCRYmm008BJidvGO
Td9IqgmVYnuQkIPaN70V9R0tC+fBNad4u8pWL2QjWqwrHvJbSliqrpImqlIQqZQM
y5GoUzXj+lx9xa6Yv/7/XdXB7TK1+ms5JUaTJJH+xkXX2AMmCGwbX+mFt1s1676Z
z3/nQbS4Me6Q94vn64AeEWWTKwtyx+SN+Gg7Zyr8GNMIcoGuhVeP0y9Qei9DcH6P
ynof5uI87ZXi6Qui5Bn7p2GsXhuvsO1I3wDw6IR2pVzwUX8LP3clhygUFbIceHKp
Bezx0QhvcSB/P5tUdDhKNUkkaBqm9Ix6BO4lmWACOtckitRVxKERQaPs18P56XOH
EIxswi+3BDN8alSXMdPrZbffEPbPAzcAAoKxWw6YMExYr7J+gw0PgcTOildcOzJS
b/dH1Af5uEKS9UEpkcjR0MizNX4HZ0pnx+E8YEtDrl98TmEbwNqvCXQQZStleJPG
DTgr02raku+onbAaPb5ylLoa6cnjomxfcaCYh4gPktXAxSaAh2CF502j1GLSHIXc
mkqKKKi9BRcG6+XEM2mvjHSGIJlpJqBrvEZ13TZ16TlSPZySOPY9dtT058SJQL/i
2yEa0oaHpHldKs+xnMP5AoMcUuy1M2ShY1CxBChDRkEj015GOUw=
=hBvS
-----END PGP SIGNATURE-----




More information about the Pkg-systemd-maintainers mailing list