Re: [systemd-devel] Weird udev issue: char device replaced by regular file on suspend

2015-06-25 Thread Martin Pitt
Hello Johannes, Johannes Bauer [2015-06-25 21:15 +0200]: I'm seeing a very odd issue with udev and I'm not really sure which component could/would be responsible -- udev is pretty much my only hope. Unlikely, I'm afraid. Now the odd thing: When I put my computer into suspend-to-RAM, I'm

Re: [systemd-devel] Weird udev issue: char device replaced by regular file on suspend

2015-06-25 Thread Greg KH
On Thu, Jun 25, 2015 at 09:15:18PM +0200, Johannes Bauer wrote: Hi list, I'm seeing a very odd issue with udev and I'm not really sure which component could/would be responsible -- udev is pretty much my only hope. Here's the situation: I have a USB/serial converter attached to my

Re: [systemd-devel] Weird udev issue: char device replaced by regular file on suspend

2015-06-25 Thread Johannes Bauer
On 25.06.2015 21:28, Robert Milasan wrote: Don't think udev is creating those char devices in such a new version. I think is handled by the kernel. I've seen such a bug once, but it was related to /dev/null, some script or app was remove /dev/null and creating a normal file, don't know why.

Re: [systemd-devel] Weird udev issue: char device replaced by regular file on suspend

2015-06-25 Thread Cristian Rodríguez
On Thu, Jun 25, 2015 at 4:15 PM, Johannes Bauer dfnsonfsdu...@gmx.de wrote: Hi list, I'm seeing a very odd issue with udev and I'm not really sure which component could/would be responsible -- udev is pretty much my only hope. Probably GregKH can assist you with this problem, udev is not at

Re: [systemd-devel] sd-bus object manager question

2015-06-25 Thread David Herrmann
Hi On Tue, Jun 23, 2015 at 2:41 PM, David Härdeman da...@hardeman.nu wrote: Hi, as an experiment I've tried porting a toy dbus daemon over to sd-bus. It seems to be working well so far and I have to say I really like the sd-bus API over the gdbus one (sd-bus feels like I'm still writing

[systemd-devel] howto handle one time shutdown programs

2015-06-25 Thread Andreas Buschmann
Hello, I am writing a systemd .service file to handle NVDIMMs. - start - stop - reload all work The problem child is restart. Restart is internally implemented as stop followed by start. The problem is, that stop calls a program which does something to the NVDIMM hardware. After that no

Re: [systemd-devel] Weird udev issue: char device replaced by regular file on suspend

2015-06-25 Thread Robert Milasan
On Thu, 25 Jun 2015 21:15:18 +0200 Johannes Bauer dfnsonfsdu...@gmx.de wrote: Hi list, I'm seeing a very odd issue with udev and I'm not really sure which component could/would be responsible -- udev is pretty much my only hope. Here's the situation: I have a USB/serial converter

[systemd-devel] Weird udev issue: char device replaced by regular file on suspend

2015-06-25 Thread Johannes Bauer
Hi list, I'm seeing a very odd issue with udev and I'm not really sure which component could/would be responsible -- udev is pretty much my only hope. Here's the situation: I have a USB/serial converter attached to my computer. It's detected as /dev/ttyUSB0. A program is started as my local user

Re: [systemd-devel] howto handle one time shutdown programs

2015-06-25 Thread Johannes Ernst
Hallo Andreas, On Jun 25, 2015, at 7:57, Andreas Buschmann busch...@tech.net.de wrote: Hello, I am writing a systemd .service file to handle NVDIMMs. - start - stop - reload all work The problem child is restart. Restart is internally implemented as stop followed by start. The