The other common bad character I see often is # from emacs backup (as
oppposed to auto-save) files.
I'd actually check for files that only use the [a-zA-Z0-9_-.] symbol set
(though apparently you also disallow .; is this to avoid hidden files?
In that case, I'd just check for . at the start of the filename);
I think this is what run-parts does, and thus probably what most users
will expect from .d/ directories.
-Tim Abbott
On Sun, 4 May 2008, Russ Allbery wrote:
Timothy G Abbott <[EMAIL PROTECTED]> writes:
Package: remctl-server
Severity: normal
The remctl-server does not ignore files with weird characters in their
names in /etc/remctl/conf.d/, so when one is editing the remctl server
configuration using emacs, often changes don't actually take effect
because remctl is seeing the emacs backup files.
So, remctl-server should ignore these when reading its configuration.
It ignores files with a period in the name, but indeed, it doesn't ignore
tilde backups. I'll add that in the next upstream release. Any other
cases that you can think of?
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]