Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-07-31 Thread Jonathan Liu
Hi, On 2/06/2015 8:27 PM, Dimitri John Ledkov wrote: On 1 June 2015 at 19:12, David Herrmann wrote: Hi As of today we've disabled git-push to fd.o. The official development git repository is now at github [1]. The old repository will still be back-synced, but we had to disable push-access to

Re: [systemd-devel] Rebooting systemd-nspawn container results in shutdown

2015-04-26 Thread Jonathan Liu
On 27 April 2015 at 00:55, Kai Krakow wrote: > I've successfully created a Gentoo container on top of a Gentoo host. I can > start the container with machinectl, as I can with "systemctl start ...". > > Inside the container (logged in via SSH), I could issue a reboot command. > But that just resul

[systemd-devel] [PATCH] journal-remote: initialize writer hashmap before use

2014-09-24 Thread Jonathan Liu
https://bugs.freedesktop.org/show_bug.cgi?id=83682 --- src/journal-remote/journal-remote.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c index f06c2cb..b1cc6fd 100644 --- a/src/journal-remote/j

Re: [systemd-devel] Restarting from inside systemd-nspawn container results in deactivation

2014-06-02 Thread Jonathan Liu
On 2/06/2014 8:51 PM, Djalal Harouni wrote: On Mon, Jun 02, 2014 at 11:47:39AM +1000, Jonathan Liu wrote: Hi, I am using systemd 212 on Arch Linux 64-bit with the following patch applied: http://cgit.freedesktop.org/systemd/systemd/commit/?id=d8e40d62ab871a87fde421c4b246bb45bc3cbe2d It would

[systemd-devel] Restarting from inside systemd-nspawn container results in deactivation

2014-06-01 Thread Jonathan Liu
Hi, I am using systemd 212 on Arch Linux 64-bit with the following patch applied: http://cgit.freedesktop.org/systemd/systemd/commit/?id=d8e40d62ab871a87fde421c4b246bb45bc3cbe2d I have systemd-nspawn@mycontainer service enabled and started for my container. If I SSH into the container and run the

[systemd-devel] [PATCH] units: use KillMode=mixed for systemd-nspawn@.service

2014-05-28 Thread Jonathan Liu
This causes the container to shut down cleanly when the service is stopped. --- units/systemd-nsp...@.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/systemd-nsp...@.service.in b/units/systemd-nsp...@.service.in index ff36e90..e373628 100644 --- a/units/systemd-nsp...@.service

Re: [systemd-devel] [PATCH] units: use KillMode=process for systemd-nspawn@.service

2014-05-28 Thread Jonathan Liu
On 28/05/2014 10:32 PM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, May 28, 2014 at 05:42:31PM +1000, Jonathan Liu wrote: On 28 May 2014 14:06, David Timothy Strauss wrote: On Tue, May 27, 2014 at 10:55 PM, Jonathan Liu wrote: I suspect one downside is that if the container takes longer than

Re: [systemd-devel] [PATCH] units: use KillMode=process for systemd-nspawn@.service

2014-05-28 Thread Jonathan Liu
On 28 May 2014 14:06, David Timothy Strauss wrote: > On Tue, May 27, 2014 at 10:55 PM, Jonathan Liu wrote: >> I suspect one downside is that if the container takes longer than the >> timeout to shutdown then it will go on a SIGKILL-ing spree... which >> could be a problem i

Re: [systemd-devel] [PATCH] units: use KillMode=process for systemd-nspawn@.service

2014-05-27 Thread Jonathan Liu
On 28 May 2014 13:36, David Timothy Strauss wrote: > Is there a downside to using KillMode=mixed instead? I suspect one downside is that if the container takes longer than the timeout to shutdown then it will go on a SIGKILL-ing spree... which could be a problem if a container process was in the

[systemd-devel] [PATCH] units: use KillMode=process for systemd-nspawn@.service

2014-05-27 Thread Jonathan Liu
This causes the container to shut down cleanly when the service is stopped. --- units/systemd-nsp...@.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/systemd-nsp...@.service.in b/units/systemd-nsp...@.service.in index ff36e90..6228345 100644 --- a/units/systemd-nsp...@.service

Re: [systemd-devel] [PATCH] units: add ConditionPathIsReadWrite for systemd-random-seed.service

2014-04-10 Thread Jonathan Liu
On 11/04/2014 7:10 AM, Lennart Poettering wrote: On Thu, 10.04.14 14:00, Jonathan Liu (net...@gmail.com) wrote: --- units/systemd-random-seed.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/systemd-random-seed.service.in b/units/systemd-random-seed.service.in index

[systemd-devel] [PATCH] units: add ConditionPathIsReadWrite for systemd-random-seed.service

2014-04-09 Thread Jonathan Liu
--- units/systemd-random-seed.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/systemd-random-seed.service.in b/units/systemd-random-seed.service.in index 1879b2f..cbe000c 100644 --- a/units/systemd-random-seed.service.in +++ b/units/systemd-random-seed.service.in @@ -13,6 +13