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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
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: 2025-02-15 18:49 UTC (History)
3 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.
Comment 6 Larry the Git Cow gentoo-dev 2025-02-15 18:49:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace3dbbfdaafbf53d7e5c0e838f9b19c6d13e4af

commit ace3dbbfdaafbf53d7e5c0e838f9b19c6d13e4af
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2025-02-15 18:48:51 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2025-02-15 18:48:51 +0000

    sys-apps/razercfg: add 0.43, enable py3.1{1,2,3}, cleanup
    
    Closes: https://bugs.gentoo.org/847499
    Closes: https://bugs.gentoo.org/897262
    Closes: https://bugs.gentoo.org/929820
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 sys-apps/razercfg/Manifest             |  1 +
 sys-apps/razercfg/razercfg-0.43.ebuild | 93 ++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)