[systemd-devel] .journal~ files

2012-11-29 Thread Colin Guthrie
Hi, I have several .journal~ files in my journal dir... without me digging into the source, can someone explain what these are and if I can safely remove them (as they are quite large!) like most other ~ files. Cheers Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day

[systemd-devel] journal space requirements

2012-11-29 Thread Colin Guthrie
Hi, So a couple complaints/queries are beginning trickling in regarding journal space requirements. A user was complaining that rotated journals were taking up too much room and they could be compressed down etc. I did explain that a rotated journal is really any different to the current journal

Re: [systemd-devel] .journal~ files

2012-11-29 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 29, 2012 at 10:24:48AM +, Colin Guthrie wrote: Hi, I have several .journal~ files in my journal dir... without me digging into the source, can someone explain what these are and if I can safely remove them (as they are quite large!) like most other ~ files. They are rotated

Re: [systemd-devel] .journal~ files

2012-11-29 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 29, 2012 at 12:44:08PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Nov 29, 2012 at 10:24:48AM +, Colin Guthrie wrote: Hi, I have several .journal~ files in my journal dir... without me digging into the source, can someone explain what these are and if I can safely

Re: [systemd-devel] .journal~ files

2012-11-29 Thread Kay Sievers
On Thu, Nov 29, 2012 at 12:50 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Nov 29, 2012 at 12:44:08PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Nov 29, 2012 at 10:24:48AM +, Colin Guthrie wrote: Hi, I have several .journal~ files in my journal dir... without

Re: [systemd-devel] journal space requirements

2012-11-29 Thread Colin Guthrie
'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 29/11/12 11:48 did gyre and gimble: On Thu, Nov 29, 2012 at 10:37:26AM +, Colin Guthrie wrote: Hi, So a couple complaints/queries are beginning trickling in regarding journal space requirements. A user was complaining that rotated

Re: [systemd-devel] journal space requirements

2012-11-29 Thread Colin Guthrie
'Twas brillig, and Colin Guthrie at 29/11/12 12:22 did gyre and gimble: 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 29/11/12 11:48 did gyre and gimble: On Thu, Nov 29, 2012 at 10:37:26AM +, Colin Guthrie wrote: Hi, So a couple complaints/queries are beginning trickling in regarding

Re: [systemd-devel] journal space requirements

2012-11-29 Thread Kay Sievers
On Thu, Nov 29, 2012 at 1:42 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Colin Guthrie at 29/11/12 12:22 did gyre and gimble: 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 29/11/12 11:48 did gyre and gimble: On Thu, Nov 29, 2012 at 10:37:26AM +, Colin Guthrie

[systemd-devel] ExecRestart

2012-11-29 Thread Brandon Black
Hi all, I'm trying to write a systemd.service unit file for an existing well-behaved daemon that's used to managing itself. The daemon binary doubles as its own controller for sysvinit-like command. For example foo start launches a new daemon. foo stop stops an existing instance of the

Re: [systemd-devel] journal space requirements

2012-11-29 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 29, 2012 at 12:42:32PM +, Colin Guthrie wrote: 'Twas brillig, and Colin Guthrie at 29/11/12 12:22 did gyre and gimble: 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 29/11/12 11:48 did gyre and gimble: On Thu, Nov 29, 2012 at 10:37:26AM +, Colin Guthrie wrote: Hi,

Re: [systemd-devel] journal space requirements

2012-11-29 Thread Kay Sievers
On Thu, Nov 29, 2012 at 2:14 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Yeah, definitely something is not working. journalctl --lines=100 -o export | build-remote/systemd-journal-remote --compress --stdin -o /tmp/dir2/file.journal gives me 644K, and XZ turns that into 31K.

Re: [systemd-devel] journal space requirements

2012-11-29 Thread Colin Guthrie
'Twas brillig, and Kay Sievers at 29/11/12 13:04 did gyre and gimble: On Thu, Nov 29, 2012 at 1:42 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Colin Guthrie at 29/11/12 12:22 did gyre and gimble: 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 29/11/12 11:48 did gyre and

Re: [systemd-devel] .journal~ files

2012-11-29 Thread Cristian Rodríguez
El 29/11/12 07:24, Colin Guthrie escribió: Hi, I have several .journal~ files in my journal dir... without me digging into the source, can someone explain what these are and if I can safely remove them (as they are quite large!) like most other ~ files. Cheers Col The real problem behind

Re: [systemd-devel] ExecRestart

2012-11-29 Thread Alexander E. Patrakov
Brandon Black blbl...@gmail.com wrote: The daemon's fast restart code does all of the expensive startup operations in the new daemon first (e.g. parsing large data input), then signals the existing daemon to shut itself down, waits for it to release its critical resources (e.g. sockets,

[systemd-devel] 4 failing tests

2012-11-29 Thread Ramkumar Ramachandra
Hi, The following tests fail. Is it just me, or does this indicate work in progress? $ ./test-id128 random: a08ea8ed34594d4bbd953dd182ec86f9 Assertion 'sd_id128_get_machine(id) == 0' failed at src/test/test-id128.c:41, function main(). Aborting. [1]8017 abort (core dumped) ./test-id128 $

Re: [systemd-devel] 4 failing tests

2012-11-29 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 30, 2012 at 12:32:12AM +0530, Ramkumar Ramachandra wrote: Hi, The following tests fail. Is it just me, or does this indicate work in progress? Hi, I think it's just you, ie. the tests are not expected to fail. Zbyszek $ ./test-id128 random: a08ea8ed34594d4bbd953dd182ec86f9

[systemd-devel] [PATCH 0/3] Some miscellanous fixes

2012-11-29 Thread Ramkumar Ramachandra
Hi, This evening, I was curious to know whether I could install systemd on my Ubuntu laptop. Incidentally, I got a chance to look at the code and fixed up a few minor things. Hope it's useful. Ram Ramkumar Ramachandra (3): LICENSE.LGPL2.1: update license DISTRO_PORTING: correct location

[systemd-devel] [PATCH 1/3] LICENSE.LGPL2.1: update license

2012-11-29 Thread Ramkumar Ramachandra
Update the license with the copy found on http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- LICENSE.LGPL2.1 | 81 +- 1 files changed, 38 insertions(+), 43 deletions(-) diff --git

[systemd-devel] [PATCH 2/3] DISTRO_PORTING: correct location of hostname-setup.c

2012-11-29 Thread Ramkumar Ramachandra
f33d3ec1 (move more common files to shared/ and add them to shared.la, 2012-04-12) moved src/hostname-setup.c to src/shared/hostname-setup.c, but did not update DISTRO_PORTING accordingly. Fix this. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- DISTRO_PORTING |6 +++--- 1 files

[systemd-devel] [PATCH 3/3] man: fix some spelling mistakes

2012-11-29 Thread Ramkumar Ramachandra
Fix some minor spelling mistakes in the manpages. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- man/daemon.xml |2 +- man/journalctl.xml |2 +- man/journald.conf.xml |4 ++-- man/kernel-command-line.xml |2 +- 4 files changed, 5

Re: [systemd-devel] ExecRestart

2012-11-29 Thread Jóhann B. Guðmundsson
On 11/29/2012 04:41 AM, Brandon Black wrote: Hi all, I'm trying to write a systemd.service unit file for an existing well-behaved daemon that's used to managing itself. The daemon binary doubles as its own controller for sysvinit-like command. For example foo start launches a new

Re: [systemd-devel] ExecRestart

2012-11-29 Thread Brandon Black
On Thu, Nov 29, 2012 at 11:36 AM, Alexander E. Patrakov patra...@gmail.comwrote: Brandon Black blbl...@gmail.com wrote: The daemon's fast restart code does all of the expensive startup operations in the new daemon first (e.g. parsing large data input), then This is not what a restart means