Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2017 21:16:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 219967] lib/libc/gen/setdomainname_test changes the nisdomain and fails to clean up
Message-ID:  <bug-219967-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219967

            Bug ID: 219967
           Summary: lib/libc/gen/setdomainname_test changes the nisdomain
                    and fails to clean up
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: tests
          Assignee: freebsd-testing@freebsd.org
          Reporter: asomers@FreeBSD.org

If you run either setdomainname_test:setdomainname_limit or
setdomainname_test:setdomainname_basic, it will change the system's nisdoma=
in
and fail to clean it up.  The former leave the nisdomain blank, while the
latter sets it to a bunch of dashes.  This is a problem, because if the tes=
ts
are run on a system that uses NIS, logins will become impossible.

[alans@stealthy /usr/tests/lib/libc/gen]$ domainname=20
eng-nis2
[alans@stealthy /usr/tests/lib/libc/gen]$ sudo kyua debug
setdomainname_test:setdomainname_basic
setdomainname_test:setdomainname_basic  ->  passed
[alans@stealthy /usr/tests/lib/libc/gen]$ domainname=20
--------------------------------------------------------------------

The bug affects both 12.0-CURRENT and 11.1-BETA1

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



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