On Fri, 01.06.12 23:13, Richard Hughes (hughsi...@gmail.com) wrote: > > On 25 May 2012 13:28, Lennart Poettering <lenn...@poettering.net> wrote: > > * A framework for implementing offline system updates is now > > integrated, for details see: > > http://freedesktop.org/wiki/Software/systemd/SystemUpdates > > Seeing as system-update.target is now shipped in systemd itself, > wouldn't it make sense also to have "r /system-update" in > /usr/lib/tmpfiles.d/systemd.conf as well?
Hmm, so this wouldn't work if /etc/fstab says that / is supposed to be read-only. I think your update script should be the one that remounts / writable, and then after that removes the file. The remounting probably makes little sense in tmpfiles. i.e. do something like this in the beginning of your script: #!/bin/sh mount / -o rw,remount rm -f /system-update Does that make sense? Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel