Discussion
Loading...

Discussion

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
algernon, the mad
@algernon@come-from.mad-scientist.club  ·  activity timestamp 4 weeks ago

I think I spotted another bug of the bad footgun type in iocaine, this time while documenting the TOML, JSON and YAML config formats.

#iocaine3

  • Copy link
  • Flag this post
  • Block
algernon, the mad
@algernon@come-from.mad-scientist.club replied  ·  activity timestamp 4 weeks ago

Looks like bind "address" unix-socket-access=group is not parsed properly when using KDL, the unix-socket-access part gets lost.

JSON, TOML, and YAML work, and the property is shown when rendering a JSON-original config into KDL. But when the original is KDL, the property is missing.

That's Bad™.

#iocaine3

  • Copy link
  • Flag this comment
  • Block
algernon, the mad
@algernon@come-from.mad-scientist.club replied  ·  activity timestamp 4 weeks ago

Oh. That's becuse I wrote unix-listen-access=group, not unix-socket-access=group! unix-listen-access is the name of the key in all other formats.

So when I actually write the right thing, it works. Still a footgun, though, because these names really should be the same (unix-socket-access).

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login