Re: [systemd-devel] Can't make local user.conf work

2016-03-07 Thread Kok, Auke-jan H
On Mon, Mar 7, 2016 at 7:31 AM, G D'Arezzo <gdarre...@gmail.com> wrote: > On 29 February 2016 at 19:05, Kok, Auke-jan H <auke-jan.h@intel.com> > wrote: >> On Sun, Feb 28, 2016 at 8:26 PM, G D'Arezzo <gdarre...@gmail.com> wrote: >>> "You probably wa

Re: [systemd-devel] Can't make local user.conf work

2016-02-29 Thread Kok, Auke-jan H
On Sun, Feb 28, 2016 at 8:26 PM, G D'Arezzo wrote: > "You probably want to use [Service] instead." > > Thanks for the suggestion, Auke. Unfortunately, Service and > DefaultEnvironment don't go together: > > [/home/temp/.config/systemd/user/test.service.d/user.conf:2] Unknown

Re: [systemd-devel] Can't make local user.conf work

2016-02-26 Thread Kok, Auke-jan H
On Thu, Feb 25, 2016 at 7:06 PM, Guido D'Arezzo wrote: > Hello, I’m trying to run user systemd services with DefaultEnvironment set > in a user.conf under $HOME/.config/systemd/ but it isn't being read. > The only .conf files I have seen being read are /etc/systemd/user.conf

Re: [systemd-devel] Bootchart speeding up boot time

2016-02-22 Thread Kok, Auke-jan H
On Mon, Feb 22, 2016 at 11:51 AM, Martin Townsend wrote: > Hi, > > Thanks for your reply. I wouldn't really call this system stripped down, it > has an nginx webserver, DHCP server, postgresql-server, sftp server, a few > mono (C#) daemons running, loads quite a few

Re: [systemd-devel] Bootchart speeding up boot time

2016-02-22 Thread Kok, Auke-jan H
On Fri, Feb 19, 2016 at 7:15 AM, Martin Townsend wrote: > Hi, > > I'm new to systemd and have just enabled it for my Xilinx based dual core > cortex A-9 platform. The linux system is built using Yocto (Fido branch) > which is using version 219 of systemd. > > The main

Re: [systemd-devel] Moving systemd-bootchart to a standalone repository

2016-02-22 Thread Kok, Auke-jan H
On Wed, Feb 17, 2016 at 4:49 PM, Zbigniew Jędrzejewski-Szmek <zbys...@in.waw.pl> wrote: > On Wed, Feb 17, 2016 at 09:17:51AM -0800, Kok, Auke-jan H wrote: >> Splitting it out increases that potential and will allow >> systemd-bootchart to evolve out of cycle again, and look a

Re: [systemd-devel] Moving systemd-bootchart to a standalone repository

2016-02-17 Thread Kok, Auke-jan H
On Wed, Feb 17, 2016 at 9:03 AM, Jóhann B. Guðmundsson wrote: > On 02/17/2016 04:51 PM, Daniel Mack wrote: >> [I've put all people in Cc who have had more than one commit related to >> systemd-bootchart in the past] >> >> As part of our spring cleaning, we've been thinking

Re: [systemd-devel] Improve boot-time of systemd-based device, revisited

2015-06-16 Thread Kok, Auke-jan H
On Mon, Jun 15, 2015 at 5:44 AM, Harald Hoyer harald.ho...@gmail.com wrote: On 14.06.2015 15:17, cee1 wrote: BTW, systemd-bootchart has a option to chart entropy, how is the entropy involved in boot up procedure? Well, if daemons need bytes from /dev/random (think sshd key generation), I

Re: [systemd-devel] [PATCH 1/2] bootchart: don't parse /proc/uptime, use CLOCK_BOOTTIME

2014-08-15 Thread Kok, Auke-jan H
thumbs up from me, thanks for sending this. Auke On Thu, Jul 31, 2014 at 1:15 AM, Karel Zak k...@redhat.com wrote: * systemd-bootchart always parses /proc/uptime, although the information is unnecessary when --rel specified * use /proc/uptime is overkill, since Linux 2.6.39 we have

Re: [systemd-devel] [PATCH 2/2] bootchart: ask for --rel when failed to initialize graph start time

2014-08-15 Thread Kok, Auke-jan H
thanks! Auke On Sat, Aug 2, 2014 at 10:17 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Jul 31, 2014 at 10:15:40AM +0200, Karel Zak wrote: This patch uses access(/proc/vmstat, F_OK) to detect procfs. We always read system uptime before log start time. So the uptime

Re: [systemd-devel] [HEADS-UP] Intent to remove readahead from systemd

2014-08-15 Thread Kok, Auke-jan H
On Thu, Aug 14, 2014 at 10:16 AM, Lennart Poettering lenn...@poettering.net wrote: Heya, Since its early days systemd contained the systemd-readahead tool, whose job was to improve boot times by reading files in their order on disk, before they would actually be needed by applications. In

Re: [systemd-devel] PATCH: fix systemd-bootchart svg background

2014-06-16 Thread Kok, Auke-jan H
On Mon, Jun 16, 2014 at 9:52 AM, Frederic Crozat fcro...@suse.com wrote: Hi all, attached is a fix for SVG generated by systemd-bootchart, similar to a fix already done in systemd-analyze. yeah, that's a nice change. Looks good to me. Auke ___

Re: [systemd-devel] [RFC 2/2] bootchart: add cgroup option

2014-04-23 Thread Kok, Auke-jan H
On Wed, Apr 23, 2014 at 1:13 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 28.03.14 17:07, WaLyong Cho (walyong@samsung.com) wrote: Sounds useful. Agreed - this looks highly useful. Would be nice maybe to see an example output file somehere, but otherwise thumbs up (though,

Re: [systemd-devel] systemd session mode

2013-12-10 Thread Kok, Auke-jan H
On Sun, Dec 1, 2013 at 12:33 PM, Kay Sievers k...@vrfy.org wrote: On Sun, Dec 1, 2013 at 8:25 PM, Hristo Venev hri...@venev.name wrote: I've implemented session mode for systemd. I am currently using it and it works pretty okay. I just had to generate D-Bus user services for D-Bus activation

Re: [systemd-devel] [PATCH] SMACK: assign * label to /tmp when using SMACK.

2013-11-12 Thread Kok, Auke-jan H
On Nov 12, 2013 6:16 AM, Karel Zak k...@redhat.com wrote: On Fri, Nov 01, 2013 at 09:19:27AM -0700, Kok, Auke-jan H wrote: On Fri, Nov 1, 2013 at 12:57 AM, Karel Zak k...@redhat.com wrote: On Thu, Oct 31, 2013 at 01:20:18PM -0700, Kok, Auke-jan H wrote: BTW, for SELinux we remove

Re: [systemd-devel] [RFC][PATCH] networkd: add a basic network daemon

2013-11-06 Thread Kok, Auke-jan H
On Wed, Nov 6, 2013 at 1:32 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Kok, Auke-jan H at 06/11/13 02:08 did gyre and gimble: alright, I'll comment, but it took me 5 minutes to clear the coffee off my monitor... Looking at the feature list, why are you not contributing

Re: [systemd-devel] [RFC][PATCH] networkd: add a basic network daemon

2013-11-05 Thread Kok, Auke-jan H
On Tue, Nov 5, 2013 at 4:33 PM, Tom Gundersen t...@jklm.no wrote: This daemon listens for and configures network devices tagged with 'systemd-networkd'. By default, no devices are tagged so this daemon can safely run in parallel with existing network daemons/scripts. Networks are configured

Re: [systemd-devel] Linux kernel API

2013-11-04 Thread Kok, Auke-jan H
On Mon, Nov 4, 2013 at 2:10 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Nov 04, 2013 at 10:54:26PM +0100, ScotXW wrote: Hi, On 11/02/2013 12:15 AM, Greg KH wrote: On Sat, Nov 02, 2013 at 12:05:23AM +0100, ScotXW wrote: On 11/01/2013 06:51 PM, Greg KH wrote: On Fri, Nov 01, 2013

Re: [systemd-devel] [PATCH] SMACK: assign * label to /tmp when using SMACK.

2013-11-01 Thread Kok, Auke-jan H
On Fri, Nov 1, 2013 at 12:57 AM, Karel Zak k...@redhat.com wrote: On Thu, Oct 31, 2013 at 01:20:18PM -0700, Kok, Auke-jan H wrote: BTW, for SELinux we remove selinux specific mount options in userspace (in mount(8)) if the kernel does not support selinux. It help us to make command

Re: [systemd-devel] [PATCH] SMACK: assign * label to /tmp when using SMACK.

2013-10-31 Thread Kok, Auke-jan H
On Thu, Oct 31, 2013 at 12:00 PM, Karel Zak k...@redhat.com wrote: On Tue, Oct 29, 2013 at 01:27:07PM +0100, Lennart Poettering wrote: On Tue, 29.10.13 16:02, WaLyong Cho (walyong@samsung.com) wrote: Hmm, here's an idea: there has been a long standig feature request to add a

Re: [systemd-devel] [PATCH] SMACK: assign * label to /tmp when using SMACK.

2013-10-29 Thread Kok, Auke-jan H
On Tue, Oct 29, 2013 at 12:02 AM, WaLyong Cho walyong@samsung.com wrote: How about add specific options for smack? According to http://schaufler-ca.com/description_from_the_linux_source_tree Smack supports some mount options: smackfsdef=label: specifies the label to give files that

Re: [systemd-devel] [PATCH] SMACK: assign * label to /tmp when using SMACK.

2013-10-28 Thread Kok, Auke-jan H
On Mon, Oct 28, 2013 at 3:44 AM, WaLyong Cho walyong@samsung.com wrote: At the same reason of /run and /dev/shm, when systemd is running with SMACK, countless tasks are failed by missed privilege. To avoid, /tmp is assigned '*' label. We discussed this problem earlier in our office last

Re: [systemd-devel] [PATCH] SMACK: assign * label to /tmp when using SMACK.

2013-10-28 Thread Kok, Auke-jan H
On Mon, Oct 28, 2013 at 8:58 AM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 28.10.13 19:44, WaLyong Cho (walyong@samsung.com) wrote: At the same reason of /run and /dev/shm, when systemd is running with SMACK, countless tasks are failed by missed privilege. To avoid, /tmp is

Re: [systemd-devel] [PATCH] SMACK: assign * label to /tmp when using SMACK.

2013-10-28 Thread Kok, Auke-jan H
On Mon, Oct 28, 2013 at 1:09 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 28.10.13 12:59, Kok, Auke-jan H (auke-jan.h@intel.com) wrote: On Mon, Oct 28, 2013 at 8:58 AM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 28.10.13 19:44, WaLyong Cho (walyong

Re: [systemd-devel] Can apps ship their own copy of libudev?

2013-10-24 Thread Kok, Auke-jan H
On Thu, Oct 24, 2013 at 6:39 AM, Kay Sievers k...@vrfy.org wrote: On Thu, Oct 24, 2013 at 3:15 PM, Laszlo Papp lp...@kde.org wrote: On Thu, Oct 24, 2013 at 2:09 PM, Kay Sievers k...@vrfy.org wrote: No, you cannot really ship your own libudev, it is coupled with the daemon. They speak a

Re: [systemd-devel] [PATCH] Smack enabled systems need /dev special devices correctly labeled

2013-10-14 Thread Kok, Auke-jan H
On Mon, Oct 14, 2013 at 3:54 PM, Kay Sievers k...@vrfy.org wrote: On Mon, Oct 14, 2013 at 11:58 PM, Michael Demeter michael.deme...@intel.com wrote: +KERNEL==tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*, +GROUP=dialout, SECLABEL{smack}=* The SECLABEL{} instruction in a

Re: [systemd-devel] [PATCH] Smack enabled systems need /dev special devices correctly labeled

2013-10-12 Thread Kok, Auke-jan H
On Fri, Oct 11, 2013 at 4:47 PM, Michael Demeter michael.deme...@intel.com wrote: - Add AC_DEFINE for HAVE_SMACK to configure.ac - Add Check for smack in Makefile.am to include smack default rules - Add smack default rules to label /dev/xxx correctly for access Change-Id:

Re: [systemd-devel] [PATCH 2/2] core: require $XDG_RUNTIME_DIR to be set for user instances

2013-10-10 Thread Kok, Auke-jan H
On Wed, Oct 9, 2013 at 4:57 AM, Mantas Mikulėnas graw...@gmail.com wrote: It seems that some places use /run otherwise, which isn't going to work. --- src/core/main.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/core/main.c b/src/core/main.c index fe291f8..36543c6 100644

Re: [systemd-devel] [PATCH 1/2] Mount /run, /dev/shm usable to tasks when using SMACK.

2013-10-09 Thread Kok, Auke-jan H
On Wed, Oct 9, 2013 at 9:18 AM, Kay Sievers k...@vrfy.org wrote: On Wed, Oct 2, 2013 at 8:12 PM, Auke Kok auke-jan.h@intel.com wrote: These 2 mounts are allowed to fail, which will happen if the system is not running a SMACK enabled kernel or security=none is passed to the kernel. The

Re: [systemd-devel] [PATCH 2/2] Run with a custom SMACK domain (label).

2013-10-09 Thread Kok, Auke-jan H
On Tue, Oct 8, 2013 at 3:29 PM, Schaufler, Casey casey.schauf...@intel.com wrote: -Original Message- From: Lennart Poettering [mailto:lenn...@poettering.net] Sent: Tuesday, October 08, 2013 3:17 PM To: Kok, Auke-jan H Cc: Zbigniew Jędrzejewski-Szmek; Schaufler, Casey; systemd-devel

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-08 Thread Kok, Auke-jan H
On Mon, Oct 7, 2013 at 7:53 PM, Andrey Borzenkov arvidj...@gmail.com wrote: В Mon, 7 Oct 2013 12:58:16 -0700 Kok, Auke-jan H auke-jan.h@intel.com пишет: Doing a `ln -sf /usr/lib/systemd/user/dbus.socket /etc/systemd/user/default.target.wants/dbus.socket` (quick hack) or something like

Re: [systemd-devel] [PATCH 2/2] Run with a custom SMACK domain (label).

2013-10-07 Thread Kok, Auke-jan H
On Sun, Oct 6, 2013 at 8:02 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Oct 02, 2013 at 11:12:09AM -0700, Auke Kok wrote: Allows the systemd --system process to change its current SMACK label to a predefined custom label (usually system) at boot time. This is needed to

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-07 Thread Kok, Auke-jan H
On Mon, Oct 7, 2013 at 12:08 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Oct 07, 2013 at 10:03:22PM +0300, Toms Seisums wrote: On 7 October 2013 20:33, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Mon, Oct 7, 2013 at 1:27 AM, Toms Seisums toms.seis...@gmail.com

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-04 Thread Kok, Auke-jan H
On Fri, Oct 4, 2013 at 9:37 AM, Toms Seisums toms.seis...@gmail.com wrote: [object Object] Look at Gmail failing flat on its face... lol Aside from that, can you perhaps try this patch: --- systemd-user-sessions.service 2013-10-02 15:37:14.181330287 -0700 +++ systemd-user-sessions.service

Re: [systemd-devel] [PATCH 1/2] Mount /run, /dev/shm usable to tasks when using SMACK.

2013-10-02 Thread Kok, Auke-jan H
On Tue, Oct 1, 2013 at 4:40 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 01.10.13 16:11, Auke Kok (auke-jan.h@intel.com) wrote: Once system itself is running in a security domain for SMACK, it will fail to start countless tasks due to missing privileges for mounted and

Re: [systemd-devel] [PATCH 2/2] Run with a custom SMACK domain (label).

2013-10-02 Thread Kok, Auke-jan H
On Tue, Oct 1, 2013 at 4:42 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 01.10.13 16:11, Auke Kok (auke-jan.h@intel.com) wrote: index 1434dea..d7b8dce 100644 --- a/src/core/smack-setup.c +++ b/src/core/smack-setup.c @@ -36,6 +36,7 @@ #include macro.h #include

Re: [systemd-devel] Patch for Smack labelling support in udev

2013-09-12 Thread Kok, Auke-jan H
On Thu, Sep 12, 2013 at 10:23 AM, Kay Sievers k...@vrfy.org wrote: On Fri, Aug 9, 2013 at 8:56 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Wed, Jul 24, 2013 at 3:15 AM, Reshetova, Elena elena.reshet...@intel.com wrote: For example, I can set a couple of smack-related xattrs

Re: [systemd-devel] [systemd-commits] configure.ac Makefile.am src/login units/u...@.service.in

2013-09-11 Thread Kok, Auke-jan H
On Wed, Sep 11, 2013 at 12:39 PM, Zbigniew Jędrzejewski-Szmek zbys...@kemper.freedesktop.org wrote: Makefile.am|5 + configure.ac |7 +++ src/login/pam-module.c |4 ++-- src/login/systemd-user |8 units/u...@.service.in |2 +- 5

Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Kok, Auke-jan H
On Tue, Aug 27, 2013 at 9:38 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Also I don't think this will properly handle session registration will it? There is nothing here that registers the session - no pam configs to include pam_systemd etc. nope I think you would need some kind of

Re: [systemd-devel] How to wait for a group of devices?

2013-08-19 Thread Kok, Auke-jan H
On Mon, Aug 19, 2013 at 10:37 AM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Aug 19, 2013 at 05:35:35PM +0200, Manuel Reimer wrote: On 08/19/2013 04:53 PM, Greg KH wrote: The second one wants to access DVB devices. These could be connected via PCI, PCI express or USB. So here I need

Re: [systemd-devel] Patch for Smack labelling support in udev

2013-08-09 Thread Kok, Auke-jan H
On Wed, Jul 24, 2013 at 3:15 AM, Reshetova, Elena elena.reshet...@intel.com wrote: -Original Message- From: Kay Sievers [mailto:k...@vrfy.org] Sent: Tuesday, July 16, 2013 10:12 PM To: Reshetova, Elena Cc: Lennart Poettering; systemd-devel@lists.freedesktop.org; Ware, Ryan R;

Re: [systemd-devel] I wanna construct server-client model with systemd option.

2013-07-29 Thread Kok, Auke-jan H
On Mon, Jul 29, 2013 at 5:48 PM, Tony Seo tonys...@gmail.com wrote: I have aimed to construct server-client model. In order to build that mode, I supposed that there was X_server and A_client. I tried to do several time to operate that model properly, but I have failed to do that operation.

Re: [systemd-devel] Does systemd have points to spend many times to complete its process?

2013-07-26 Thread Kok, Auke-jan H
On Thu, Jul 25, 2013 at 4:58 AM, Tony Seo tonys...@gmail.com wrote: Hello I'm Tony Seo. I've analyzed a plot resulted in systemd-analyze plot. As you can see an attached image file, I got this image from my systemd. While I have analyzed it, I have several questions. 1. what is

Re: [systemd-devel] [PATCH] cgroups: chown user slices

2013-07-10 Thread Kok, Auke-jan H
On Wed, Jul 10, 2013 at 5:48 PM, Lennart Poettering lenn...@poettering.net wrote: On Sat, 06.07.13 01:16, Marc-Antoine Perennou (marc-anto...@perennou.com) wrote: When creating the cgroup hierarchy for a user slice, chown this slice to the user uid. Signed-off-by: Marc-Antoine Perennou

Re: [systemd-devel] systemd[725]: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted

2013-07-08 Thread Kok, Auke-jan H
On Sat, Jul 6, 2013 at 1:40 AM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: The patch I mailed a few hours ago about chowning cgroups solved this issue here. but it's not a permanent solution - only a workaround. I believe from the release notes that systemd --user shouldn't maintain

Re: [systemd-devel] [HEADSUP] cgroup changes

2013-06-21 Thread Kok, Auke-jan H
On Fri, Jun 21, 2013 at 10:36 AM, Lennart Poettering lenn...@poettering.net wrote: Heya, On monday I posted this mail: http://lists.freedesktop.org/archives/systemd-devel/2013-June/011388.html Here's an update and a bit on the bigger picture: Thanks for doing this - I am really looking

Re: [systemd-devel] [HEADSUP] cgroup changes

2013-06-21 Thread Kok, Auke-jan H
On Fri, Jun 21, 2013 at 1:10 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 21.06.13 12:59, Kok, Auke-jan H (auke-jan.h@intel.com) wrote: http://lists.freedesktop.org/archives/systemd-devel/2013-June/011388.html Here's an update and a bit on the bigger picture: Thanks

Re: [systemd-devel] [HEADSUP] cgroup changes

2013-06-21 Thread Kok, Auke-jan H
On Fri, Jun 21, 2013 at 2:17 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 21.06.13 14:10, Kok, Auke-jan H (auke-jan.h@intel.com) wrote: So, in the future, when you have some service, and that service wants to alter some cgroup resource limits for itself (let's say: set

Re: [systemd-devel] [HEADSUP] cgroup changes

2013-06-21 Thread Kok, Auke-jan H
On Fri, Jun 21, 2013 at 3:07 PM, Kay Sievers k...@vrfy.org wrote: On Fri, Jun 21, 2013 at 11:47 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: Only userspace can distinguish between e.g. a foreground and background application (WM) and decide that CPU consumption of certain apps

Re: [systemd-devel] We are working on trying to scale up to 1000 containers.

2013-06-20 Thread Kok, Auke-jan H
On Thu, Jun 20, 2013 at 12:23 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 18.06.13 09:11, Daniel J Walsh (dwa...@redhat.com) wrote: One concern we have is what will happen to systemd if we start 1000 services at boot. systemctl start httpd_sandbox.target For example. Is

Re: [systemd-devel] Masking socket activated services is broken

2013-06-19 Thread Kok, Auke-jan H
On Tue, Jun 18, 2013 at 10:15 PM, Michael Biebl mbi...@gmail.com wrote: Hi, I've run systemctl mask rsyslog.service, but the service can still be started via systemctl start rsyslog.service or by generating a log message. Looks like a bug to me. Why would it be? Masking just removes the

Re: [systemd-devel] [PATCH] Describe handling of an AF_UNIX socket

2013-06-19 Thread Kok, Auke-jan H
On Wed, Jun 19, 2013 at 5:59 AM, Łukasz Stelmach l.stelm...@samsung.com wrote: Describe how to handle an AF_UNIX socket, with Accept set to false, received from systemd, upon exit. Signed-off-by: Łukasz Stelmach l.stelm...@samsung.com --- man/systemd.socket.xml | 12 +--- 1 file

Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-06-19 Thread Kok, Auke-jan H
On Tue, Jun 4, 2013 at 10:31 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 29.05.13 08:59, Yang Chengwei (chengwei.y...@intel.com) wrote: diff --git a/src/core/manager.c b/src/core/manager.c index 0508628..467b5ba 100644 --- a/src/core/manager.c +++

Re: [systemd-devel] how to end a socket activated daemon

2013-06-18 Thread Kok, Auke-jan H
On Tue, Jun 18, 2013 at 3:04 AM, Łukasz Stelmach l.stelm...@samsung.com wrote: It was 2013-06-17 pon 20:51, when Lennart Poettering wrote: On Fri, 14.06.13 14:33, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Fri, Jun 14, 2013 at 10:03:00AM +0200, Łukasz Stelmach wrote: We are

Re: [systemd-devel] Patch for Smack labelling support in udev

2013-06-17 Thread Kok, Auke-jan H
On Mon, Jun 17, 2013 at 9:37 PM, Kyungmin Park kmp...@infradead.org wrote: Hi Elena, On Thu, Jun 6, 2013 at 7:10 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 08.05.13 11:16, Reshetova, Elena (elena.reshet...@intel.com) wrote: Hi, This is the patch for review for enabling

Re: [systemd-devel] Tuning A/V at Boot

2013-06-08 Thread Kok, Auke-jan H
On Sat, Jun 8, 2013 at 5:43 PM, systemdki...@yopmail.com wrote: Where in boot sequence tune A/V latency? Is sound.target relevant? anything device specific should be triggered from a udev rule, so that you're not running this service while the device isn't actually available yet to userspace...

Re: [systemd-devel] [PATCH 1/2] analyze: show generators on plot

2013-06-02 Thread Kok, Auke-jan H
On Sun, Jun 2, 2013 at 2:40 AM, Thomas H.P. Andersen pho...@gmail.com wrote: On Wed, May 15, 2013 at 5:09 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Wed, May 15, 2013 at 3:20 AM, Thomas H.P. Andersen pho...@gmail.com wrote: For completeness here is also a screenshot of how

Re: [systemd-devel] Automatic Reboot Protocol [SOLVED]

2013-05-30 Thread Kok, Auke-jan H
On Thu, May 30, 2013 at 9:34 PM, systemdki...@yopmail.com wrote: Simple at did the trick from nightjanitor.sh echo systemctl start reboot.target | at now + 3 min If a more purist systemd method exists, I'd love to see it. You can likely create a timer unit, and start that once... Auke

Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-05-28 Thread Kok, Auke-jan H
On Tue, May 28, 2013 at 3:00 AM, Chengwei Yang chengwei.y...@intel.com wrote: Currently, if we have a user session, when systemd user session start, just like the situation for it as PID 1, dbus-daemon isn't ready at that moment, so it always failed with below error. Feb 06 16:50:10

Re: [systemd-devel] [PATCH] [Fix] Do not handle SIGKILL since we can not

2013-05-20 Thread Kok, Auke-jan H
On Mon, May 20, 2013 at 12:22 AM, Chengwei Yang chengwei.y...@intel.com wrote: This is a minor fix because it's not a major issue, this fix just avoid to get EINVAL error from sigaction(2). There are two signals can not handled at user space, SIGKILL and SIGSTOP even we're PID 1, trying to

Re: [systemd-devel] [PATCH] Make it possible to disable smack separately from xattr support

2013-05-17 Thread Kok, Auke-jan H
On Thu, May 16, 2013 at 1:40 AM, Karol Lewandowski k.lewando...@samsung.com wrote: Additionally, compile out rule loading if feature is disabled. --- configure.ac | 26 ++ src/core/smack-setup.c | 10 ++ src/core/socket.c |4 ++-- 3

Re: [systemd-devel] [PATCH 1/2] analyze: show generators on plot

2013-05-15 Thread Kok, Auke-jan H
On Wed, May 15, 2013 at 3:20 AM, Thomas H.P. Andersen pho...@gmail.com wrote: For completeness here is also a screenshot of how the generators are shown in the plot. (The plot was generated on an old computer with a HDD) very nice! Auke ___

Re: [systemd-devel] Debugging systemd shutdown problem on openSuSE 12.3

2013-05-13 Thread Kok, Auke-jan H
On Mon, May 13, 2013 at 6:28 AM, Rainer Krienke krie...@uni-koblenz.de wrote: I i trouble on a openSuSE 12.3 system that is using autofs to mount users home directories and other shares. The system basically works fine. When I try to shut down or reboot the system sometimes this works, but

Re: [systemd-devel] [PATCH] condition, man: Add support for ConditionSecurity=smack

2013-05-11 Thread Kok, Auke-jan H
On Wed, May 8, 2013 at 8:20 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, May 08, 2013 at 11:42:34AM -0700, Kok, Auke-jan H wrote: On Tue, May 7, 2013 at 5:29 AM, Karol Lewandowski k.lewando...@samsung.com wrote: On 05/07/2013 01:32 PM, Lennart Poettering wrote: On Tue

Re: [systemd-devel] [ANNOUNCE] systemd 204

2013-05-11 Thread Kok, Auke-jan H
On Thu, May 9, 2013 at 8:56 AM, Lennart Poettering lenn...@poettering.net wrote: CHANGES WITH 204: * ConditionSecurity= gained support for detecting SMACK. Since this condition already supports SELinux and AppArmor we only miss IMA for this. Patches welcome! I

Re: [systemd-devel] systemd user instance

2013-05-06 Thread Kok, Auke-jan H
On Mon, May 6, 2013 at 2:44 PM, Kai Krakow hurikha...@gmail.com wrote: Hey list, I've built a server with systemd and it really worked out well. Fast booting (that means shorter maintenance times) and most important: Reliable service teardown and auto-restarts of crashed services. And yeah, I

Re: [systemd-devel] [PATCH] Dynamically allocate bootchart logs

2013-05-03 Thread Kok, Auke-jan H
On Fri, May 3, 2013 at 9:14 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 25.04.13 22:47, Kok, Auke-jan H (auke-jan.h@intel.com) wrote: On Wed, Apr 24, 2013 at 5:20 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Apr 24, 2013 at 04:26:12PM -0700, Nathaniel

Re: [systemd-devel] [PATCH] Add help option to bootchart man page

2013-05-02 Thread Kok, Auke-jan H
On Fri, Apr 26, 2013 at 9:36 AM, Nathaniel Chen nathaniel.c...@intel.com wrote: Bootchart has a help option. For the sake of consistency, this patch adds it to the man page. Also, the TODO is updated. Bootcharts were added to the journal in commit c4d58b0. applied, thanks. Auke

Re: [systemd-devel] [PATCH] Dynamically allocate bootchart logs

2013-05-02 Thread Kok, Auke-jan H
On Wed, Apr 24, 2013 at 4:26 PM, Nathaniel Chen nathaniel.c...@intel.com wrote: Instead of storing bootchart sample data in arrays, this patch moves storage to linked lists so that there is no more limit on samples. This patch also fixes parsing of /proc/pid/smaps in kernels 3.7. ---

Re: [systemd-devel] [PATCH] Dynamically allocate bootchart logs

2013-04-25 Thread Kok, Auke-jan H
On Wed, Apr 24, 2013 at 5:20 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Apr 24, 2013 at 04:26:12PM -0700, Nathaniel Chen wrote: Instead of storing bootchart sample data in arrays, this patch moves storage to linked lists so that there is no more limit on samples. How

Re: [systemd-devel] Question about the cross session dependence

2013-04-22 Thread Kok, Auke-jan H
On Sun, Apr 21, 2013 at 6:49 PM, Li, Min A min.a...@intel.com wrote: Hi systemd experts, I have a question about the dependence of user and system session. At system session, there is a service which need to be started after X(user session). At first I added “After=xorg.target” at this

Re: [systemd-devel] [PATCH] TODO: passwd.d, group.d

2013-04-22 Thread Kok, Auke-jan H
On Mon, Apr 22, 2013 at 3:26 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 22.04.2013 23:53, schrieb Josh Triplett: 1) Leave only root in /etc/passwd and /etc/group why? 2) Add passwd.d and group.d directories in /etc and under /usr, which accept one record per file (with name

Re: [systemd-devel] Fwd: [systemd-commits] Makefile.am src/bootchart - Make bootcharts go to the journal

2013-04-16 Thread Kok, Auke-jan H
On Tue, Apr 16, 2013 at 1:47 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Kok, Auke-jan H at 16/04/13 00:33 did gyre and gimble: FYI - this is a first pass to putting the bootcharts into the journal, exactly as coredump does. Ultimately, I will probably make bootcharts

Re: [systemd-devel] How to run *ctl command using systemd-nspawn

2013-04-16 Thread Kok, Auke-jan H
On Tue, Apr 16, 2013 at 12:11 AM, Koen Kooi k...@dominion.thruhere.net wrote: Hi, To help with flashing the onboard eMMC of a 10 boards I'm using systemd-nspawn to run package postinstall scripts that generate UUIDs and some other things and it's working great for that! Every board now

Re: [systemd-devel] systemd-readahead and often used applications

2013-04-15 Thread Kok, Auke-jan H
On Sun, Apr 14, 2013 at 2:15 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 14.04.2013 23:06, schrieb Kok: [Unit] Description=Adaptive readahead daemon [Service] ExecStart=/usr/sbin/preload -f 1 -l Restart=always RestartSec=1 Nice=19 IOSchedulingClass=3 [Install]

Re: [systemd-devel] systemd-readahead and often used applications

2013-04-15 Thread Kok, Auke-jan H
On Mon, Apr 15, 2013 at 10:59 AM, Reindl Harald h.rei...@thelounge.net wrote: Am 15.04.2013 19:53, schrieb Kok: thanks, i will give it a try why not Type=forking? in my expierience a service works with simple/forking and only one of them while i must say my low-level understanding may not

[systemd-devel] Fwd: [systemd-commits] Makefile.am src/bootchart - Make bootcharts go to the journal

2013-04-15 Thread Kok, Auke-jan H
FYI - this is a first pass to putting the bootcharts into the journal, exactly as coredump does. Ultimately, I will probably make bootcharts not go to disk other than the journal by default. A single one-liner can be used to get the latest bootchart automatically: $ journalctl -b

Re: [systemd-devel] systemd-readahead and often used applications

2013-04-14 Thread Kok, Auke-jan H
On Sun, Apr 14, 2013 at 9:13 AM, Reindl Harald h.rei...@thelounge.net wrote: Am 14.04.2013 06:42, schrieb Kok: On Sat, Apr 13, 2013 at 2:24 PM, Reindl Harald h.rei...@thelounge.net wrote: - extend the collector to run much longer which scre to change in teh config? You can modify

Re: [systemd-devel] systemd-readahead - stops after 2 minutes

2013-04-14 Thread Kok, Auke-jan H
On Sun, Apr 14, 2013 at 10:18 AM, Reindl Harald h.rei...@thelounge.net wrote: Am 14.04.2013 18:13, schrieb Reindl Harald: Am 14.04.2013 06:42, schrieb Kok: You can modify systemd-readahead-done.timer, basically change: OnActiveSec=10s to whatever value you like thanks, i give it a try

Re: [systemd-devel] systemd-readahead and often used applications

2013-04-14 Thread Kok, Auke-jan H
On Sun, Apr 14, 2013 at 12:05 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 14.04.2013 20:49, schrieb Kok: a reason i would love to define specific applications which should always get preloaded on boot independent what is collected at runtime what about starting the machine remove vis

Re: [systemd-devel] systemd-readahead and often used applications

2013-04-14 Thread Kok, Auke-jan H
On Sun, Apr 14, 2013 at 1:01 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 14.04.2013 21:18, schrieb Kok: On Sun, Apr 14, 2013 at 12:05 PM, Reindl Harald h.rei...@thelounge.net wrote: what about a dbus-triggered instance like cups and other services are fired up after login which

Re: [systemd-devel] systemd-readahead and often used applications

2013-04-13 Thread Kok, Auke-jan H
On Sat, Apr 13, 2013 at 4:27 AM, Reindl Harald h.rei...@thelounge.net wrote: Hi as far as i understand systemd-readahead is catching what is loaded directly due boot and 10 seconds after, well that's fine but is there a possibility to feed it with additional applications? example of the

Re: [systemd-devel] systemd-readahead and often used applications

2013-04-13 Thread Kok, Auke-jan H
On Sat, Apr 13, 2013 at 2:24 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 13.04.2013 23:08, schrieb Kok: On Sat, Apr 13, 2013 at 4:27 AM, Reindl Harald h.rei...@thelounge.net wrote: it would make pretty much sense that Thunderbird, Firefox and so on are pre-loaded or at least their

Re: [systemd-devel] Socket is dying, how to automatically restart it?

2013-04-10 Thread Kok, Auke-jan H
On Wed, Apr 10, 2013 at 11:10 AM, Koen Kooi k...@dominion.thruhere.net wrote: Op 10 apr. 2013, om 19:13 heeft Mantas Mikulėnas graw...@gmail.com het volgende geschreven: On Wed, Apr 10, 2013 at 8:03 PM, Koen Kooi k...@dominion.thruhere.net wrote: Hi, I have a bit of a heisenbug where

Re: [systemd-devel] Socket is dying, how to automatically restart it?

2013-04-10 Thread Kok, Auke-jan H
On Wed, Apr 10, 2013 at 1:12 PM, David Strauss da...@davidstrauss.net wrote: Are you sure it's not the corresponding service that really failed? actually, that's a good point, but if the socket unit is dead, I assume that systemd no longer is bind()ed to the ports... Koen, can you verify that

Re: [systemd-devel] dbus user services using the session bus

2013-04-03 Thread Kok, Auke-jan H
On Wed, Apr 3, 2013 at 6:22 AM, Will Stephenson wstephen...@kde.org wrote: I'm joining the flock of desktop people investigating using systemd to start a desktop session. So far I've checked out user-session-units and have created some more granular unit files that will do a native systemd

Re: [systemd-devel] dbus user services using the session bus

2013-04-03 Thread Kok, Auke-jan H
On Wed, Apr 3, 2013 at 12:30 PM, Matthew Monaco m...@0x01b.net wrote: Here are my user session units. I have a few dbus activated examples https://github.com/mmonaco/systemd-user-session I have one target for an i3 session and another for an openbox/cairo-dock session. I can freely switch

Re: [systemd-devel] dbus user services using the session bus

2013-04-03 Thread Kok, Auke-jan H
On Wed, Apr 3, 2013 at 1:28 PM, Tom Gundersen t...@jklm.no wrote: On Wed, Apr 3, 2013 at 9:43 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Wed, Apr 3, 2013 at 12:30 PM, Matthew Monaco m...@0x01b.net wrote: Here are my user session units. I have a few dbus activated examples https

Re: [systemd-devel] [PATCH] [RFCv4] Add Listen* to dbus properties

2013-04-02 Thread Kok, Auke-jan H
On Tue, Apr 2, 2013 at 6:29 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Apr 02, 2013 at 08:26:17AM +0200, Tomasz Torcz wrote: On Tue, Apr 02, 2013 at 05:54:32AM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Apr 01, 2013 at 11:09:45PM +0300, Oleksii Shevchuk wrote:

Re: [systemd-devel] Optimizing systemd binaries for small deployments

2013-03-29 Thread Kok, Auke-jan H
On Wed, Mar 27, 2013 at 3:49 AM, Tino Breddin tbred...@tpip.net wrote: We are in the process of creating a very small image for devices with a maximum of 4MB flash. Compared to a SysV variant which clocks in at ~1MB using Systemd we are currently getting images sizes of ~10MB. At first

Re: [systemd-devel] A newbie question regarding ordering cycles

2013-03-28 Thread Kok, Auke-jan H
On Thu, Mar 28, 2013 at 7:07 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Belal, Awais at 28/03/13 12:22 did gyre and gimble: Hi Guys, Just a newbie question as I am not much familiar with systemd yet. While setting up a system I have systemd-195 running but some of the

Re: [systemd-devel] [PATCH] condition: add option ConditionArchitecture

2013-03-27 Thread Kok, Auke-jan H
On Wed, Mar 27, 2013 at 12:22 AM, Tollef Fog Heen tfh...@err.no wrote: ]] Cristian Rodríguez El 26/03/13 15:17, Bill Nottingham escribió: Lukas Nykryn (lnyk...@redhat.com) said: --- TODO | 2 -- man/systemd.unit.xml.in | 8

Re: [systemd-devel] [PATCHv2] man/os-release: Add BUILD_ID field

2013-03-27 Thread Kok, Auke-jan H
On Mon, Mar 25, 2013 at 2:07 PM, William Douglas william.doug...@intel.com wrote: BUILD_ID is a fairly generic field used to identify the system image that was used to install the distribution. Signed-off-by: William Douglas william.doug...@intel.com --- man/os-release.xml | 22

Re: [systemd-devel] [PATCH] [RFC][PLEASE TEST] readahead: chunk on spinning media

2013-03-27 Thread Kok, Auke-jan H
On Wed, Mar 27, 2013 at 10:50 AM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Wed, Mar 27, 2013 at 4:55 AM, Kay Sievers k...@vrfy.org wrote: On Sun, Mar 24, 2013 at 3:38 AM, Kok, Auke-jan H auke-jan.h@intel.com wrote: I don't see anything in udev code setting IOPRIO... perhaps

Re: [systemd-devel] [PATCH] [RFC][PLEASE TEST] readahead: chunk on spinning media

2013-03-26 Thread Kok, Auke-jan H
On Mon, Mar 25, 2013 at 9:53 AM, Frederic Crozat fcro...@suse.com wrote: Le vendredi 22 mars 2013 à 15:22 -0700, Auke Kok a écrit For a comparison of how before/after bootcharts look (ext4 on a mobile 5400rpm 250GB drive) please look at: http://foo-projects.org/~sofar/blocked-tests/

Re: [systemd-devel] [systemd-commits] Makefile.am src/readahead

2013-03-26 Thread Kok, Auke-jan H
On Tue, Mar 26, 2013 at 10:38 AM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.03.13 10:33, Auke-Jan Kok (a...@kemper.freedesktop.org) wrote: Heyhey, wait. +clock_gettime(CLOCK_MONOTONIC, starttime); Could you please turn this into an usec_t? We generally use usec_t

Re: [systemd-devel] [ANNOUNCE] systemd 199

2013-03-26 Thread Kok, Auke-jan H
On Tue, Mar 26, 2013 at 10:32 AM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.03.13 10:06, Shawn (shawnland...@gmail.com) wrote: you could get a backtrace in gdb Yes, please provide a backtrace for this! that's a helluva hard thing to do with systemd-coredump somehow not

Re: [systemd-devel] [systemd-commits] units/u...@.service.in

2013-03-25 Thread Kok, Auke-jan H
On Mon, Mar 25, 2013 at 9:54 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 22.03.13 21:46, Auke-Jan Kok (a...@kemper.freedesktop.org) wrote: units/u...@.service.in | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) New commits: commit

Re: [systemd-devel] [PATCH 1/2] systemd-analyze: refactor for more data collection

2013-03-25 Thread Kok, Auke-jan H
On Sun, Mar 24, 2013 at 11:23 AM, Umut Tezduyar u...@tezduyar.com wrote: --- src/analyze/systemd-analyze.c | 119 +++-- 1 files changed, 66 insertions(+), 53 deletions(-) diff --git a/src/analyze/systemd-analyze.c b/src/analyze/systemd-analyze.c index

Re: [systemd-devel] [PATCH 2/2] systemd-analyze: --type cpuacct option for blame

2013-03-25 Thread Kok, Auke-jan H
On Sun, Mar 24, 2013 at 11:23 AM, Umut Tezduyar u...@tezduyar.com wrote: systemd-analyze blame --type cpuacct displays cpu time usage information of the cgroup. The information displayed is cpuacct.usage. ControlGroup=cpuacct:/foo/bar for a service would work. ControlGroupPersistent=yes for

  1   2   3   >