Re: [systemd-devel] udev event on usb unpluged

2015-08-25 Thread Tom Yan
Also it seems to be g_mass_storage is just the module for setting up dummy or emulating an mass storage device. Why would you want it to depend on a usb "cable"/device? On 26 August 2015 at 11:21, Tom Yan wrote: > I am not sure about what you mean here. Do you mean that you can't see > any remove

Re: [systemd-devel] udev event on usb unpluged

2015-08-25 Thread Tom Yan
I am not sure about what you mean here. Do you mean that you can't see any remove event with `udevadm monitor` when you unplug the "cable"? Also do you really mean a "usb cable" without any device connected to it on the other end? By the way the rule you set up is so broad that the script will bas

Re: [systemd-devel] [ANNOUNCE] systemd-225 around the corner

2015-08-25 Thread Thomas H.P. Andersen
On Wed, Aug 26, 2015 at 12:40 AM, David Herrmann wrote: > Hi > > Trying to continue with our bi-weekly release schedule, we plan to > release version 225 tomorrow. Please give it a spin and make sure > there is no major breakage before the release. Hi, There is a mem leak triggered when running

[systemd-devel] [ANNOUNCE] systemd-225 around the corner

2015-08-25 Thread David Herrmann
Hi Trying to continue with our bi-weekly release schedule, we plan to release version 225 tomorrow. Please give it a spin and make sure there is no major breakage before the release. Right now, the changes consist of mostly bugfixes and resolved reworks. I'll commit the full NEWS tomorrow. Thank

[systemd-devel] udev event on usb unpluged

2015-08-25 Thread christophe . jalady
Hi, I would like to receive an event (actually run a script) when I plug/unplugged an usb cable. I tried to use udev with this simple rule: SUBSYSTEM=="usb",RUN+="/var/local/usb-changed.sh" I do receive the "add" event when I plug the usb cable: just perfect ! But I never receive the "remove" e

Re: [systemd-devel] systemd custom service to change rootfs

2015-08-25 Thread Lennart Poettering
On Tue, 25.08.15 20:52, nixun_...@sina.com (nixun_...@sina.com) wrote: > > Thank you very much, so the switch root only used in the initrd ? If i want > to use it in the rootfs for some special reason, is it possible to perform > switch_root? That requires shutting down all services first. Bu

Re: [systemd-devel] systemd custom service to change rootfs

2015-08-25 Thread Lennart Poettering
On Tue, 25.08.15 16:31, nixun_...@sina.com (nixun_...@sina.com) wrote: > Hi, folks: > I am dealing with a problem, which is to use a overlay filesystem as the > new root after the root system boot up. I am freshman on systemd service, so > can anyone help me on my script errors? why it's fai

[systemd-devel] systemd custom service to change rootfs

2015-08-25 Thread nixun_992
Hi, folks: I am dealing with a problem, which is to use a overlay filesystem as the new root after the root system boot up. I am freshman on systemd service, so can anyone help me on my script errors? why it's failed? My service file, i put it under /usr/lib/systemd/system: >> [Unit]

Re: [systemd-devel] Calculating Web page loads accurately with systemd-nspawn's network-veth & Xorg

2015-08-25 Thread Lennart Poettering
On Tue, 25.08.15 10:09, Kai Hendry (hen...@webconverger.com) wrote: > On Mon, 24 Aug 2015, at 08:05 PM, Lennart Poettering wrote: > > I'd be careful with things like this... You invoke firefox as PID 1 > > then. On UNIX PID 1 is special, it needs to reap foreign children and > > needs to handle si