[systemd-devel] [PATCH 1/2] path-util: set pointer to null after calling free()

2012-12-13 Thread Michal Sekletar
In cases where path_strv_canonicalize() returns NULL, strv_free() is called afterwards and it will call free() on pointers which were freed already in path_strv_canonicalize() --- src/shared/path-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/path-util.c b/src/shared/path-ut

[systemd-devel] [PATCH 2/2] socket-util: added check of return value

2012-12-13 Thread Michal Sekletar
--- src/shared/socket-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/socket-util.c b/src/shared/socket-util.c index 49ea758..42ea545 100644 --- a/src/shared/socket-util.c +++ b/src/shared/socket-util.c @@ -369,6 +369,8 @@ int socket_address_print(const SocketAddress *a, ch

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-13 Thread Andrey Borzenkov
В Mon, 10 Dec 2012 11:03:54 -0800 Nikolaus Rath пишет: > Hello, > > I have created a udev rule to set the owner of a specific block device: > > SUBSYSTEM=="block", > ENV{DM_UUID}=="LVM-yYuoI8k05GWxZnz9BeEIwPUGGeojzF3dZZmXTYRqC051Tllj76OHdDlzYhKZUu7u", > OWNER="1000" > > If I disable and re-ena

Re: [systemd-devel] After firmare

2012-12-13 Thread Andrey Borzenkov
В Wed, 12 Dec 2012 15:57:45 -0800 John Tobias пишет: > ExecStart=/usr/sbin/wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf > > One of the problem was the systemd called the said script before the > kernel loads the firmware(/lib/firmware/TIInit_7.2.31.bts). I would > like to know if the

Re: [systemd-devel] After firmare

2012-12-13 Thread John Tobias
I renamed the /lib/firmware to /lib/firmware.old and reboot my system. After rebooting it, I was getting an error (pls see below) that the kernel did not find the firmware. wl1271: ERROR could not get nvs file: -2 wl1271: loaded wl1271: initialized Then, if I do "ifconfig -a", the wlan0 interface

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-13 Thread Nikolaus Rath
On 12/13/2012 08:35 AM, Andrey Borzenkov wrote: > В Mon, 10 Dec 2012 11:03:54 -0800 > Nikolaus Rath пишет: > >> Hello, >> >> I have created a udev rule to set the owner of a specific block device: >> >> SUBSYSTEM=="block", >> ENV{DM_UUID}=="LVM-yYuoI8k05GWxZnz9BeEIwPUGGeojzF3dZZmXTYRqC051Tllj76OHd

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-13 Thread Andrey Borzenkov
В Thu, 13 Dec 2012 15:35:11 -0800 Nikolaus Rath пишет: > On 12/13/2012 08:35 AM, Andrey Borzenkov wrote: > > Now, I could add the missing rule and program to the initrd, but I feel > this is really opening a can of worms, since I don't really *need* to > change the device ownership that early. >

Re: [systemd-devel] After firmare

2012-12-13 Thread Andrey Borzenkov
В Thu, 13 Dec 2012 10:43:56 -0800 John Tobias пишет: > I renamed the /lib/firmware to /lib/firmware.old and reboot my system. > After rebooting it, I was getting an error (pls see below) that the > kernel did not find the firmware. > wl1271: ERROR could not get nvs file: -2 > wl1271: loaded > wl1

Re: [systemd-devel] After firmare

2012-12-13 Thread John Tobias
Could you give me a sample .service in order to solve my problem?. Regards, john On Thu, Dec 13, 2012 at 7:04 PM, Andrey Borzenkov wrote: > В Thu, 13 Dec 2012 10:43:56 -0800 > John Tobias пишет: > >> I renamed the /lib/firmware to /lib/firmware.old and reboot my system. >> After rebooting it,

[systemd-devel] vmware-datarecovery+systemd.automount+EVC = crash

2012-12-13 Thread Reindl Harald
i spent from 6 PM until now to find out why after hardware upgrade Fedora 17 VM's are crashing on vSpere5 cluster while make snapshot / suspend filesystem for VMware-Datarecovery * EVC Intel® "Westmere" Generation (Xeon® 32nm Core™ i7) * UUID= /boot ext4 defaults,comment=systemd.automount,n