Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 807538

Summary: www-servers/varnish-6.3.2 reload illegal character in VCL name (':')
Product: Gentoo Linux Reporter: marco
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED OBSOLETE    
Severity: major CC: sam
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=807544
https://bugs.gentoo.org/show_bug.cgi?id=652908
Whiteboard:
Package list:
Runtime testing required: ---

Description marco 2021-08-10 08:36:10 UTC
Executing
/etc/init.d/varnishd reload
triggers this error: Illegal character in VCL name (':')

Reproducible: Always

Steps to Reproduce:
Start Varnish:
/etc/init.d/varnishd start

Reload it:
/etc/init.d/varnishd reload



The problem is the line 61 of /etc/init.d/varnishd

new_config="reload_$(date +%FT%H:%M:%S)"

A solution can be set to
new_config="reload_$(date +%FT%H%M%S)"

or other variants.
Comment 1 Anthony Basile gentoo-dev 2022-07-22 15:53:11 UTC
This is not happening anymore