D'Arcy J.M. Cain
2014-06-25 09:01:40 UTC
Perhaps the behavior is correct but I can't see why. I have my
login.conf checked into my local SVN repo. I tried to symlink it
into /etc but that doesn't seem to work, probably for good reason. So
I tried compiling it from my repo with cap_mkdb outputting to /etc.
# cap_mkdb -f /etc/login.conf /...my_repo/login.conf
This creates /etc/login.conf.db but when I log in I get basic
defaults. I then did "touch /etc/login.conf" and logged in again.
This time I got the correct settings. It seems that /etc/login.conf
needs to exist before it will read /etc/login.conf.db even if it is
empty. Does this seem like correct behavior or should I open a PR?
login.conf checked into my local SVN repo. I tried to symlink it
into /etc but that doesn't seem to work, probably for good reason. So
I tried compiling it from my repo with cap_mkdb outputting to /etc.
# cap_mkdb -f /etc/login.conf /...my_repo/login.conf
This creates /etc/login.conf.db but when I log in I get basic
defaults. I then did "touch /etc/login.conf" and logged in again.
This time I got the correct settings. It seems that /etc/login.conf
needs to exist before it will read /etc/login.conf.db even if it is
empty. Does this seem like correct behavior or should I open a PR?
--
D'Arcy J.M. Cain <***@NetBSD.org>
http://www.NetBSD.org/ IM:***@Vex.Net
D'Arcy J.M. Cain <***@NetBSD.org>
http://www.NetBSD.org/ IM:***@Vex.Net