[systemd-devel] systemd.mount questions

2013-07-29 Thread lux-integ
I am attempting to learn how to use systemd. I read the man page on systemd.mount ( http://www.freedesktop.org/software/systemd/man/systemd.mount.html ) and I have two questions 1: say you want to mount proc, sys, run, dev, devpts, tmpfs do you need multiple systemd.mount files (1 for

Re: [systemd-devel] systemd.mount questions

2013-07-29 Thread Colin Guthrie
'Twas brillig, and lux-integ at 29/07/13 12:39 did gyre and gimble: I am attempting to learn how to use systemd. I read the man page on systemd.mount ( http://www.freedesktop.org/software/systemd/man/systemd.mount.html ) and I have two questions 1: say you want to mount proc, sys,

Re: [systemd-devel] systemd.mount questions

2013-07-29 Thread Dave Reisner
On Mon, Jul 29, 2013 at 12:39:40PM +0100, lux-integ wrote: I am attempting to learn how to use systemd. I read the man page on systemd.mount ( http://www.freedesktop.org/software/systemd/man/systemd.mount.html ) and I have two questions 1: say you want to mount proc, sys, run, dev,

Re: [systemd-devel] systemd.mount questions

2013-07-29 Thread Kay Sievers
On Mon, Jul 29, 2013 at 1:39 PM, lux-integ lux-in...@btconnect.com wrote: I am attempting to learn how to use systemd. I read the man page on systemd.mount ( http://www.freedesktop.org/software/systemd/man/systemd.mount.html ) and I have two questions 1: say you want to mount proc, sys,

Re: [systemd-devel] [PATCH] shell-completion: fix zsh completion installation

2013-07-29 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 25, 2013 at 02:00:06PM -0500, William Giokas wrote: Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: Makes sense, imho. Should we go one step further and split _systemd like the bash

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

2013-07-29 Thread Abdó Roig-Maranges
Hi, Then, I want to manually launch my window manager, in a new logind session for my user, on a different tty. I tried adding User and PAMName to my window manager unit awesome.service ... The unit fails with message systemd[21209]: Failed at step GROUP spawning

Re: [systemd-devel] [PATCH] shell-completion: fix zsh completion installation

2013-07-29 Thread William Giokas
On Mon, Jul 29, 2013 at 04:07:31PM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Jul 25, 2013 at 02:00:06PM -0500, William Giokas wrote: Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: Makes

Re: [systemd-devel] [PATCH] shell-completion: fix zsh completion installation

2013-07-29 Thread William Giokas
On Mon, Jul 29, 2013 at 12:23:54PM -0500, William Giokas wrote: On Mon, Jul 29, 2013 at 04:07:31PM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Jul 25, 2013 at 02:00:06PM -0500, William Giokas wrote: Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake.

[systemd-devel] [GIT PULL] Split out zsh completion into multiple files

2013-07-29 Thread William Giokas
All, This patch set splits out the zsh completion into 13 distinct files that are installed separately, similar to the bash completion system. There is also a final commit that changes the journalctl completion to work with the new use of -b/--boot. This also replaces all of the previous unmerged

Re: [systemd-devel] [PATCH] shell-completion: fix zsh completion installation

2013-07-29 Thread William Giokas
On Mon, Jul 29, 2013 at 04:07:31PM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Jul 25, 2013 at 02:00:06PM -0500, William Giokas wrote: Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: Makes

Re: [systemd-devel] [GIT PULL v2] Split out zsh completion into multiple files

2013-07-29 Thread William Giokas
On Mon, Jul 29, 2013 at 02:53:17PM -0500, William Giokas wrote: All, This patch set splits out the zsh completion into 13 distinct files that are installed separately, similar to the bash completion system. There is also a final commit that changes the journalctl completion to work with the

Re: [systemd-devel] [GIT PULL] Split out zsh completion into multiple files

2013-07-29 Thread Michael Biebl
2013/7/29 William Giokas 1007...@gmail.com: This patch set splits out the zsh completion into 13 distinct files that are installed separately, similar to the bash completion system. There One of the main reasons why the bash completion was split into separate files named after the individual

Re: [systemd-devel] [GIT PULL] Split out zsh completion into multiple files

2013-07-29 Thread William Giokas
On Tue, Jul 30, 2013 at 12:05:00AM +0200, Michael Biebl wrote: 2013/7/29 William Giokas 1007...@gmail.com: This patch set splits out the zsh completion into 13 distinct files that are installed separately, similar to the bash completion system. There One of the main reasons why the bash

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

2013-07-29 Thread Lennart Poettering
On Sat, 27.07.13 21:47, Abdó Roig-Maranges (abdo.r...@gmail.com) wrote: Hello, I'm happily using systemd 204 user instance to handle my desktop (xorg, awesome wm, mpd, etc.) in Arch. I started experimenting with systemd 206 trying to adapt my setup to the changes in cgroups, slices,

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

2013-07-29 Thread Lennart Poettering
On Mon, 29.07.13 18:19, Abdó Roig-Maranges (abdo.r...@gmail.com) wrote: Also, there is dbus policy preventing from accessing the CreateSession method in logind1.Manager from unprivileged users. Is this intentional? Yes it is. CreateSession()/ReleaseSession() are only used by pam_systemd, by

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

2013-07-29 Thread Lennart Poettering
On Mon, 29.07.13 18:19, Abdó Roig-Maranges (abdo.r...@gmail.com) wrote: I think initgroups in core/execute.c always needs privileges. It is always called when User=blah is set on a service file and always fails on systemd user instances for unprivileged users. This prevents from using PAM

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

2013-07-29 Thread Lennart Poettering
On Tue, 30.07.13 01:02, Lennart Poettering (lenn...@poettering.net) wrote: Either use a display manager or simply update your existing session's tty to graphical temporarily, rather then placing things on a new tty. (Note that the Fedora startx script does this implicitly this way) To

Re: [systemd-devel] [Feature request] A way to native import /proc/cmdline within unit

2013-07-29 Thread Lennart Poettering
On Thu, 25.07.13 19:35, Gerardo Exequiel Pozzi (vmlinuz...@yahoo.com.ar) wrote: On 07/25/2013 05:06 PM, Lennart Poettering wrote: On Sat, 20.07.13 16:37, Gerardo Exequiel Pozzi (vmlinuz...@yahoo.com.ar) wrote: Hello I am maintainer of Archiso project (The Arch Linux live ISO

Re: [systemd-devel] [Feature request] A way to native import /proc/cmdline within unit

2013-07-29 Thread Gerardo Exequiel Pozzi
On 07/29/2013 08:12 PM, Lennart Poettering wrote: On Thu, 25.07.13 19:35, Gerardo Exequiel Pozzi (vmlinuz...@yahoo.com.ar) wrote: On 07/25/2013 05:06 PM, Lennart Poettering wrote: On Sat, 20.07.13 16:37, Gerardo Exequiel Pozzi (vmlinuz...@yahoo.com.ar) wrote: Hello I am maintainer of

Re: [systemd-devel] [PATCH] build: do not link everything with -lrt (and therefore -pthread)

2013-07-29 Thread Kay Sievers
On Sun, Jul 28, 2013 at 11:48 PM, Jan Engelhardt jeng...@inai.de wrote: On Monday 2013-07-22 05:57, Shawn Landden wrote: diff --git a/Makefile.am b/Makefile.am index 3ece887..f96866c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1832,6 +1832,7 @@ libsystemd_daemon_internal_la_SOURCES = \

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

2013-07-29 Thread Abdó Roig-Maranges
Hi, Thanks a lot for your explanations! Either use a display manager or simply update your existing session's tty to graphical temporarily, rather then placing things on a new tty. (Note that the Fedora startx script does this implicitly this way) I figured I could use a systemd unit as a

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

2013-07-29 Thread Tony Seo
Hello. I'm Tony. 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 view, I need to edit my service option which

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.

[systemd-devel] .automount from user?

2013-07-29 Thread rektide
Hello. I'm curious, and perhaps maybe lazy: is there any way to do automount units from a user systemd instance? I suppose I could write some silly script that collects automount files out of the user units directories and validates and accepts them, but it would be stellar if systemd had some