Package: fireqos
Version: 3.1.5+ds1-2
Severity: normal

Fireqos.service fails to start on boot, but if I manually starts it
afterwards, it starts correctly.
The attached fireqos.conf is operational since about 2 year.
I believe that I see this problem after the .service was introduced
because before I used to launch fireqos manually. From that moment I
kept starting it on boot but I usually (always?) see it failing to
start.

Here is the log (journalct -u fireqos.service) after the boot, when
fireqos fails to start:
-----------------
lug 08 16:26:11 etna systemd[1]: Starting FireQOS traffic shaping for humans...
lug 08 16:26:11 etna fireqos[650]: FireQOS 3.1.5
lug 08 16:26:11 etna fireqos[650]: (C) 2013-2014 Costa Tsaousis, GPL
lug 08 16:26:11 etna fireqos[650]: : interface wlan0 adsl-in output rate 54Mbit 
minrate 10kbit (wlan0, 54000kbit, mtu 1500, quantum 1500, minrate 12kbit)
lug 08 16:26:11 etna fireqos[650]: :         class lan rate 40Mbit (1:11, 
40000/54000kbit, prio 0)
lug 08 16:26:11 etna fireqos[650]: :         class adsl rate 6144kbit ceil 
6144kbit (1:12, 6144/6144kbit, prio 1)
lug 08 16:26:11 etna fireqos[650]: :                 class veryhighprio rate 
10% (1:13, 614/6144kbit, prio 0)
lug 08 16:26:11 etna fireqos[650]: :                 class web rate 50% (1:14, 
3072/6144kbit, prio 1)
lug 08 16:26:11 etna fireqos[650]: :                 class mail rate 20% (1:15, 
1228/6144kbit, prio 2)
lug 08 16:26:12 etna fireqos[650]: Error: Parent Qdisc doesn't exists.
lug 08 16:26:12 etna fireqos[650]: We have an error talking to the kernel, -1
lug 08 16:26:12 etna fireqos[650]: ERROR:
lug 08 16:26:12 etna fireqos[650]: tc failed with error 2, while executing the 
command:
lug 08 16:26:12 etna fireqos[650]: /sbin/tc filter add dev wlan0 parent 1:12 
protocol ip prio 90 u32 match ip protocol 6 0xff match ip sport 993 0xffff 
flowid 1:15
lug 08 16:26:12 etna fireqos[650]: FAILED TO ACTIVATE TRAFFIC CONTROL.
lug 08 16:26:12 etna fireqos[650]: Clearing failed interface: adsl-in (wlan0 
output => wlan0)...
lug 08 16:26:12 etna fireqos[650]:             wlan0: cleared traffic control 
output
lug 08 16:26:12 etna fireqos[650]: No traffic control is operational by FireQOS.
lug 08 16:26:12 etna FireQOS[919]: FireQOS FAILED. Cleared all FireQOS changes 
on interface 'wlan0'. No traffic control is operational by FireQOS.
lug 08 16:26:12 etna fireqos[650]: bye...
lug 08 16:26:12 etna systemd[1]: fireqos.service: Main process exited, 
code=exited, status=1/FAILURE
lug 08 16:26:12 etna systemd[1]: fireqos.service: Failed with result 
'exit-code'.
lug 08 16:26:12 etna systemd[1]: Failed to start FireQOS traffic shaping for 
humans.
-----------------

Here is the log after starting fireqos manually, without errors:
-----------------
lug 08 16:29:33 etna systemd[1]: Starting FireQOS traffic shaping for humans...
lug 08 16:29:33 etna fireqos[1638]: FireQOS 3.1.5
lug 08 16:29:33 etna fireqos[1638]: (C) 2013-2014 Costa Tsaousis, GPL
lug 08 16:29:33 etna fireqos[1638]: : interface wlan0 adsl-in output rate 
54Mbit minrate 10kbit (wlan0, 54000kbit, mtu 1500, quantum 1500, minrate 12kbit)
lug 08 16:29:33 etna fireqos[1638]: :         class lan rate 40Mbit (1:11, 
40000/54000kbit, prio 0)
lug 08 16:29:33 etna fireqos[1638]: :         class adsl rate 6144kbit ceil 
6144kbit (1:12, 6144/6144kbit, prio 1)
lug 08 16:29:33 etna fireqos[1638]: :                 class veryhighprio rate 
10% (1:13, 614/6144kbit, prio 0)
lug 08 16:29:33 etna fireqos[1638]: :                 class web rate 50% (1:14, 
3072/6144kbit, prio 1)
lug 08 16:29:33 etna fireqos[1638]: :                 class mail rate 20% 
(1:15, 1228/6144kbit, prio 2)
lug 08 16:29:33 etna fireqos[1638]: :                 class default ceil 20% 
(1:8001, 12/1228kbit, prio 3)
lug 08 16:29:33 etna fireqos[1638]: :                 committed rate 4926kbit 
(80%), the remaining 1218kbit will be spare bandwidth.
lug 08 16:29:33 etna fireqos[1638]: :         class default (1:8000, 
12/54000kbit, prio 2)
lug 08 16:29:33 etna fireqos[1638]: :         committed rate 46156kbit (85%), 
the remaining 7844kbit will be spare bandwidth.
lug 08 16:29:33 etna fireqos[1638]: : interface wlan0 adsl-out output rate 
54Mbit minrate 10kbit (wlan0, 54000kbit, mtu 1500, quantum 1500, minrate 12kbit)
lug 08 16:29:33 etna fireqos[1638]: :         class lan rate 50Mbit (1:11, 
50000/54000kbit, prio 0)
lug 08 16:29:33 etna fireqos[1638]: :         class adsl rate 384kbit ceil 
384kbit (1:12, 384/384kbit, prio 1)
lug 08 16:29:33 etna fireqos[1638]: :                 class veryhighprio rate 
10% (1:13, 38/384kbit, prio 0)
lug 08 16:29:33 etna fireqos[1638]: :                 class web rate 30% (1:14, 
115/384kbit, prio 1)
lug 08 16:29:33 etna fireqos[1638]: :                 class mail rate 20% 
(1:15, 76/384kbit, prio 2)
lug 08 16:29:33 etna fireqos[1638]: :                 class default ceil 30% 
(1:8001, 12/115kbit, prio 3)
lug 08 16:29:33 etna fireqos[1638]: :                 committed rate 241kbit 
(62%), the remaining 143kbit will be spare bandwidth.
lug 08 16:29:33 etna fireqos[1638]: :         class default (1:8000, 
12/54000kbit, prio 2)
lug 08 16:29:33 etna fireqos[1638]: :         committed rate 50396kbit (93%), 
the remaining 3604kbit will be spare bandwidth.
lug 08 16:29:33 etna fireqos[1638]:   Traffic is classified:
lug 08 16:29:33 etna fireqos[1638]:       - on 2 interfaces
lug 08 16:29:33 etna fireqos[1638]:       - to 16 classes
lug 08 16:29:33 etna fireqos[1638]:       - by 20 FireQOS matches
lug 08 16:29:33 etna fireqos[1638]:   86 TC commands executed
lug 08 16:29:33 etna fireqos[1638]: All Done! Enjoy...
lug 08 16:29:33 etna fireqos[1638]: bye...
-----------------

Cesare.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fireqos depends on:
ii  firehol-common  3.1.5+ds1-2
ii  lsb-base        9.20170808

Versions of packages fireqos recommends:
pn  firehol  <none>

Versions of packages fireqos suggests:
pn  firehol-tools  <none>
pn  fireqos-doc    <none>

-- Configuration Files:
/etc/firehol/fireqos.conf changed:
interface wlan0 adsl-in output rate 54Mbit minrate 10kbit
    class lan rate 40Mbit
        match dst 192.168.10.0/24
    class group adsl rate 6144kbit ceil 6144kbit
        match all
        class veryhighprio rate 10%
            match udp port 53           # DNS
            match tcp port 22           # SSH
            match tcp port 123          # NTP
        class web rate 50%
            match tcp port 80,443       # HTTP e HHTPs
        class mail rate 20%
            match tcp port 25,587,465   # SMTP e SMTPs
            match tcp port 110,995      # POP3 e POP3s
            match tcp port 143,993      # IMAP e IMAPs
        class default ceil 20%
    class group end
interface wlan0 adsl-out output rate 54Mbit minrate 10kbit
    class lan rate 50Mbit
        match dst 192.168.10.0/24
    class group adsl rate 384kbit ceil 384kbit
        match all
        class veryhighprio rate 10%
            match udp port 53           # DNS
            match tcp port 22           # SSH
            match tcp port 123          # NTP
        class web rate 30%
            match tcp port 80,443       # HTTP e HHTPs
        class mail rate 20%
            match tcp port 25,587,465   # SMTP e SMTPs
            match tcp port 110,995      # POP3 e POP3s
            match tcp port 143,993      # IMAP e IMAPs
        class default ceil 30%
    class group end


-- no debconf information

Reply via email to