[Rpm-maint] [rpm-software-management/rpm] built-in sysusers.d support fails to parse config files? (Issue #2741)

Fabio Valentini notifications at github.com
Tue Oct 31 22:49:10 UTC 2023


I'm packaging something that uses sysusers.d config snippet for the first time, and I'm getting this error from RPM (?) after a successful build:

```
error: lua script failed: [string "add_sysuser"]:16: invalid sysuser type: #Type
  3<        (%lua)
  2<      (%add_sysuser)
```

It appears that the sysusers.d config snippet parser fails to parse (or rather, ignore) comments?

The line starting with `#Type`  is from the sysusers.d documentation:
https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2741
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2741 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231031/63f49adf/attachment.html>


More information about the Rpm-maint mailing list