Re: [systemd-devel] initrd mount wrongly unmounted during bootup

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov arvidj...@gmail.com wrote on 03/11/2015 08:44:28 PM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/11/2015 08:44 PM Subject: Re: [systemd-devel] initrd mount wrongly unmounted during bootup В Wed,

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov arvidj...@gmail.com wrote on 03/11/2015 08:47:43 PM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/11/2015 08:47 PM Subject: Re: [systemd-devel] minimal required units В Wed, 11 Mar 2015 12:02:29

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Peter Sztan sztan...@gmail.com wrote on 03/12/2015 09:33:38 AM: From: Peter Sztan sztan...@gmail.com To: aaron_wri...@selinc.com Cc: systemd Mailing List systemd-devel@lists.freedesktop.org Date: 03/12/2015 09:33 AM Subject: Re: [systemd-devel] minimal required units Sorry for the noise,

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov arvidj...@gmail.com wrote on 03/12/2015 12:18:15 PM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/12/2015 12:18 PM Subject: Re: [systemd-devel] minimal required units В Thu, 12 Mar 2015 11:09:57

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov arvidj...@gmail.com wrote on 03/12/2015 10:38:19 AM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/12/2015 10:38 AM Subject: Re: [systemd-devel] minimal required units В Thu, 12 Mar 2015 09:42:25

[systemd-devel] Failure(s) Building Systemd with --enable-resolved

2015-04-21 Thread Aaron_Wright
I've been getting a few problems building systemd with --enable-resolved . Any help would be very welcomed. I don't have any problems when compiling with --disable-resolved. The first problem I got was this: CCLD libnss_resolve.la libsystemd_internal_la-bus-message.o (symbol from plugin):

Re: [systemd-devel] Failure(s) Building Systemd with --enable-resolved

2015-04-23 Thread Aaron_Wright
Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote on 04/21/2015 01:51:29 PM: On Tue, Apr 21, 2015 at 08:39:35AM -0700, aaron_wri...@selinc.com wrote: I've been getting a few problems building systemd with --enable-resolved . Any help would be very welcomed. I don't have any problems when

Re: [systemd-devel] Failure(s) Building Systemd with --enable-resolved

2015-04-23 Thread Aaron_Wright
Lennart Poettering lenn...@poettering.net wrote on 04/22/2015 04:29:18 PM: On Tue, 21.04.15 08:39, aaron_wri...@selinc.com (aaron_wri...@selinc.com) wrote: I've been getting a few problems building systemd with --enable-resolved . Any help would be very welcomed. I don't have any

Re: [systemd-devel] Failure(s) Building Systemd with --enable-resolved

2015-04-23 Thread Aaron_Wright
Lennart Poettering lenn...@poettering.net wrote on 04/23/2015 09:59:38 AM: On Thu, 23.04.15 09:43, aaron_wri...@selinc.com (aaron_wri...@selinc.com) wrote: I cloned down the master branch yesterday and tried to build, but got: src/shared/random-util.c:26:22: fatal error: sys/auxv.h:

Re: [systemd-devel] Failure(s) Building Systemd with --enable-resolved

2015-04-23 Thread Aaron_Wright
Lennart Poettering lenn...@poettering.net wrote on 04/23/2015 10:35:12 AM: On Thu, 23.04.15 10:16, aaron_wri...@selinc.com (aaron_wri...@selinc.com) wrote: Lennart Poettering lenn...@poettering.net wrote on 04/23/2015 09:59:38 AM: On Thu, 23.04.15 09:43, aaron_wri...@selinc.com

Re: [systemd-devel] initrd mount inactive

2015-04-29 Thread Aaron_Wright
Lennart Poettering lenn...@poettering.net wrote on 04/27/2015 12:47:38 PM: On Mon, 27.04.15 11:47, aaron_wri...@selinc.com (aaron_wri...@selinc.com) wrote: I applied commit 628c89cc68ab96fce2de7ebba5933725d147aecc - core: rework device state logic, but now I'm left with a random chance

Re: [systemd-devel] initrd mount inactive

2015-04-30 Thread Aaron_Wright
Lennart Poettering lenn...@poettering.net wrote on 04/30/2015 02:39:45 AM: On Wed, 29.04.15 12:09, aaron_wri...@selinc.com (aaron_wri...@selinc.com) wrote: I applied those other commits you listed, and I took a look at the lvm2 package, which was being compile with --disable-udev_sync

Re: [systemd-devel] kexec returns error code 1

2015-06-18 Thread Aaron_Wright
Lennart Poettering lenn...@poettering.net wrote on 06/18/2015 11:10:49 AM: On Fri, 22.05.15 15:59, aaron_wri...@selinc.com (aaron_wri...@selinc.com) wrote: I'm trying to get kexec reboots to work on my box with systemd. I can get kexec -l ... and kexec -e to work when ran straight from

[systemd-devel] systemctl as non-root

2015-05-28 Thread Aaron_Wright
I'm working on an embedded system, and I ran into a situation where a non-root user needs to runs systemctl, but when I try I get: ~ $ systemctl status Failed to get D-Bus connection: No such file or directory So, I try with the suid bit on systemctl set, but then I get: ~ $ systemctl status

Re: [systemd-devel] systemctl as non-root

2015-05-28 Thread Aaron_Wright
Brandon Philips bran...@ifup.co wrote on 05/28/2015 05:10:33 PM: Access to the system dbus is controlled by dbus policies. You will need to write a policy for giving this user access to the systemd1 object. I compiled systemd without dbus support (--disable-dbus), and there is no dbus

Re: [systemd-devel] systemctl as non-root

2015-05-29 Thread Aaron_Wright
I compiled systemd without dbus support (--disable-dbus), and there is no dbus daemon or dbus lib on the system. Is that a requirement to get the functionality I want? I didn't see much need for dbus as the system works quite well without it. Well, except for this of course.

[systemd-devel] kexec returns error code 1

2015-05-22 Thread Aaron_Wright
I'm trying to get kexec reboots to work on my box with systemd. I can get kexec -l ... and kexec -e to work when ran straight from the command line, but when I run kexec -l ... and systemctl kexec I get kexec returned error code 1 and it falls back to a full reboot. I've puzzled over this for a

Re: [systemd-devel] tmp.mount inactive => /tmp not mounted

2015-09-14 Thread Aaron_Wright
Andrei Borzenkov wrote on 09/12/2015 12:37:03 AM: > 12.09.2015 03:51, aaron_wri...@selinc.com пишет: > > I recently switched to using systemd in my initrd, and nearly everything > > works fine, expect now the system comes up without /tmp being mounted > > correctly. I'm not

[systemd-devel] tmp.mount inactive => /tmp not mounted

2015-09-11 Thread Aaron_Wright
I recently switched to using systemd in my initrd, and nearly everything works fine, expect now the system comes up without /tmp being mounted correctly. I'm not sure where to start looking. Can anyone nudge me in the right direction? The tmp.mount unit seems to be inactive. It didn't do that

[systemd-devel] Simple oneshot service before switching root leads to no /var mount

2015-09-28 Thread Aaron_Wright
I'm rolling my own initrd, and I'm trying to run a oneshot service in initrd just before the switch root happens. I added this unit to the initrd and enabled it. [Unit] Description=Test Unit Requires=initrd-fs.target After=initrd-fs.target [Service] Type=oneshot ExecStart=/bin/sh -c "echo

Re: [systemd-devel] Simple oneshot service before switching root leads to no /var mount

2015-09-30 Thread Aaron_Wright
From: aaron_wri...@selinc.com > I'm rolling my own initrd, and I'm trying to run a oneshot service > in initrd just before the switch root happens. I added this unit to > the initrd and enabled it. > > [Unit] > Description=Test Unit > Requires=initrd-fs.target > After=initrd-fs.target >

Re: [systemd-devel] Rename NIC by using dynamic MAC

2015-12-03 Thread Aaron_Wright
> From: Kaesbauer Michael > Hi, > > up to now I found no way to write an udev rule which renames a > specific NIC by using a MAC address that is returned by a bash > script. The reason for getting the MAC address by the bash script is > that the renaming NIC rule

[systemd-devel] Can udev assist?

2015-11-20 Thread Aaron_Wright
I have a script that creates a partition (using pyparted) and then tries to format it (using mkfs.ext4). Most of the time this works OK. However, sometimes the format fails because it can't find the device. There seems to be a race condition due to a delay between creating a partition and the

Re: [systemd-devel] Can udev assist?

2015-11-20 Thread Aaron_Wright
> From: Reindl Harald > Am 20.11.2015 um 18:08 schrieb aaron_wri...@selinc.com: > > I have a script that creates a partition (using pyparted) and then tries > > to format it (using mkfs.ext4). Most of the time this works OK. However, > > sometimes the format fails

Re: [systemd-devel] Can udev assist?

2015-11-20 Thread Aaron_Wright
Andrei Borzenkov wrote on 11/20/2015 09:40:35 AM: > 20.11.2015 20:08, aaron_wri...@selinc.com пишет: > > I have a script that creates a partition (using pyparted) and then tries > > to format it (using mkfs.ext4). Most of the time this works OK. However, > > sometimes the

[systemd-devel] When System is Degraded

2016-06-06 Thread Aaron_Wright
I'm using systemd in an embedded device that some some LEDs. I'd like to make an LED red when the system starts up degraded, and green when everything is working normally. I'm having a hard time figuring out where to fit this in. I tried using a service that runs "systemctl is-system-running"

Re: [systemd-devel] When System is Degraded

2016-06-07 Thread Aaron_Wright
Lennart Poettering wrote on 06/07/2016 02:44:18 AM: > aaron_wri...@selinc.com wrote: > > What's a better way to run a command when the system is "running" vs > > "degraded"? > > Hmm, that's a very good question. > > Other than suggesting to write a small service that

Re: [systemd-devel] euid 0 not honored authenticating control socket?

2016-01-21 Thread Aaron_Wright
> From: Charles Duffy > To: "systemd-devel@lists.freedesktop.org" de...@lists.freedesktop.org> > Date: 01/21/2016 10:12 AM > Subject: [systemd-devel] euid 0 not honored authenticating control socket? > Sent by: "systemd-devel" >