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 wrote: > On 29 February 2016 at 19:05, Kok, Auke-jan H > wrote: >> On Sun, Feb 28, 2016 at 8:26 PM, G D'Arezzo wrote: >>> "You probably want to use [Service] instead." >>> >>> T

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 > lvalue 'DefaultEnvi

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 and > /etc/systemd/use

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 kernel modules during boot, >

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 reason for moving over to sy

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 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 bit over >> the

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 about giving >> systemd-

Re: [systemd-devel] What I think is really wrong with systemd

2015-09-16 Thread Kok, Auke-jan H
On Wed, Sep 16, 2015 at 8:38 AM, Reindl Harald wrote: > Am 16.09.2015 um 17:13 schrieb Ahmed S. Darwish: >> >> Not to mention that the same rolling-release model was adopted by >> the kernel long time ago for similar reasons and much more ;-) > > that is *not* true and won't become true by repeat

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 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 > guess they wi

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 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 times of SSD > the b

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

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

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 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 ___ systemd-devel mai

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 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, please refactor as p

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 wrote: > On Sun, Dec 1, 2013 at 8:25 PM, Hristo Venev 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 >> to >> work. >> >> A

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" 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 wrote: > > > On Thu, Oct 31, 2013 at 01:20:18PM -0700, Kok, Auke-jan H wrote: > > >> >

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 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, wh

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 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 in /etc/s

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 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 at 06:4

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

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

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 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 lack > the Smac

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 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 >> wrote: >> > On Mon, 28.10.13 19:44, WaLyong Cho (walyong@sams

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 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 assigned '*' l

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 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 week as we're looking i

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 wrote: > On Thu, Oct 24, 2013 at 3:15 PM, Laszlo Papp wrote: >> On Thu, Oct 24, 2013 at 2:09 PM, Kay Sievers wrote: > >>> No, you cannot really ship your own libudev, it is coupled with the >>> daemon. They speak a non-trivial wire protocol and write

Re: [systemd-devel] [systemd-commits] src/bootchart

2013-10-15 Thread Kok, Auke-jan H
On Tue, Oct 15, 2013 at 6:44 AM, Zbigniew Jędrzejewski-Szmek wrote: > src/bootchart/store.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > New commits: > commit 306e6650221d88b29831bcdcef94447afb65df5c > Author: Igor Zhbanov > Date: Tue Oct 15 14:35:13 2013 +0400 > > Fix f

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 4:21 PM, Michael Demeter wrote: >> That's not the point, the point is is if *belongs* into the systemd >> repo, not if it's *enabled* by default or not. From what I see, it's >> nothing really we should ship upstream. > > If Smack is enabled in systemd it starts very early

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 wrote: > On Mon, Oct 14, 2013 at 11:58 PM, Michael Demeter > 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 separate line? What is that

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 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: Iab07eb632b487b9ac4567cd08d0da6879709d44f

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 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 > --- a/src/c

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

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 wrote: > On Wed, Oct 2, 2013 at 8:12 PM, Auke Kok 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 kernel throws errors for this

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 7:53 PM, Andrey Borzenkov wrote: > В Mon, 7 Oct 2013 12:58:16 -0700 > "Kok, Auke-jan H" пишет: > >> >> Doing a `ln -sf /usr/lib/systemd/user/dbus.socket >> /etc/systemd/user/default.target.wants/dbus.socket` (quick hack) or >>

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 wrote: > On Mon, Oct 07, 2013 at 10:03:22PM +0300, Toms Seisums wrote: >> On 7 October 2013 20:33, Kok, Auke-jan H wrote: >> > On Mon, Oct 7, 2013 at 1:27 AM, Toms Seisums >> > wrote: >> > >

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 1:27 AM, Toms Seisums wrote: > I got two systems having the exact same problem with similar symptoms. Both > systems are upgraded to latest Arch Linux, and just recieved Linux Kernel > 3.11.4 upgrades also. > > One is running on Linode, one is a local machine. > > Apparently

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 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 have a

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 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 2013-10-04 11:53:37.02

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 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 "smack-setup.h"

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 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 created directory

Re: [systemd-devel] Small tool to spawn programs in graphical sessions from non-graphical ones

2013-10-01 Thread Kok, Auke-jan H
On Sat, Aug 31, 2013 at 2:09 AM, Manuel Amador (Rudd-O) wrote: > Based on systemd's related sibling loginctl, I managed to accomplish the > holy grail of the 90's: get Amarok to play music on my desktop sessiom from > a crontab (motivated by the missus' desire to have an alarm in the home > theate

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

2013-09-30 Thread Kok, Auke-jan H
On Mon, Sep 30, 2013 at 7:17 PM, Lennart Poettering wrote: > units/u...@.service.in |1 + > 1 file changed, 1 insertion(+) > > New commits: > commit e6dca814412f17db05910acedf76d36d3b7f1355 > Author: Evan Callicoat > Date: Mon Sep 23 21:01:04 2013 -0500 > > units: Add SHELL environment

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 wrote: > On Fri, Aug 9, 2013 at 8:56 PM, Kok, Auke-jan H > wrote: >> On Wed, Jul 24, 2013 at 3:15 AM, Reshetova, Elena >> wrote: > >>> For example, I can set a couple of smack-related xattrs in one go like >>

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 wrote: > Makefile.am|5 + > configure.ac |7 +++ > src/login/pam-module.c |4 ++-- > src/login/systemd-user |8 > units/u...@.service.in |2 +- > 5 files changed, 23 insertion

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 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 PAMName= attribute here

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 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 >> >>"Wait un

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 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; > Schaufler, Casey; walyong..

Re: [systemd-devel] Create a new logind session from a systemd --user unit

2013-08-05 Thread Kok, Auke-jan H
On Mon, Aug 5, 2013 at 12:55 PM, Colin Walters wrote: > On Sun, 2013-08-04 at 10:46 -0400, Colin Walters wrote: > >> https://people.gnome.org/~walters/user-session-patches > > Now updated with various bugfixes. PolicyKit works, the lock screen > works, etc. just chiming in here... it's like you

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 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. > > In my v

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 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 "-.mount" ? >

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

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 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 the cgroups itself anym

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

2013-07-05 Thread Kok, Auke-jan H
On Thu, Jul 4, 2013 at 6:30 PM, Kay Sievers wrote: > On Fri, Jul 5, 2013 at 2:35 AM, Cristian Rodríguez > wrote: >> Since systemd 205, Im getting this scary warning >> >> Jul 04 19:55:36 xps9000.cristianrodriguez.net systemd[1]: Starting >> user-1000.slice. >> >> Jul 04 19:55:36 xps9000.cristianr

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 wrote: > On Fri, Jun 21, 2013 at 11:47 PM, Kok, Auke-jan H > wrote: >> Only userspace can distinguish between e.g. a foreground and >> background application (WM) and decide that CPU consumption of certain >> apps in the back

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 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 (le

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

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 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 forward to seeing t

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

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 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 >> > > +++ b/src/core/manager.c >>

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 wrote: > Describe how to handle an AF_UNIX socket, with Accept set to false, > received from systemd, upon exit. > > Signed-off-by: Łukasz Stelmach > --- > man/systemd.socket.xml | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(

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 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 unit fro

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

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 wrote: > Hi Elena, > > On Thu, Jun 6, 2013 at 7:10 PM, Lennart Poettering > wrote: >> On Wed, 08.05.13 11:16, Reshetova, Elena (elena.reshet...@intel.com) wrote: >> >>> Hi, >>> >>> This is the patch for review for enabling smack labelling for device

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, 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... systemd already instal

Re: [systemd-devel] Running "systemd --user" and creating a new session

2013-06-07 Thread Kok, Auke-jan H
On Fri, Jun 7, 2013 at 3:18 AM, Иван Шаповалов wrote: > Hi all, > > Recently I've attempted to switch my user session to "systemd --user". The > configuration is pretty simple - no multiseat, nothing special. > I start the user session with provided "user@.service" with some > modifications: > > -

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 wrote: > On Wed, May 15, 2013 at 5:09 PM, Kok, Auke-jan H > wrote: >> On Wed, May 15, 2013 at 3:20 AM, Thomas H.P. Andersen >> wrote: >>> For completeness here is also a screenshot of how the generators are >&

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

2013-05-30 Thread Kok, Auke-jan H
On Thu, May 30, 2013 at 9:34 PM, 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 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 localhost.localdomain system

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 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 handle these two sign

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 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 files changed, 38 inse

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 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 ___ systemd-devel mailing

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 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 > most of the time the

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 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 just merged a minimal

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 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 >> wrote: >> > On 05/07/2013 01:32 PM, Lennart Poettering wrote: >> &g

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

2013-05-08 Thread Kok, Auke-jan H
On Tue, May 7, 2013 at 5:29 AM, Karol Lewandowski wrote: > On 05/07/2013 01:32 PM, Lennart Poettering wrote: >> On Tue, 07.05.13 13:21, Karol Lewandowski (k.lewando...@samsung.com) wrote: >> >> Heya, >> >> Hmm, does that directory always exist? Or only if AppArmor is actually >> runtime enabled? >

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 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 love the > jour

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

2013-05-03 Thread Kok, Auke-jan H
On Fri, May 3, 2013 at 9:42 AM, Lennart Poettering wrote: > On Fri, 03.05.13 09:30, Kok, Auke-jan H (auke-jan.h@intel.com) wrote: > >> >> The linked list approach drives down this memory requirement and makes >> >> navigating all the data much more strai

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 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 >> wrote: >> > On Wed, Apr 24, 2013 at 04:26:12PM -0700, Nathaniel C

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 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//smaps in kernels > 3.7. > --- > src/bootchart/bootchart.c

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 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-04-25 Thread Kok, Auke-jan H
On Wed, Apr 24, 2013 at 5:20 PM, Zbigniew Jędrzejewski-Szmek 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 does this appr

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 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 given by the f

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 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 service, but I

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 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 has a > unique value

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

[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 MESSAGE_ID=9f26a

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

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 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] >> Wante

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 wrote: > > Am 14.04.2013 21:18, schrieb Kok: >> On Sun, Apr 14, 2013 at 12:05 PM, Reindl Harald >> wrote: >>> what about a dbus-triggered instance like cups and other services >>> are fired up after login which creates a /.readahead-usersession >>>

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 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 WOL and never l

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 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 9:13 AM, Reindl Harald wrote: > > Am 14.04.2013 06:42, schrieb Kok: >> On Sat, Apr 13, 2013 at 2:24 PM, Reindl Harald >> wrote: - extend the collector to run much longer >>> >>> which scre to change in teh config? >> >> You can modify systemd-readahead-done.timer, ba

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 wrote: > > > Am 13.04.2013 23:08, schrieb Kok: >> On Sat, Apr 13, 2013 at 4:27 AM, Reindl Harald >> wrote: >>> it would make pretty much sense that Thunderbird, Firefox and >>> so on are pre-loaded or at least their libraries after the >>> login-man

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 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 real life her

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 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 that is the case? Au

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 wrote: > > Op 10 apr. 2013, om 19:13 heeft Mantas Mikulėnas het > volgende geschreven: > >> On Wed, Apr 10, 2013 at 8:03 PM, Koen Kooi >> wrote: >>> Hi, >>> >>> I have a bit of a heisenbug where dropbear.socket will just die and needs a >>> systemct

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 wrote: > On Wed, Apr 3, 2013 at 9:43 PM, Kok, Auke-jan H > wrote: >> On Wed, Apr 3, 2013 at 12:30 PM, Matthew Monaco wrote: >>> Here are my user session units. I have a few dbus activated examples >>> >>>

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 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 between the

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 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 start > rather

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 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: >> > > sockets.s

  1   2   3   4   >