Re: [systemd-devel] A few GitHub team changes

2015-10-16 Thread David Timothy Strauss
On Wed, Oct 14, 2015 at 9:35 AM Jóhann B. Guðmundsson wrote: > What makes up that members list [1] in the first place? > I think it includes anyone on any team associated with the organization. It also provides organization-level permissions for things like making new

Re: [systemd-devel] Overriding WantedBy and Alias directives

2015-10-16 Thread Chris Bell
On 2015-10-16 18:30, Andrei Borzenkov wrote: 16.10.2015 17:41, Chris Bell пишет: [Install] WantedBy= # To clear out previous wantedby params, though this doesn't seem to work like that. Documentation doesn't say it should, so I'm not surprised. Only selected

Re: [systemd-devel] Block device shutdown "hook"

2015-10-16 Thread Ian Pilcher
On 10/16/2015 05:25 AM, Kay Sievers wrote: Systemd, as the very last step at system reboot/shutdown tries to stop/disassemle/unmount all active mounts/mapper/loop/... devices, but that works only for simple storage setups and has no hooks for other tools. This is the DM_DEV_REMOVE ioctl call

[systemd-devel] dmsetup or cryptsetup hangs in the initrd

2015-10-16 Thread Sean MacLennan
In RedHat 7 I am trying to setup a partition with dmsetup. I have attached a tarball that includes three files: * go.sh is a simple script to install everything * install is the dracut module install * 95dmcrypt.sh is the file I want to run at boot time The module is 99securevm. Obviously, this

[systemd-devel] quota-support in systemd-nspawn

2015-10-16 Thread Andreas Matthus
Hallo, systemd ist a great solution! ;-) My question is using xfs-quotas inside a systemd-nspawn-container. I mount a xfs-filesystem in the host with usrquota,grpquota and can working with quotas in it. The mountpoint is in a folder down of the startfolder from the systemd-nspawn-container. So

Re: [systemd-devel] How does systemd discover template instances?

2015-10-16 Thread Ansgar Burchardt
Michael Chapman writes: > On Thu, 15 Oct 2015, Stuart Longland wrote: >> Assuming I have a few files distributed in the base package: >> /lib/systemd/system/comms-drivers.service >> /lib/systemd/system/comms-drivers@.service >> >> Ordinarily, one would tell

Re: [systemd-devel] Block device shutdown "hook"

2015-10-16 Thread Kay Sievers
On Fri, Oct 16, 2015 at 1:55 AM, Ian Pilcher wrote: > Does systemd provide any sort of "hook" mechanism to call a script > program when a block device is unmounted (or otherwise no longer being > used) on shutdown? > > I'm toying with the idea of creating an alternative way

Re: [systemd-devel] add new entry for HP ProBook 6555b to keyboard.hwdb

2015-10-16 Thread Martin Pitt
Hey Olaf, Olaf Hering [2015-10-16 14:21 +0200]: > My copy of /usr/lib/udev/hwdb.d/60-keyboard.hwdb has (at least) three > issues: > > This advice fails, bugreporting is disabled, perhaps just for me? > # If your changes are generally applicable, open a bug report on > #

[systemd-devel] add new entry for HP ProBook 6555b to keyboard.hwdb

2015-10-16 Thread Olaf Hering
My copy of /usr/lib/udev/hwdb.d/60-keyboard.hwdb has (at least) three issues: This advice fails, bugreporting is disabled, perhaps just for me? # If your changes are generally applicable, open a bug report on # http://bugs.freedesktop.org/enter_bug.cgi?product=systemd The wildcard does not

Re: [systemd-devel] add new entry for HP ProBook 6555b to keyboard.hwdb

2015-10-16 Thread Olaf Hering
Am 16.10.2015 um 14:56 schrieb Martin Pitt: >> # HP ProBook 6555b, icon earth, sends home, should send www >> evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard:pnHPProBook6555b:* >> KEYBOARD_KEY_b2=www > > This looks similar to this already existing rule for this model: > # HDX9494nr >

Re: [systemd-devel] add new entry for HP ProBook 6555b to keyboard.hwdb

2015-10-16 Thread Martin Pitt
Hello Olaf, Olaf Hering [2015-10-16 15:22 +0200]: > I just noticed that there is a catch al, which looks very odd: > > evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:pvr* How does it look odd? > Why would such a wildcard be correct? As inconsistent as scan code assignments are between

Re: [systemd-devel] Machinectl shell/login do not attach to console

2015-10-16 Thread Chris Bell
On 2015-10-16 13:55, Chris Bell wrote: On 2015-10-14 15:58, Lennart Poettering wrote: On Mon, 05.10.15 12:30, Chris Bell (cwb...@narmos.org) wrote: Hi all, I have an Arch machine with systemd 226, running an Arch container, also with systemd 226. For whatever reason in 225, `machinectl

Re: [systemd-devel] add new entry for HP ProBook 6555b to keyboard.hwdb

2015-10-16 Thread Olaf Hering
Am 16.10.2015 um 14:56 schrieb Martin Pitt: > This looks similar to this already existing rule for this model: I just noticed that there is a catch al, which looks very odd: evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:pvr* Why would such a wildcard be correct? Guess I will disable

Re: [systemd-devel] add new entry for HP ProBook 6555b to keyboard.hwdb

2015-10-16 Thread Martin Pitt
Olaf Hering [2015-10-16 15:14 +0200]: > > As for the new entry being ignored, is that still the case after "udevadm > > control --reload", or just rebooting? (I've heard that this sometimes is > > necessary). If so, can you please pastebin "udevadm info --export-db" > > somewhere, so that we can

Re: [systemd-devel] Machinectl shell/login do not attach to console

2015-10-16 Thread Chris Bell
On 2015-10-14 15:58, Lennart Poettering wrote: On Mon, 05.10.15 12:30, Chris Bell (cwb...@narmos.org) wrote: Hi all, I have an Arch machine with systemd 226, running an Arch container, also with systemd 226. For whatever reason in 225, `machinectl login` stopped working correctly, and in

Re: [systemd-devel] systemctl edit via polkit results in access denied

2015-10-16 Thread Mantas Mikulėnas
On Fri, Oct 16, 2015 at 5:44 PM, Chris Bell wrote: > Hello, > > I have configured polkit to allow my user to manage basically everything > in systemd without requiring sudo or root. Enabling, disabling, reloading, > etc all work as expected. However, 'systemctl edit' does not.

Re: [systemd-devel] add new entry for HP ProBook 6555b to keyboard.hwdb

2015-10-16 Thread Olaf Hering
Am 16.10.2015 um 15:45 schrieb Martin Pitt: > udevadm test-builtin keyboard > /devices/platform/i8042/serio0/input/input4/event5 > > ? Does that give any error message wrt. assigning the www key? Can you > please double-check in evtest that you really still get KEY_HOMEPAGE > after that?

[systemd-devel] Overriding WantedBy and Alias directives

2015-10-16 Thread Chris Bell
Hello, I currently have a systemd unit that I have to reference a lot which has a rather long name. I would prefer to be able to reference this unit as a short alias. Example: I have a container unit called 'systemd-nspawn@gitlab.service' and I would like to be able to refer to it as simply

Re: [systemd-devel] add new entry for HP ProBook 6555b to keyboard.hwdb

2015-10-16 Thread Olaf Hering
Am 16.10.2015 um 15:42 schrieb Martin Pitt: > Hello Olaf, > > Olaf Hering [2015-10-16 15:22 +0200]: >> I just noticed that there is a catch al, which looks very odd: >> >> evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:pvr* > > How does it look odd? Wildcard for all of HP?! >> Why would

Re: [systemd-devel] add new entry for HP ProBook 6555b to keyboard.hwdb

2015-10-16 Thread Martin Pitt
Olaf Hering [2015-10-16 16:21 +0200]: > root@probook:~ # udevadm test-builtin keyboard > /devices/platform/i8042/serio0/input/input4/event5 > calling: test-builtin > === trie on-disk === > tool version: 224 > file size: 7049404 bytes > header size 80 bytes > strings

Re: [systemd-devel] network interface names flipping

2015-10-16 Thread Tomasz Torcz
On Fri, Oct 16, 2015 at 04:44:34PM +0200, Olaf Hering wrote: > Since the introducion of the (un)predictable network interface names the > name of the single onboard interface on my Shuttle changes if I boot my > own .config or the kernel.rpm provided by openSUSE. I just threw up > hands and

Re: [systemd-devel] network interface names flipping

2015-10-16 Thread Kay Sievers
On Fri, Oct 16, 2015 at 4:44 PM, Olaf Hering wrote: > Since the introducion of the (un)predictable network interface names the > name of the single onboard interface on my Shuttle changes if I boot my > own .config or the kernel.rpm provided by openSUSE. I just threw up > hands

[systemd-devel] network interface names flipping

2015-10-16 Thread Olaf Hering
Since the introducion of the (un)predictable network interface names the name of the single onboard interface on my Shuttle changes if I boot my own .config or the kernel.rpm provided by openSUSE. I just threw up hands and continue to boot with netnames=0 (or whatever). Now that same thing

[systemd-devel] systemctl edit via polkit results in access denied

2015-10-16 Thread Chris Bell
Hello, I have configured polkit to allow my user to manage basically everything in systemd without requiring sudo or root. Enabling, disabling, reloading, etc all work as expected. However, 'systemctl edit' does not. It does not deny permission for me to use the function, but it fails when

Re: [systemd-devel] systemctl edit via polkit results in access denied

2015-10-16 Thread Chris Bell
On 2015-10-16 15:41, Mantas Mikulėnas wrote: On Fri, Oct 16, 2015 at 5:44 PM, Chris Bell wrote: Is there a way for polkit to correct or temporarily override these permissions? Or should I use ACLs to grant write permission to my user for those directories? The problem is