Bug#786443: inhibit while a PID is running

Michael Biebl biebl at debian.org
Fri Jan 29 16:54:08 GMT 2016


Control: tags -1 + moreinfo

On Thu, 21 May 2015 20:45:10 +0200 martin f krafft <madduck at debian.org>
wrote:
> Package: systemd
> Version: 215-17
> Severity: wishlist
> File: /bin/systemd-inhibit
> 
> Instead of inhibiting while a command spawned is running, please
> find a way to elegantly/efficiently inhibit while another process is
> running (e.g. a system backup).
> 


Can you be more specific how you envision this to work? Afaics this is
inherently racy, so I'm not sure if it's a good idea to provide such an
interface.

Why don't you just run your backup via systemd-inhibit
<my-backup-script>? I assume you trigger this via cron or a similar
mechanism, so adding systemd-inhibit to start the command seems like the
correct way.



-- 
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://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160129/133166df/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list