Re: [systemd-devel] how to run a script which takes about 30 seconds before shutdown

2016-11-09 Thread zerons
On 11/09/2016 09:43 PM, Andrei Borzenkov wrote: > On Wed, Nov 9, 2016 at 4:11 PM, zerons wrote: >> Hi everyone. >> >> Everyday, I need to do something like `git pull` after system >> bootup and `git push` before shutdown. I am using Ubuntu 16.04. >> I have tried to put

[systemd-devel] Automating rollback when there's misconfiguration?

2016-11-09 Thread Pekka Järvinen
Hi, I'm interested in rollbacking misconfigured network configs back to last working state. Old config is stored by etckeeper which uses git. Can this be achieved with systemd itself or do I have to write whole script/program that listens to systemd dbus? If it's script/program it will be

[systemd-devel] systemd-nspawn containers

2016-11-09 Thread Michał Zegan
Hello. Does systemd-nspawn intent to be a full secure container technology? or it maybe already is? what is missing? signature.asc Description: OpenPGP digital signature ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

[systemd-devel] journal files interoperability between distros wrt compression

2016-11-09 Thread Michael Biebl
Hi, currently, when trying to opan a Fedora journal file from Debian/Ubuntu I get: Journal file .../system.journal uses an unsupported feature, ignoring file. This is probably due to Debian not having lz4 support enabled (yet). We currently only build with XZ compression. I wonder what other

Re: [systemd-devel] how to run a script which takes about 30 seconds before shutdown

2016-11-09 Thread Andrei Borzenkov
On Wed, Nov 9, 2016 at 4:11 PM, zerons wrote: > Hi everyone. > > Everyday, I need to do something like `git pull` after system > bootup and `git push` before shutdown. I am using Ubuntu 16.04. > I have tried to put some script into /etc/rc0.d/, /etc/rc6.d/, > each time

[systemd-devel] how to run a script which takes about 30 seconds before shutdown

2016-11-09 Thread zerons
Hi everyone. Everyday, I need to do something like `git pull` after system bootup and `git push` before shutdown. I am using Ubuntu 16.04. I have tried to put some script into /etc/rc0.d/, /etc/rc6.d/, each time the script runs, the network has been stopped, so I turn to systemd. === Here is a