Re: [systemd-devel] systemd headers missing and compiling failed

2014-05-13 Thread Matthew Monaco
On 05/13/2014 04:44 AM, winew...@qq.com wrote: hi all, i tried to compile some source code on archlinux (v 2014.05.01), but i got an error: (header missing ?) fatal error:*systemd/sd-event.h*: No such file or directory #include systemd/sd-event.h ^ compilation terminated.

Re: [systemd-devel] Cache passphrase for cryptsetup?

2014-04-20 Thread Matthew Monaco
On 04/19/2014 02:49 PM, Nikolaus Rath wrote: Hello, I have several LUKS encrypted volumes that use the same passphrase. Before switching to systemd, I have used the decrypt_keyctl keyscript to cache the passphrase, so that I have to enter it only once. As far as I can tell, the systemd

[systemd-devel] [PATCH] cryptsetup: copy value, not key for (rd.)luks.key

2014-04-19 Thread Matthew Monaco
--- Semi-shameless bump, but new email address would be preferred src/cryptsetup/cryptsetup-generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c index 75d56dd..f4eeb2a 100644 ---

[systemd-devel] [PATCH] cryptsetup: copy value, not key for (rd.)luks.key

2014-04-05 Thread Matthew Monaco
From: Matthew Monaco matthew.mon...@0x01b.net --- Really? No one has used this? src/cryptsetup/cryptsetup-generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c index 75d56dd..f4eeb2a 100644

Re: [systemd-devel] systemd-networkd and After=network.target

2014-04-02 Thread Matthew Monaco
On 04/02/2014 03:41 AM, Ivan Shapovalov wrote: Hello all, I've noticed that systemd-networkd.service (ordered Before=network.target) finishes its startup before the connection is established/failed. Because of this, some networking daemons ordered After=network.target (like openvpn) are

[systemd-devel] [RFC PATCH] networkd: add 'search' to resolv.conf

2014-03-29 Thread Matthew Monaco
From: Matthew Monaco matthew.mon...@0x01b.net --- man/systemd.network.xml | 6 ++ src/network/networkd-manager.c | 3 +++ src/network/networkd-network-gperf.gperf | 1 + src/network/networkd-network.c | 1 + src/network/networkd.h | 1

[systemd-devel] [PATCH] pam_systemd: Ignore vtnr when seat != seat0

2014-01-24 Thread Matthew Monaco
From: Matthew Monaco matthew.mon...@0x01b.net logind considers it an error for a seat other than seat0 to have a non-zero vtnr for CreateSession --- This is what I've been using for the past 3 weeks. src/login/pam-module.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/login/pam

[systemd-devel] Multiseat session creation fail, VT number not 0

2014-01-03 Thread Matthew Monaco
I was having trouble getting a session on seat1 with v208, so I moved to git which has a nicer error message than EINVAL: pam_systemd(lightdm:session): Asking logind to create session: uid=1000 pid=637 service=lightdm type=x11 class=user seat=seat1 vtnr=2 tty= display=:1 remote=no remote_user=

Re: [systemd-devel] Multiseat session creation fail, VT number not 0

2014-01-03 Thread Matthew Monaco
On 01/03/2014 07:51 AM, David Herrmann wrote: Hi On Fri, Jan 3, 2014 at 3:24 PM, Matthew Monaco m...@0x01b.net wrote: I was having trouble getting a session on seat1 with v208, so I moved to git which has a nicer error message than EINVAL: pam_systemd(lightdm:session): Asking logind

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

2013-04-03 Thread Matthew Monaco
On 04/03/2013 08: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 than u-s-u's

[systemd-devel] isolate and socket activation

2013-03-22 Thread Matthew Monaco
I noticed that when isolating a target that requires a unit.socket, the unit.service which the socket activates will be stopped. Is this intentional? I expected the service to be left alone (even in the weaker case that the socket wasn't already active).

[systemd-devel] [PATCH v3] pam_systemd: new option for the session class

2012-12-24 Thread Matthew Monaco
From: Matthew Monaco matthew.mon...@0x01b.net --- man/pam_systemd.xml| 9 + src/login/pam-module.c | 12 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml index 2d2f191..600bfd7 100644 --- a/man/pam_systemd.xml

[systemd-devel] [PATCH v2] pam_systemd: new option for the session class

2012-12-20 Thread Matthew Monaco
From: Matthew Monaco matthew.mon...@0x01b.net --- man/pam_systemd.xml| 9 + src/login/pam-module.c | 12 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml index 2d2f191..5cf14b2 100644 --- a/man/pam_systemd.xml

[systemd-devel] [PATCH] pam_systemd: new option for the session class

2012-11-27 Thread Matthew Monaco
From: Matthew Monaco matthew.mon...@0x01b.net --- I don't see any reason why every DM (LightDM for me) needs code to support this. It looks to me like its safe to just point to the data in argv, let me know if it isn't. man/pam_systemd.xml| 9 + src/login/pam-module.c | 14

Re: [systemd-devel] WISHLIST: systemd git-like CLI/ui/command interface

2012-11-23 Thread Matthew Monaco
On 11/23/2012 02:27 AM, Henrik Grindal Bakken wrote: Colin Guthrie gm...@colin.guthr.ie writes: I don't think this really applies here. The day-to-day commands are really systemctl, journalctl and loginctl (although the last one is likely not often used). I think it's a bit annoying that

Re: [systemd-devel] Questions on setting up a Truecrypt volume management service

2012-10-15 Thread Matthew Monaco
On 10/15/2012 04:42 AM, Jakob Hetzelein wrote: Dear list, since there don't seem to be many people around worrying about the interaction between *Truecrypt and systemd*, I recently encountered the problem of incorporating the mounting of my home directory neatly into systemd's start up

Re: [systemd-devel] XDM and systemd --user

2012-09-28 Thread Matthew Monaco
On 09/28/2012 05:54 AM, Peter Lemenkov wrote: Hello All! 2012/9/28 Peeters Simon peeters.si...@gmail.com: Second question - I've lost all /etc/profile stuff which was set up somehow in the depths of Xorg-related script's swamp. I'd like to run it (as well as some other shell scripts) and

Re: [systemd-devel] XDM and systemd --user

2012-09-28 Thread Matthew Monaco
On 09/28/2012 01:09 PM, Kok, Auke-jan H wrote: On Fri, Sep 28, 2012 at 11:58 AM, Mantas Mikulėnas graw...@gmail.com wrote: On Fri, Sep 28, 2012 at 9:47 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Fri, Sep 28, 2012 at 4:23 AM, Peeters Simon peeters.si...@gmail.com wrote: 2012/9/28

Re: [systemd-devel] [PATCH] cryptsetup: add keyfile-offset= support

2012-07-09 Thread Matthew Monaco
On 07/09/2012 10:51 AM, Lennart Poettering wrote: On Fri, 29.06.12 13:40, Tom Gundersen (t...@jklm.no) wrote: This is useful if your keyfile is a block device, and you want to use a specific part of it, such as an area between the MBR and the first partition. This feature is documented in

[systemd-devel] [PATCH] cryptsetup: support discards (TRIM)

2012-05-19 Thread Matthew Monaco
From: Matthew Monaco matthew.mon...@0x01b.net --- src/cryptsetup/cryptsetup.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 6d4e965..b26fcca 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c