Discussion:
.conf file in includedir
Weijun Wang
2017-03-21 15:19:24 UTC
Permalink
I've just noticed some change in krb5.conf's includedir directive [1]:

"Including a directory includes all files within the directory whose
names consist solely of alphanumeric characters, dashes, or underscores.
Starting in release 1.15, files with names ending in ”.conf” are also
included."

My understanding of the old rule is to exclude OS-generated files like
.DS_Store and desktop.ini, but is it safe to include all ".conf" files?
At least I've heard that if you let a macOS access your non-Apple file
system, it will likely to create a ._krb5.conf file beside your existing
krb5.conf file.

Thanks
Max

[1]
http://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html
_______________________________________________
krbdev mailing list ***@mit.
Greg Hudson
2017-03-21 17:24:58 UTC
Permalink
Post by Weijun Wang
"Including a directory includes all files within the directory whose
names consist solely of alphanumeric characters, dashes, or underscores.
Starting in release 1.15, files with names ending in ”.conf” are also
included."
My understanding of the old rule is to exclude OS-generated files like
.DS_Store and desktop.ini, but is it safe to include all ".conf" files?
At least I've heard that if you let a macOS access your non-Apple file
system, it will likely to create a ._krb5.conf file beside your existing
krb5.conf file.
We had mainly been concerned with package system artifacts such as
.rpmsave files. However, editors and filesystems are also a possible
source of unintended duplicates. I think it might be good to ignore
filenames beginning with ".", as these prefix-form name variants tend to
begin with "." so that they don't show up in ordinary directory listings.
_______________________________________________
krbdev mailing list ***@mit.edu
https://mailman.mit.edu/mailm
Robbie Harwood
2017-03-21 17:55:33 UTC
Permalink
Post by Greg Hudson
Post by Weijun Wang
"Including a directory includes all files within the directory
whose names consist solely of alphanumeric characters, dashes, or
underscores. Starting in release 1.15, files with names ending in
”.conf” are also included."
My understanding of the old rule is to exclude OS-generated files
like .DS_Store and desktop.ini, but is it safe to include all ".conf"
files? At least I've heard that if you let a macOS access your
non-Apple file system, it will likely to create a ._krb5.conf file
beside your existing krb5.conf file.
We had mainly been concerned with package system artifacts such as
.rpmsave files. However, editors and filesystems are also a possible
source of unintended duplicates. I think it might be good to ignore
filenames beginning with ".", as these prefix-form name variants tend
to begin with "." so that they don't show up in ordinary directory
listings.
This seems reasonable to me as well; I think the behavior of including
dotfiles is unexpected.

Loading...