[Babel-users] FYI: ahcpd packaging issue on Fedora

Denis Ovsienko infrastation at yandex.ru
Sun Dec 8 18:08:40 UTC 2013


08.12.2013, 20:15, "Juliusz Chroboczek" <jch at pps.univ-paris-diderot.fr>:
>>  https://bugzilla.redhat.com/show_bug.cgi?id=1035710
>
> I see.  They haven't packaged the configuration script, that says
> a lot about Fedora's level of QA.

Bugs are everywhere, but it is better to get them for free and with the source code.

> Denis, can you confirm that ahcpd is properly logging
>
>   "couldn't exec: no such file or directory"
>
> on Fedora?

It cannot run properly via the packaged systemd wrapper in the first place, but if you run it from the command line, you will see:

# ahcpd -t 300 -c /etc/ahcpd.conf wlp2s0
Running ``/etc/ahcp/ahcp-config.sh start''
exec failed: No such file or directory
Child returned error status 42

(also gets logged to /var/log/ahcpd.log if -D)

>
> I should probably make the above error message more explicit.  Perhaps
> ahcpd should refuse to run in client mode if the configuration script
> is not executable?  Or is that overkill?

The shell script is not an example/optional but a mandatory file, this should be put upfront in a few places (starting with manpage). It took me some time to figure this detail out.

-- 
    Denis Ovsienko



More information about the Babel-users mailing list