Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2026 19:31:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 295623] Wrong type used for pipebuf in login.conf/cap_mkdb/login_class
Message-ID:  <bug-295623-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295623

            Bug ID: 295623
           Summary: Wrong type used for pipebuf in
                    login.conf/cap_mkdb/login_class
           Product: Base System
           Version: 15.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com

According to man login.conf pipebuf have SIZE type, but it is interpreted as
NUMBER by cap_mkdb and ulimits -a.

So login.conf with:
        :memorylocked=64K:\
        :pipebuf=128M:\
will silently fail to make correct db.

login.conf with:
        :memorylocked=64K:\
        :pipebuf=134217728:\
make correct db.


Please:
1. Set correct type for pipebuf to SIZE in parsers.
2. Fix cap_mkdb to return warnings in case type parse error instead silently
set zero.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295623-227>