Page MenuHomeVyOS Platform

Webproxy commit failed: Can't touch /var/log/squid/blacklist.log: No such file or directory
Closed, ResolvedPublicBUG

Description

vyos@vyos# commit
[ service webproxy ]
Warning: no blacklists installed
Can't touch /var/log/squid/blacklist.log: No such file or directory at /opt/vyatta/share/perl5/Vyatta/File.pm line 36.

[[service webproxy]] failed
Commit failed
[edit]

vyos@vyos# ls -la /var/log/squid
squid3/     squidguard/ 
[edit]

Config state at time of commit:

show  service webproxy
>cache-size 0
 default-port 3128
 listen-address xx {
 }
+mem-cache-size 100
 url-filtering {
     squidguard {
         default-action allow
+        log all
         rule 1 {
             default-action block
             local-ok abc.def
             source-group xx
         }
         source-group xx {
             address xx
         }
     }
 }

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-rc9
Why the issue appeared?
Will be filled on close

Event Timeline

Creating /var/log/squid (sudo mkdir /var/log/squid) allows the commit to complete.

ls -la /var/log/squid/
total 8
drwxr-xr-x 2 root  root  4096 Nov 28 02:11 .
drwxr-xr-x 1 root  root  4096 Nov 28 02:11 ..
-rw-r--r-- 1 proxy proxy    0 Nov 28 02:11 blacklist.log