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 > ^ > compilation terminated. > I get

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 syst

[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 --- a/src/crypt

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

2014-04-05 Thread Matthew Monaco
From: Matthew Monaco --- 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 --- a/src/cryptsetup

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

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

2014-03-29 Thread Matthew Monaco
From: Matthew Monaco --- 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 + 5 files changed, 12

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

2014-01-24 Thread Matthew Monaco
From: Matthew Monaco 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-module.c b/src/

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

[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= rem

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 w

[systemd-devel] isolate and socket activation

2013-03-22 Thread Matthew Monaco
I noticed that when isolating a target that requires a .socket, the .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). ___ syst

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

2012-12-24 Thread Matthew Monaco
From: Matthew Monaco --- 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 +++ b/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 --- 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 +++ b/man/pam_systemd.xml

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

2012-11-27 Thread Matthew Monaco
From: Matthew Monaco --- 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 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 systemctl i

Re: [systemd-devel] cryptsetup: disk unlocking order

2012-10-28 Thread Matthew Monaco
On 10/28/2012 08:33 AM, Martin Blumenstingl wrote: > Hi, > > I switched to systemd yesterday as I was curious if/how it would work > out for me. > There is one really annoying thing so far: > > I have 3 hard disks listed in /etc/crypttab. > I have to enter a password for each one at boot time. >

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 01:09 PM, Kok, Auke-jan H wrote: > On Fri, Sep 28, 2012 at 11:58 AM, Mantas Mikulėnas wrote: >> On Fri, Sep 28, 2012 at 9:47 PM, Kok, Auke-jan H >> wrote: >>> On Fri, Sep 28, 2012 at 4:23 AM, Peeters Simon >>> wrote: 2012/9/28 Peter Lemenkov : > Hello All! Hello

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 : >>> 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 borrow its env

Re: [systemd-devel] [RFC] logind lid switch inhibitors

2012-09-18 Thread Matthew Monaco
On 09/18/2012 08:57 PM, Alexander E. Patrakov wrote: > David Herrmann wrote: >> I don't use any DEs but often close the lid while some background job >> is running (compiler or whatever). > > Do you do that while on battery? If not, then I'd say that a good idea would > be to suspend only if clo

Re: [systemd-devel] Journald Scalability

2012-09-10 Thread Matthew Monaco
On 09/10/2012 02:24 PM, Lennart Poettering wrote: > On Mon, 10.09.12 15:56, Roland Schatz (roland.sch...@students.jku.at) wrote: > >> On 10.09.2012 09:57, Lennart Poettering wrote: >>> Well, I am not aware of anybody having done measurements recently >>> about this. But I am not aware of anybody r

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 doc

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

2012-05-19 Thread Matthew Monaco
From: Matthew Monaco --- 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 @@ -41,6 +41,7 @@ static