Re: [systemd-devel] [PATCH 4/4] mount: Add a new remote-fs* target to delay logins until home dirs are available

2012-07-10 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 09/07/12 23:58 did gyre and gimble: On Mon, 02.07.12 09:15, Colin Guthrie (co...@mageia.org) wrote: Previously, systemd-user-sessions.service started after remote-fs.target. If the user had any NFS mounts defined, this prevented logins until these

Re: [systemd-devel] [PATCH] add keyscript support to cryptsetup

2012-07-10 Thread David Härdeman
On Mon, Jul 09, 2012 at 10:49:56PM +0200, Lennart Poettering wrote: On Fri, 29.06.12 00:56, David Härdeman (da...@hardeman.nu) wrote: Debian's cryptsetup package supports the keyscript= option in /etc/crypttab This patch is a first attempt at implementing support for the same option in

Re: [systemd-devel] GDM service file

2012-07-10 Thread Lennart Poettering
On Tue, 10.07.12 08:27, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: On 07/09/2012 11:48 PM, Lennart Poettering wrote: BTW, as a follow-up to this. In this Fedora feature page you find what I'd propose to use as .service file for the various display managers:

Re: [systemd-devel] [PATCH] analyze: work around bug in Python 3 Cairo bindings

2012-07-10 Thread Lennart Poettering
On Tue, 10.07.12 04:16, Shawn Landen (shawnland...@gmail.com) wrote: From: Shawn Landden shawnland...@gmail.com The python3 version of the Cairo bindings doesn't know how to write to sys.stdout/sys.stderr, which changed from from accepting str in python 2, to accepting a byte stream in

Re: [systemd-devel] Proposal: extend support for user session unit features

2012-07-10 Thread Ran Benita
On Tue, Jul 10, 2012 at 05:00:43AM +, Kok, Auke-jan H wrote: So in short, I'd like to do both: - have systemd chdir to $HOME if uid != 1 - extend the printf specifier list for user sessions with a specifer that can be used in various fields to refer to at minimum $HOME (%h ?) and

Re: [systemd-devel] Hosting a sprint in SF?

2012-07-10 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/09/2012 06:24 PM, Lennart Poettering wrote: On Fri, 29.06.12 09:34, David Strauss (da...@davidstrauss.net) wrote: On Fri, Jun 29, 2012 at 5:58 AM, Lennart Poettering lenn...@poettering.net wrote: It's going to be an

Re: [systemd-devel] Proposal: extend support for user session unit features

2012-07-10 Thread Lennart Poettering
On Tue, 10.07.12 15:32, Ran Benita (ran...@gmail.com) wrote: On Tue, Jul 10, 2012 at 05:00:43AM +, Kok, Auke-jan H wrote: So in short, I'd like to do both: - have systemd chdir to $HOME if uid != 1 - extend the printf specifier list for user sessions with a specifer that can

Re: [systemd-devel] [PATCH] add keyscript support to cryptsetup

2012-07-10 Thread Lennart Poettering
On Tue, 10.07.12 10:35, David Härdeman (da...@hardeman.nu) wrote: I wonder what the precise usecases for this are, and whether we can't find better solutions for these usecases... I originally implemented the keyscript= support in Debian, and the way I see it there are two different

Re: [systemd-devel] [PATCH/resend] systemctl: check the argument to -t for invalid values

2012-07-10 Thread Lennart Poettering
On Wed, 06.06.12 12:07, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Systemctl accepted anything as the argument for -t, and simply said '0 units found'. It is better to catch this user error early. heya! sorry for the really late review! I like the idea, but a few comments. ---

Re: [systemd-devel] [PATCH/resend] systemctl: check the argument to -t for invalid values

2012-07-10 Thread Lennart Poettering
On Tue, 10.07.12 16:45, Lennart Poettering (lenn...@poettering.net) wrote: On Wed, 06.06.12 12:07, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Systemctl accepted anything as the argument for -t, and simply said '0 units found'. It is better to catch this user error early.

Re: [systemd-devel] [PATCH] add keyscript support to cryptsetup

2012-07-10 Thread Frederic Crozat
Le mardi 10 juillet 2012 à 16:25 +0200, Lennart Poettering a écrit : 3) systemd specific solution Converting keyscript= scripts to password agents introduce a strong dependency on systemd. I realize that you don't consider it to be a problem but I'm guessing it wouldn't be acceptable

Re: [systemd-devel] [PATCH 2/4] systemctl: check the argument to -t for invalid values

2012-07-10 Thread Lennart Poettering
On Wed, 06.06.12 16:56, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Systemctl accepted anything as the argument for -t, and simply said '0 units found'. It is better to catch this user error early. OK, merged the first two. Lennart -- Lennart Poettering - Red Hat, Inc.

Re: [systemd-devel] [PATCH] add keyscript support to cryptsetup

2012-07-10 Thread Lennart Poettering
On Tue, 10.07.12 17:07, Frederic Crozat (fcro...@suse.com) wrote: Le mardi 10 juillet 2012 à 16:25 +0200, Lennart Poettering a écrit : 3) systemd specific solution Converting keyscript= scripts to password agents introduce a strong dependency on systemd. I realize that you don't

Re: [systemd-devel] [PATCH 4/4] systemctl: filter shown units by their load state

2012-07-10 Thread Lennart Poettering
On Wed, 06.06.12 16:56, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: E.g. systemctl --all -t masked gives the list of masked units. The -t/--type option is reused. This is possible because unit types and unit load states are called differently, so it is possible to distinguish

Re: [systemd-devel] [PATCH 4/4] mount: Add a new remote-fs* target to delay logins until home dirs are available

2012-07-10 Thread Lennart Poettering
On Tue, 10.07.12 09:23, Colin Guthrie (gm...@colin.guthr.ie) wrote: 'Twas brillig, and Lennart Poettering at 09/07/12 23:58 did gyre and gimble: On Mon, 02.07.12 09:15, Colin Guthrie (co...@mageia.org) wrote: Previously, systemd-user-sessions.service started after remote-fs.target. If

Re: [systemd-devel] Proposal: extend support for user session unit features

2012-07-10 Thread Kok, Auke-jan H
On Tue, Jul 10, 2012 at 2:06 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 10.07.12 15:32, Ran Benita (ran...@gmail.com) wrote: On Tue, Jul 10, 2012 at 05:00:43AM +, Kok, Auke-jan H wrote: So in short, I'd like to do both: - have systemd chdir to $HOME if uid != 1

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-10 Thread Casey Dahlin
On Mon, Jul 09, 2012 at 06:17:13PM -0400, Kristian Høgsberg wrote: No, wayland is the protocol, weston is the compositor building toolkit. If you want an EGL compositor on KMS with evdev input, you But we don't want an EGL compositor. We want bare-bones KMS support. One of the things he

Re: [systemd-devel] [PATCH] Possible fix for complex automounts

2012-07-10 Thread Lennart Poettering
On Tue, 05.06.12 21:10, Malte Starostik (li...@malte.homeip.net) wrote: From: Malte Starostik m-staros...@versanet.de If accessing an automount point triggers more changes to /proc/self/mountinfo than just to add the directly wanted mount, these changes can lead to spurious -ENODEV

Re: [systemd-devel] [PATCH 4/4] mount: Add a new remote-fs* target to delay logins until home dirs are available

2012-07-10 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 10/07/12 17:16 did gyre and gimble: On Tue, 10.07.12 09:23, Colin Guthrie (gm...@colin.guthr.ie) wrote: 'Twas brillig, and Lennart Poettering at 09/07/12 23:58 did gyre and gimble: On Mon, 02.07.12 09:15, Colin Guthrie (co...@mageia.org) wrote:

Re: [systemd-devel] systemd and templates

2012-07-10 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 09/07/12 23:54 did gyre and gimble: On Mon, 25.06.12 09:43, Michal Sekletar (msekl...@redhat.com) wrote: Another feature which systemd currently doesn't support and it's closely related to previous issues, is starting instances based on configuration.

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-10 Thread Kristian Høgsberg
On Tue, Jul 10, 2012 at 12:22:13PM -0400, Casey Dahlin wrote: On Mon, Jul 09, 2012 at 06:17:13PM -0400, Kristian Høgsberg wrote: No, wayland is the protocol, weston is the compositor building toolkit. If you want an EGL compositor on KMS with evdev input, you But we don't want an EGL

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-10 Thread Casey Dahlin
On Tue, Jul 10, 2012 at 02:15:40PM -0400, Kristian Høgsberg wrote: On Tue, Jul 10, 2012 at 12:22:13PM -0400, Casey Dahlin wrote: On Mon, Jul 09, 2012 at 06:17:13PM -0400, Kristian Høgsberg wrote: No, wayland is the protocol, weston is the compositor building toolkit. If you want an EGL

Re: [systemd-devel] Hosting a sprint in SF?

2012-07-10 Thread David Strauss
On Tue, Jul 10, 2012 at 5:47 AM, Daniel J Walsh dwa...@redhat.com wrote: We have been talking to the openshift guys on the side and have explained what we are doing. They are interested and will probably be some of the first people to play with it, once it is ready. Would any of them be

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-10 Thread David Herrmann
Hi Kristian On Tue, Jul 10, 2012 at 8:15 PM, Kristian Høgsberg hoegsb...@gmail.com wrote: On Tue, Jul 10, 2012 at 12:22:13PM -0400, Casey Dahlin wrote: On Mon, Jul 09, 2012 at 06:17:13PM -0400, Kristian Høgsberg wrote: No, wayland is the protocol, weston is the compositor building toolkit.

Re: [systemd-devel] Proposal: extend support for user session unit features

2012-07-10 Thread Ran Benita
On Tue, Jul 10, 2012 at 04:20:14PM +, Kok, Auke-jan H wrote: On Tue, Jul 10, 2012 at 2:06 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 10.07.12 15:32, Ran Benita (ran...@gmail.com) wrote: On Tue, Jul 10, 2012 at 05:00:43AM +, Kok, Auke-jan H wrote: So in short,

[systemd-devel] Possible approach for warning about needing persistent data

2012-07-10 Thread David Strauss
Right now, there's a warning to unprivileged users that they can only see their own logs. This is a misleading out of the box because such users can never see logs until they create /var/log/journal and entries exist for the user log. I would especially like feedback on whether it's going too far

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-10 Thread Casey Dahlin
On Tue, Jul 10, 2012 at 09:29:05PM +0200, David Herrmann wrote: I don't think this is currently possible with the weston codebase, as we require each compositor-backend to allow multiple surfaces. This part is all the conversation was about. --CJD

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-10 Thread David Herrmann
On Tue, Jul 10, 2012 at 9:57 PM, Casey Dahlin cdah...@redhat.com wrote: On Tue, Jul 10, 2012 at 09:29:05PM +0200, David Herrmann wrote: I don't think this is currently possible with the weston codebase, as we require each compositor-backend to allow multiple surfaces. This part is all the

Re: [systemd-devel] [RFC] VTs for multiple seats

2012-07-10 Thread Christopher James Halse Rogers
On Tue, 2012-07-10 at 21:29 +0200, David Herrmann wrote: Hi Kristian On Tue, Jul 10, 2012 at 8:15 PM, Kristian Høgsberg hoegsb...@gmail.com wrote: On Tue, Jul 10, 2012 at 12:22:13PM -0400, Casey Dahlin wrote: On Mon, Jul 09, 2012 at 06:17:13PM -0400, Kristian Høgsberg wrote: No,

Re: [systemd-devel] Hosting a sprint in SF?

2012-07-10 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/10/2012 02:33 PM, David Strauss wrote: On Tue, Jul 10, 2012 at 5:47 AM, Daniel J Walsh dwa...@redhat.com wrote: We have been talking to the openshift guys on the side and have explained what we are doing. They are interested and will