summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.c
diff options
context:
space:
mode:
authorKarel Zak2014-01-24 13:58:40 +0100
committerKarel Zak2014-01-24 13:58:40 +0100
commit663bf040611240d164f2464b4d892ecd2b02fa6f (patch)
tree35dcd9192bb4ecd16e668d39fdcd1f61d71c3e75 /sys-utils/dmesg.c
parentinclude/c.h: prefer nanosleep() over usleep() (diff)
downloadkernel-qcow2-util-linux-663bf040611240d164f2464b4d892ecd2b02fa6f.tar.gz
kernel-qcow2-util-linux-663bf040611240d164f2464b4d892ecd2b02fa6f.tar.xz
kernel-qcow2-util-linux-663bf040611240d164f2464b4d892ecd2b02fa6f.zip
losetup: wait for udev
On system with /dev/lop-control the udevd creates /dev/loopN nodes. It seems better to wait a moment after unsuccessful open(/dev/loopN) and try it to open again. The problem is pretty visible on systems where udevd also modifies permission for loopN devices, then open() fails with EACCES when losetup executed by non-root user (but user who is in "disk" group). Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1045432 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.c')
0 files changed, 0 insertions, 0 deletions