Re: [systemd-devel] about /run/cgmanager/fs

2015-11-20 Thread Lennart Poettering
On Fri, 20.11.15 11:09, yan...@iscas.ac.cn (yan...@iscas.ac.cn) wrote: > Hi guys! In my computer, there is no /run/cgmanager ,which configure file is > related? Thank you! "cgmanager" is a Canonical project that is supposed to manage your control groups hierarchy. It's a pretty bad idea to run

Re: [systemd-devel] Scheme bindings

2015-11-20 Thread Jan Synacek
David Timothy Strauss writes: > Would you be interested in moving this work to the systemd umbrella project > on GitHub? You would still manage the team, but it may get more visibility. Sure, why not. > On Fri, Nov 13, 2015, 19:27 Jan Synáček wrote: > >> Hello, >> >> if anybody lurking here an

Re: [systemd-devel] Scheme bindings

2015-11-20 Thread Jan Synacek
Zbigniew Jędrzejewski-Szmek writes: > On Fri, Nov 13, 2015 at 09:27:17AM +0100, Jan Synáček wrote: >> Hello, >> >> if anybody lurking here and hacking on systemd also likes scheme, I >> created bindings for GNU Guile [1]. The API is far from covered, but >> journal API and sd_listen* stuff is us

Re: [systemd-devel] Scheme bindings

2015-11-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 20, 2015 at 01:53:02PM +0100, Jan Synacek wrote: > Zbigniew Jędrzejewski-Szmek writes: > > > On Fri, Nov 13, 2015 at 09:27:17AM +0100, Jan Synáček wrote: > >> Hello, > >> > >> if anybody lurking here and hacking on systemd also likes scheme, I > >> created bindings for GNU Guile [1].

[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 d

Re: [systemd-devel] Can udev assist?

2015-11-20 Thread 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 because it can't find the device. There seems to be a race conditi

Re: [systemd-devel] Can udev assist?

2015-11-20 Thread Andrei Borzenkov
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 format fails because it can't find the device. There seems to be a race condition due to

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 because it can't find the devic

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 format fails because it

Re: [systemd-devel] Can udev assist?

2015-11-20 Thread Robert Milasan
On Fri, 20 Nov 2015 09:08:35 -0800 wrote: > 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 t

[systemd-devel] [PATCH] basic: fix build on architectures with small long

2015-11-20 Thread Helmut Grohne
The assertion assert_cc(sizeof(statfs_f_type_t) >= sizeof(s->f_type)); can trigger on architectures where long is smaller than struct statfs' f_type member. This includes x32. Thus fix the typedef statfs_f_type_t. --- src/basic/stat-util.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deleti

Re: [systemd-devel] [PATCH] basic: fix build on architectures with small long

2015-11-20 Thread systemd github import bot
Patchset imported to github. To create a pull request, one of the main developers has to initiate one via: -- Generated by https://github.com/haraldh/mail2git __

[systemd-devel] udevd detect and list ata devices

2015-11-20 Thread Marek
hi, i'm using the following code: http://stackoverflow.com/questions/25361042/how-to-list-usb-mass-storage-devices-programatically-using-libudev-in-linux?lq=1 the problem is with this section of code: struct udev_device* usb = udev_device_get_parent_with_subsystem_devtype(scsi, "usb", "

Re: [systemd-devel] udevd detect and list ata devices

2015-11-20 Thread Greg KH
On Fri, Nov 20, 2015 at 08:59:21PM +0100, Marek wrote: > hi, > > i'm using the following code: > http://stackoverflow.com/questions/25361042/how-to-list-usb-mass-storage-devices-programatically-using-libudev-in-linux?lq=1 > the problem is with this section of code: > struct udev_device* usb >

Re: [systemd-devel] udevd detect and list ata devices

2015-11-20 Thread Marek
Im trying to list ata devices in the same manner i am able to list usb devices. On Fri, Nov 20, 2015 at 11:00 PM, Greg KH wrote: > On Fri, Nov 20, 2015 at 08:59:21PM +0100, Marek wrote: >> hi, >> >> i'm using the following code: >> http://stackoverflow.com/questions/25361042/how-to-list-usb-mass-

[systemd-devel] container networking and iptables

2015-11-20 Thread Johannes Ernst
Setting IPMasquerade on a systemd-managed interface (e.g. for running an nspawn container) automatically sets up a “masquerade" netfilter entry. If an iptables ruleset exists already, it adds to it. (I think) But what if I want to change other my firewall rules (unrelated to the container) with