Bug#934589: udev: net.ifnames is wrongly imported as a property for any/all devices

Michael Biebl biebl at debian.org
Tue Aug 13 17:34:05 BST 2019


Am 13.08.19 um 18:07 schrieb quidame:
> 
> 
> On 13/08/2019 17:44, Michael Biebl wrote:
>>
>> --export says
>>
>>       -x, --export
>>            Print output as key/value pairs. Values are enclosed in
>> single quotes. This takes effects only when --query=property or
>> --device-id-of-file=FILE is
>>            specified.
>>
>> It doesn't claim that this is a shell parseable format which can be run
>> through eval, so I don't think you can rely on that.
> 
> The --export option has been implemented to be shell parseable. The
> bugfix https://bugzilla.redhat.com/show_bug.cgi?id=644330 claims:

That's not the official systemd bug tracker though and I can't find
anything in the official documentation supporting that the output of
--export needs to be ready to be passed to eval.
Could you ask upstream about that and ask for clarification?

If so, this should be promimently documented so udev rules authors know
that they can't set arbitrary keys.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190813/408cabf0/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list