[systemd-devel] cannot view my own logs?

2013-10-09 Thread Manuel Amador (Rudd-O)
I'm trying to audit my user logs on my system but journalctl shows nothing, saying No journal files were opened due to insufficient permissions. journald has created these files: total 587,776 drwxr-xr-x 2 root root4 Oct 8 22:13 . drwxr-xr-x 3 root root3

Re: [systemd-devel] cannot view my own logs?

2013-10-09 Thread Michael Biebl
2013/10/9 Manuel Amador (Rudd-O) rud...@rudd-o.com: I'm trying to audit my user logs on my system but journalctl shows nothing, saying No journal files were opened due to insufficient permissions. journald has created these files: total 587,776 drwxr-xr-x 2 root root4

[systemd-devel] [PATCH 1/2] manager: connect to private bus even if $DBUS_SESSION_BUS_ADDRESS is not set

2013-10-09 Thread Mantas Mikulėnas
Because that's exactly the kind of situation where the private bus is necessary. --- src/core/manager.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/core/manager.c b/src/core/manager.c index 58dacdc..e183325 100644 --- a/src/core/manager.c +++

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

2013-10-09 Thread Mantas Mikulėnas
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/core/main.c +++ b/src/core/main.c @@ -1404,6 +1404,12 @@ int main(int

Re: [systemd-devel] [PATCH 1/2] manager: connect to private bus even if $DBUS_SESSION_BUS_ADDRESS is not set

2013-10-09 Thread Colin Walters
Your patch seems to be at odds with the commit message; since DBUS_SESSION_BUS_ADDRESS won't be set for the user bus, we won't attempt a connection, right? What you're really trying to fix I assume is the warning systemd outputs when it currently spawns user@? Note I also patched this code in

Re: [systemd-devel] [PATCH 1/2] manager: connect to private bus even if $DBUS_SESSION_BUS_ADDRESS is not set

2013-10-09 Thread Mantas Mikulėnas
On Wed, Oct 9, 2013 at 3:59 PM, Colin Walters walt...@verbum.org wrote: Your patch seems to be at odds with the commit message; since DBUS_SESSION_BUS_ADDRESS won't be set for the user bus, we won't attempt a connection, right? In the current code? Yes, but then it won't attempt to set up the

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

2013-10-09 Thread Kay Sievers
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 kernel throws errors for this at the console: tmpfs: Bad mount

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

[systemd-devel] [PATCH 3/4] cgroups: support for MemorySoftLimit= setting

2013-10-09 Thread Mika Eloranta
Add a MemorySoftLimit setting that behaves the same way as MemoryLimit, except that it controls the memory.soft_limit_in_bytes cgroup attribute. --- man/systemd.resource-control.xml | 7 ++- src/core/cgroup.c | 14 ++ src/core/cgroup.h

[systemd-devel] [PATCH 1/4] cgroups: support for MemoryAndSwapLimit= setting

2013-10-09 Thread Mika Eloranta
Add a MemoryAndSwapLimit setting that behaves the same way as MemoryLimit, except that it controls the memory.memsw.limit_in_bytes cgroup attribute. --- man/systemd.resource-control.xml | 9 +++-- src/core/cgroup.c | 21 ++--- src/core/cgroup.h

[systemd-devel] [PATCH 4/4] cgroups: support for KernelTcpMemoryLimit= setting

2013-10-09 Thread Mika Eloranta
Add a KernelTcpMemoryLimit setting that behaves the same way as KernelMemoryLimit, except that it controls the memory.kmem.tcp.limit_in_bytes cgroup attribute. --- man/systemd.resource-control.xml | 17 + src/core/cgroup.c | 16

[systemd-devel] [PATCH 2/4] cgroups: support for KernelMemoryLimit= setting

2013-10-09 Thread Mika Eloranta
Add a KernelMemoryLimit setting that behaves the same way as MemoryLimit, except that it controls the memory.kmem.limit_in_bytes cgroup attribute. --- man/systemd.resource-control.xml | 5 - src/core/cgroup.c | 18 +- src/core/cgroup.h