[systemd-devel] [PATCH] udevadm-settle: exit if event execution is disable, even if queue is not empty.

Robert Milasan rmilasan at suse.com
Fri Jan 23 06:30:19 PST 2015


On Fri, 23 Jan 2015 14:31:28 +0100
"Kay Sievers" <kay at vrfy.org> wrote:
> 
> How does udev_ctrl_get_stop_exec_queue() operate on a ctrl object and
> not a msg?
> 
> How would udevadm process incoming control packets, or know that way
> about the state of the running daemon?
> 
> If the event execution is disabled, there are pending events and
> settle should block.
> 
> The entire idea of disabling the even handling is very questionable,
> what are you trying to do/fix here?
> 
> Kay
> 

Ahh, damn, I didn't even notice that. Sorry, ignore the patch, but at
least maybe --timeout option in man pages should be rewritten, its not
very clear if for example we stop the exec_queue.

-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan at suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A


More information about the systemd-devel mailing list