[Bug 219967] lib/libc/gen/setdomainname_test changes the nisdomain and fails to clean up

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 13 21:16:56 UTC 2017


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

            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 at freebsd.org
          Reporter: asomers at FreeBSD.org

If you run either setdomainname_test:setdomainname_limit or
setdomainname_test:setdomainname_basic, it will change the system's nisdomain
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 tests
are run on a system that uses NIS, logins will become impossible.

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

The bug affects both 12.0-CURRENT and 11.1-BETA1

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


More information about the freebsd-testing mailing list