]> code.ossystems Code Review - openembedded-core.git/commit
systemd: fix formatting IDE storage does not trigger "change" uevents
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 17 Nov 2017 06:08:03 +0000 (01:08 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Dec 2017 11:24:34 +0000 (11:24 +0000)
commitc0df31a593ce94b66100b5d4a64b38568494d56e
tree71807b34019453cfc9aaa0e0d0f8dbbcab82be21
parent85095edfc4bbf23d853fc21fbfb454e598206a24
systemd: fix formatting IDE storage does not trigger "change" uevents

Formatting IDE storage does not trigger "change" uevents. As a result
clients using udev API don't get any updates afterwards and get outdated
information about the device.
...
root@qemux86-64:~# mkfs.ext4 -F /dev/hda1
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: 98791eb2-2bf3-47ad-b4d8-4cf7e914eee2

root@qemux86-64:~# ls /dev/disk/by-uuid/98791eb2-2bf3-47ad-b4d8-4cf7e914eee2
ls: cannot access '/dev/disk/by-uuid/98791eb2-2bf3-47ad-b4d8-4cf7e914eee2': No such file or directory
...
Include hd* in a match for watch option assignment.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/systemd/systemd/0020-rules-watch-metadata-changes-in-ide-devices.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd_234.bb