Re: [systemd-devel] shutdown umount order

2013-03-16 Thread Ilya Basin
CG 'Twas brillig, and Ilya Basin at 04/01/13 22:22 did gyre and gimble: Hi list. On shutdown I have Buffer I/O error on device dm-... because the truecrypt disk is unmounted later than the usb disk containing the truecrypt image. I think this happens, because 1) systemd can't figure out

Re: [systemd-devel] [PATCH] [Up: 1h default] Add sync timer to journal server

2013-03-16 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 16, 2013 at 12:43:09PM +0200, Oleksii Shevchuk wrote: Sync journal with fdatasync every 1h (by default). Interval configured via SyncInterval option at journal.conf. Manual sync can be performed via sending SIGALRM. --- src/journal/journal-file.c | 13 ++-

Re: [systemd-devel] [PATCH] [Up: 1h default] Add sync timer to journal server

2013-03-16 Thread Kay Sievers
On Sat, Mar 16, 2013 at 2:01 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sat, Mar 16, 2013 at 12:43:09PM +0200, Oleksii Shevchuk wrote: Sync journal with fdatasync every 1h (by default). Interval configured via SyncInterval option at journal.conf. Manual sync can be performed

Re: [systemd-devel] shutdown umount order

2013-03-16 Thread Andrey Borzenkov
В Sat, 16 Mar 2013 16:17:37 +0400 Ilya Basin basini...@gmail.com пишет: CG 'Twas brillig, and Ilya Basin at 04/01/13 22:22 did gyre and gimble: Hi list. On shutdown I have Buffer I/O error on device dm-... because the truecrypt disk is unmounted later than the usb disk containing

Re: [systemd-devel] [PATCH] [Up: 1h default] Add sync timer to journal server

2013-03-16 Thread Oleksii Shevchuk
I understend your point. Current behavior is sufficient to indicate that all stuff is alive and have some guaranted sync points (like --MARK-- message). So, I can introduce next changes: remove regular syncs, add delayed sync based on last commit, add periodical syncs. For the sync logic, I'm

[systemd-devel] Enlightenment and systemd user session.

2013-03-16 Thread Cedric BAIL
Hello, I am currently working on improving Enlightenment integration with Systemd. So far, I have done the easiest thing, socket activation in our network library with just one flag and notification when the main loop is finally started. I am now facing various issue. I have added support

[systemd-devel] [PATCH] [RFC] Add sync timer to journal server

2013-03-16 Thread Oleksii Shevchuk
Sync journal with fdatasync after 10s of inactivity (by default), or after 10 messages (by default). Intervals configured via SyncIntervalSec and SyncIntervalMsg options at journal.conf. Manual sync can be performed via sending SIGALRM. --- src/journal/journal-file.c | 13 -

[systemd-devel] [PATCH] [RFCv2 (typos)] Add sync timer to journal server

2013-03-16 Thread Oleksii Shevchuk
Sync journal with fdatasync after 10s of inactivity (by default), or after 10 messages (by default). Intervals configured via SyncIntervalSec and SyncIntervalMsg options at journal.conf. Manual sync can be performed via sending SIGALRM. --- src/journal/journal-file.c | 13 -

Re: [systemd-devel] [PATCH] core: reuse the same /tmp, /var/tmp and inaccessible dir

2013-03-16 Thread Michal Sekletár
On Sat, Mar 16, 2013 at 4:11 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Mar 14, 2013 at 06:12:27PM +0100, Michal Sekletar wrote: All Execs within the service, will get mounted the same /tmp and /var/tmp directories, if service is configured with PrivateTmp=yes. Temporary