Re: [systemd-devel] RFC: idea for a pstore systemd service

2019-02-26 Thread Lennart Poettering
On Do, 21.02.19 10:16, Eric DeVolder (eric.devol...@oracle.com) wrote: > > Lennart, > As this is my first venture into systemd, I've spent some time looking into > the source for coredump. I chose this as it was mentioned in this thread. As > a I look at this source, I see how to create the

Re: [systemd-devel] RFC: idea for a pstore systemd service

2019-02-21 Thread Eric DeVolder
On 1/16/19 12:30 PM, Lennart Poettering wrote: On Di, 15.01.19 23:39, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: [Service] ExecStart=/bin/bash -c '/usr/bin/mv -t /var/lib/pstore /sys/fs/pstore/*' Restart=on-success While this would certainly work, I think I'd prefer a version in C

Re: [systemd-devel] RFC: idea for a pstore systemd service

2019-01-17 Thread Eric DeVolder
Lennart, I've some homework to do based on your feedback and will report back. As I understand it, I need to do this in C as well. Regards, eric On 1/15/19 12:49 PM, Lennart Poettering wrote: On Di, 15.01.19 11:23, Eric DeVolder (eric.devol...@oracle.com) wrote: Systemd-devel, Below is a

Re: [systemd-devel] RFC: idea for a pstore systemd service

2019-01-16 Thread Lennart Poettering
On Di, 15.01.19 23:39, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: > > [Service] > ExecStart=/bin/bash -c '/usr/bin/mv -t /var/lib/pstore /sys/fs/pstore/*' > Restart=on-success While this would certainly work, I think I'd prefer a version in C and not depend on an installed shell for this.

Re: [systemd-devel] RFC: idea for a pstore systemd service

2019-01-15 Thread Jóhann B . Guðmundsson
On 1/15/19 6:49 PM, Lennart Poettering wrote: On Di, 15.01.19 11:23, Eric DeVolder (eric.devol...@oracle.com) wrote: Systemd-devel, Below is a write-up I've done to explain a new service for archiving pstore contents. I've attached the pstore.service files (/lib/systemd/system/pstore.service

Re: [systemd-devel] RFC: idea for a pstore systemd service

2019-01-15 Thread Lennart Poettering
On Di, 15.01.19 11:23, Eric DeVolder (eric.devol...@oracle.com) wrote: > Systemd-devel, > > Below is a write-up I've done to explain a new service for archiving pstore > contents. I've attached the pstore.service files > (/lib/systemd/system/pstore.service and bin/pstore-tool). These are trivial

[systemd-devel] RFC: idea for a pstore systemd service

2019-01-15 Thread Eric DeVolder
Systemd-devel, Below is a write-up I've done to explain a new service for archiving pstore contents. I've attached the pstore.service files (/lib/systemd/system/pstore.service and bin/pstore-tool). These are trivial right now, but easy to build upon if periodic, rather than just on-boot,