Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config files do not work when compiled with libconfig-1.7.3 #292

Closed
ravenexp opened this issue Jun 21, 2021 · 7 comments
Closed

Config files do not work when compiled with libconfig-1.7.3 #292

ravenexp opened this issue Jun 21, 2021 · 7 comments

Comments

@ravenexp
Copy link

After upgrading system libconfig to 1.7.3 in Arch Linux the config file contents is completely ignored by sslh:

$ /usr/bin/sslh-fork -f -v 5 --config /etc/sslh.cfg
verbose: 5
foreground: 1
inetd: 0
numeric: 0
transparent: 0
timeout: 5
user: (null) <unset>
pidfile: (null) <unset>
chroot: (null) <unset>
syslog_facility: auth
on_timeout: ssh
listen [0]:
protocols [0]:
At least one target protocol must be specified.
@yrutschle
Copy link
Owner

Did it work with 1.7.2?

@ravenexp ravenexp changed the title Config files does not work when compiled with libconfig-1.7.3 Config files do not work when compiled with libconfig-1.7.3 Jun 22, 2021
@ravenexp
Copy link
Author

Yes, it broke when Arch Linux upgraded libconfig from 1.7.2 to 1.7.3.

@yrutschle
Copy link
Owner

When you change a lightbulb in an otherwise working car, and the new lightbulb doesn't work, do you assume the car is broken? :-)

This would rather sound like libconfig broke its API. The release notes talks about a change in config_setting_lookup. I'll have a look.

@yrutschle
Copy link
Owner

Ok, I can "sort of" reproduce, although in my case 1.7.3 segfaults.

@yrutschle
Copy link
Owner

config_lookup() no longer seem to work.

@yrutschle
Copy link
Owner

This looks like a libconfig issue, I reported it here

yrutschle added a commit that referenced this issue Jun 23, 2021
@yrutschle
Copy link
Owner

thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants