https://bugs.koozali.org/show_bug.cgi?id=11046

--- Comment #38 from John Crisp <[email protected]> ---
> Configuration file /usr/lib/systemd/system/bandwidthd.service is marked 
> executable. P

This is in the bandwidthd rpm itself.

I think we need to probably add this in %files but not sure what to do about
upgrading older versions - possibly a migrate to chmod the file?

+ %attr(0644,root,root)%{_unitdir}/%{name}.service


To test try 

chmod 0644 /usr/lib/systemd/system/bandwidthd.service
systemctctl restart bandwidthd



> -rwxr-x---   1 root     www         2734 Mar  8 12:40 bandwidthd.conf

This is in smeserver-bandwidthd.

We should fix the perms on /etc/bandwidthd.conf to 0664 in templates-meta



> ... really with 3 "f"...

This is in smeserver-bandwidthd.

Yes it is 3 "f"s !

grep -rn grap /etc/e-smith/templates/*

/etc/e-smith/templates/etc/bandwidthd.conf/09options:17: my $cutoff =
$bandwidthd{'grapCutofff'} || "1024";


I think that should really be "graphCutOff" 

That needs an updated config value and migrate fragment



> bandwidthd: Syntax Error "syntax error" on line 22

I can't find this. Tried various settings but it never errored.

What other settings did you have to get this error? We need to try and track
down exactly which file is throwing the error

You can try to manually expand each template and see if any errors:

expand-template /etc/bandwidthd.conf
expand-template /etc/httpd/conf/httpd.conf
/var/www/bandwidthd/phphtdocs/config.conf


> subnet 

Last, the subnet key is odd and I can't quite get my head around it.

First you get localAccess subnets regardless of subnet setting
Then externalSSLAccess based on httpd-admin ValidFrom
Then ExternalInterface if defined
Then if $subnet NOT disabled split $subnet and display

Think that is from this comment which should probably be modified/removed as
these are not really external subnets.

# also manually added (bandwidthd=service|subnet|172.16.0.0/12,192.168.0.0/16)

Something like this as a note if necessary:

# For additional ExternalSSL subnets please set bandwidthd subnet 1.2.3.4/24,
5.6.7.8/16

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to