long server names crash the backup server
in #40364 (closed) I went a little overboard and created a server named:
static-gitlab-shim-source.torproject.org
I even thought of adding a -01 in there. That short name (static-gitlab-shim-source
) is 25 characters long which leads to a label on the backup server that crashes Bacula:
Sep 24 17:14:45 bacula-director-01 bacula-dir[1467]: Config error: name torproject-static-gitlab-shim-source.torproject.org-full.${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r} length 130 too long, max is 127
Now: maybe I should have used a shorter server name (and I have since retired the box). But it seems to me that a single server with a bad configuration shouldn't hang the entire backup server.