RVP <[email protected]> writes: > On Sat, 27 Sep 2025, Greg Troxel wrote: > >> daemon:\ >> :ignorenologin:\ >> :datasize=4000M:\ >> :openfiles=1024:\ >> :maxproc=1024:\ >> :maxthread=1024:\ >> >> default|regular user:\ >> :datasize=16000M:\ >> :openfiles=8000:\ >> :maxproc=2048:\ >> :maxthread=8192:\ > > > 1. Record-names _must_ start on column 1.
Thanks. They do; I indented to quote. > 2. The last line of a record should not end in `\'. That makes sense; that was sort of left from editing. This was the problem, and removing the final \ made it work. With Michael's kern.maxproc hint, I've set that higher too. > 3. If it does, then the next line must be a blank line, even for the last > record in the capfile (like your `default', above). I can see how the parser has a bug like this. > 4. If a `.db' file exists, then that's used, even when a newer capfile exists. > (For small files like `login.conf' don't bother making a `.db' file.) I did expect that .db would be read regardless of time. I have removed my .db file. It seems like there are two bugs; lack of a trailing newline causes an entry to be silently ignored cap_mkdb doesn't warn when there is a malformed entry
