> On 28/01/21 20:32, Simon Matter via pound wrote:
>>> On 28/01/21 14:45, Simon Matter via pound wrote:
>>>>> Hi all,
>>>>>
>>>>> I need a working release 2.8 on Centos 6
>>>>>
>>>>> I tried to compile the srpms from
>>>>> http://www.invoca.ch/pub/packages/pound/RPMS/ils-6/SRPMS/ but, even
>>>>> if
>>>>> successfull (rpmbuild --rebuild, a lot of warning) does not work
>>>>>
>>>>> the rmp installs, the service starts normally without errors, but
>>>>> doesn't work, the backends are unreachable, even the usual message in
>>>>> the browser "service not available" is missing
>>>>>
>>>>> any hint?
>>>>>
>>>>> Luciano
>>>> Hi Luciano,
>>>>
>>>> Just two guesses:
>>>> 1) Firewall prevents access somehow.
>>>> 2) SELinux prevents access somehow.
>>>>
>>>> Regards,
>>>> Simon
>>>>
>>>>
>>> Hi Simon,
>>>
>>> the server is already working with the 2.6 release included in centos
>>> 6,
>>> the firewall is properly configurated and SE linux is disabled.
>>> but I need 2.8 to manage the Subject Alternative Names in the ssl
>>> certificates and disable SSLv3
>>>
>>> may be that the srpms looks in a different place for the pound.cfg
>>> file?
>>>
>>> in Centos 6 the path is /etc/pound.cfg
>> Of course, you're right, my packages have the config in
>> /etc/pound/pound.cfg.
>>
>> You can see it with 'rpm -ql pound'.
>>
>> Regards,
>> Simon
>>
>>
> Bingo !!! the rpm places a valid pound.cfg in /etc/pound/ so the service
> starts but ... with the wrong cfg :\
>
> now seems to work like a charm
>
> as I can see RootJail is in the default pound.cfg, it's a suggested setup?

Using RootJail is considered more secure in general.

>
> should I be concerned about compiling warnings? It's a production
> server, unfortunately I cannot move from centos6

These warnings are 'normal' because the code would need some cosmetic
changes to make them disappear :)

Simon

>
> some randomly picked:
>
> http.c:619: warning: value computed is not used
>
> http.c:34: warning: 'h414' defined but not used
> cc1: warning: unrecognized command line option "-Wno-unused-result"
> config.c: In function 'get_subjectaltnames':
> config.c:208: warning: pointer targets in passing argument 1 of
> 'strndup' differ in signedness
> /usr/include/string.h:183: note: expected 'const char *' but argument is
> of type 'unsigned char *'
>
> svc.c:250: warning: unused variable 't_res'
>
> svc.c:619: warning: suggest parentheses around assignment used as truth
> value
> dh512.h:5: warning: function declaration isn't a prototype
> svc.c:1494: warning: ignoring return value of 'write', declared with
> attribute warn_unused_result
> svc.c:1648: warning: suggest parentheses around assignment used as truth
> value
>
> poundctl.c:218: warning: unused variable 'buf'
>
> thank you for your kind support
>
> best regards
>
> Luciano
>
>
> --
> pound mailing list
> pound@apsis.ch
> https://admin.hostpoint.ch/mailman/listinfo/pound_apsis.ch
>



-- 
pound mailing list
pound@apsis.ch
https://admin.hostpoint.ch/mailman/listinfo/pound_apsis.ch

Reply via email to