Skip to content

Commit

Permalink
sysusers.d/50-zincati.conf: tweak comments
Browse files Browse the repository at this point in the history
The sysusers docs say that lines starting with `#` are ignored, but I
think there's RPM macros or something that trip up on this:

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

And systemd's sysusers dropins all also seem to have a space separator.

Let's add a space to see if it helps.
  • Loading branch information
jlebon committed Oct 6, 2023
1 parent aa494e6 commit 2434d37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/sysusers.d/50-zincati.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Zincati - https://github.com/coreos/zincati
#Type Name ID GECOS
# Zincati - https://github.com/coreos/zincati
# Type Name ID GECOS
u zincati - "Zincati user for auto-updates"

0 comments on commit 2434d37

Please sign in to comment.