------- Comment From <email address hidden> 2024-01-31 04:28 EDT-------
(In reply to comment #22)
> Then `/sbin/chzdev --is-author-of-udev-rule "$rules"` should produce the
> correct exit code. The tool that generates the udev rules should be queried
> (is that chzdev or something else?) or a separate helper should be used.
>
> Re-assinging from initramfs-tools to systemd, because
> /usr/share/initramfs-tools/hooks/udev is shipped by udev.
I agree with this approach.
Yes, the udev rules are generated by chzdev, so we'll work on adding a chzdev command line option that can be used to query ownership of a udev rule/configuration file similar to what is as outlined above.
I'll update this bug report once the option as available in upstream s390-tools.
------- Comment From <email address hidden> 2024-01-31 04:28 EDT------- of-udev- rule "$rules"` should produce the initramfs- tools/hooks/ udev is shipped by udev.
(In reply to comment #22)
> Then `/sbin/chzdev --is-author-
> correct exit code. The tool that generates the udev rules should be queried
> (is that chzdev or something else?) or a separate helper should be used.
>
> Re-assinging from initramfs-tools to systemd, because
> /usr/share/
I agree with this approach.
Yes, the udev rules are generated by chzdev, so we'll work on adding a chzdev command line option that can be used to query ownership of a udev rule/configuration file similar to what is as outlined above.
I'll update this bug report once the option as available in upstream s390-tools.