Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847499 - sys-apps/razercfg-0.42-r1 installs udev rules without calling udev_reload
Summary: sys-apps/razercfg-0.42-r1 installs udev rules without calling udev_reload
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-26 06:51 UTC by Agostino Sarubbo
Modified: 2024-01-05 08:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,66.06 KB, text/plain)
2022-05-26 06:51 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-05-26 06:51:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/razercfg-0.42 installs udev rules without calling udev_reload.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-26 06:51:02 UTC
Created attachment 780800 [details]
build.log

build log and emerge --info
Comment 2 Alexey Korepanov 2022-05-26 06:58:15 UTC
Yet it does call
    udevadm control --reload-rules
    udevadm trigger --subsystem-match=usb
Comment 3 Conrad Kostecki gentoo-dev 2022-05-26 11:03:18 UTC
(In reply to Alexey Korepanov from comment #2)
> Yet it does call
>     udevadm control --reload-rules
>     udevadm trigger --subsystem-match=usb

This is wrong. (Yes, the commands do the job)
Please use 'udev_reload' as command from udev eclass in pkg_postinst and pkg_postrm.
Comment 4 Alexey Korepanov 2022-05-26 13:01:17 UTC
ok, it is easy to replace
udevadm control --reload-rules
with a call to udev_reload
but there is also the second command, and from what I understand it is not covered by the udev eclass.
Comment 5 Agostino Sarubbo gentoo-dev 2024-01-05 08:47:36 UTC
gcc14_tinderbox has reproduced this issue with version 0.42-r1 - Updating summary.