Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807538 - www-servers/varnish-6.3.2 reload illegal character in VCL name (':')
Summary: www-servers/varnish-6.3.2 reload illegal character in VCL name (':')
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-10 08:36 UTC by marco
Modified: 2022-07-22 15:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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