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 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 directories

[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 - src/journal

[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 - src/journal

[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 f

Re: [systemd-devel] shutdown umount order

2013-03-16 Thread Tomasz Torcz
On Sat, Mar 16, 2013 at 04:17:37PM +0400, Ilya Basin wrote: > >> 1) I think the mount dependencies can't be made 100% reliable. systemd > >> should use the combination of them and /proc/mounts, but only as a HINT > >> In my case /proc/mounts contains the right order. > >> 2) Instead of force umount

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

Re: [systemd-devel] shutdown umount order

2013-03-16 Thread Andrey Borzenkov
В Sat, 16 Mar 2013 16:17:37 +0400 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 t

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 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 >> via sending

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 ++- > src/jou

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

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

2013-03-16 Thread Oleksii Shevchuk
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 ++- src/journal/journal-file.h | 1 + src/journal/journald-gperf.gperf | 1 + src

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

2013-03-16 Thread Oleksii Shevchuk
Sync journal with fdatasync every 1m (by default). Interval configured via SyncInterval option at journal.conf. Manual sync can be performed via sending SIGALRM. --- src/journal/journal-file.c | 13 +-- src/journal/journal-file.h | 1 + src/journal/journald-gperf.gperf | 1 + src