On Thu, 31 Oct 2013 06:33:44 +0100 John Paul Adrian Glaubitz wrote:
> messed up custom code may end up rendering your whole system unusable
> if you are smart enough to mess up an rm command. Just have a look
> at this wonderful bug in upstart [1].

> [1] https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/557177

This doesn't appear to be a bug in Upstart.  A service file assumed the
caller would set MOUNTPOINT=/tmp in the environment, and invoked this
(inline) shell script:

> cd "${MOUNTPOINT}"
> find . -depth -xdev $TEXPR $EXCEPT ! -type d -delete

I assume you could launch bad code from systemd just as easily.
(Actually, if you can't, that's probably a limitation).

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52726368.5060...@pyro.eu.org

Reply via email to