Bug 228803 - WITHOUT_NIS=yes in /etc/src.conf does not affect to build /usr/lib/pam_unix.so (11.2-RC1)
Summary: WITHOUT_NIS=yes in /etc/src.conf does not affect to build /usr/lib/pam_unix.s...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-07 14:21 UTC by ivan_erohin
Modified: 2019-06-30 20:11 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan_erohin 2018-06-07 14:21:20 UTC
after "make buildworld; make installworld":

ldd /usr/lib/pam_unix.so
...
  libypclnt.so.4 => /usr/lib/libypclnt.so.4 (0x801843000)
...

after "make delete-old" (or "make delete-old-libs ?)
/usr/lib/libypclnt.so erased and box doesnot accept any logins (console and ssh).
Comment 1 Rodney W. Grimes freebsd_committer 2018-06-12 21:50:22 UTC
Is this a regression from 11.1, or something you have just stumbled into while testing 11.2RC2?
Comment 2 ivan_erohin 2018-06-13 09:52:52 UTC
fbsdsrv:/usr/src# svnlite info
Path: .
Working Copy Root Path: /usr/src
URL: https://svn.freebsd.org/base/releng/11.2
Relative URL: ^/releng/11.2
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 334996
Node Kind: directory
Schedule: normal
Last Changed Author: gjb
Last Changed Rev: 334861
Last Changed Date: 2018-06-09 04:47:17 +0700 (Sat, 09 Jun 2018)

but now I have a workaround:

echo MK_NIS=no >> /etc/make.conf

ps: WITHOUT_NIS=yes from /etc/src.conf does not assign "no" to MK_NIS somethere in build system, like most WITHOUT_XXX do.

pps: I suspect the same bug exist in releng/10.4
Comment 3 Rodney W. Grimes freebsd_committer 2018-06-13 12:09:54 UTC
Adding bdrewery to this so he knows we have an issue here and hopefully it is just someone forgot to either merge something, or a simple commit is missing.
Comment 4 bra 2019-06-25 08:54:16 UTC
Same here with STABLE/12. I build world with WITHOUT_NIS=yes and I can't login, because pam_unix.so.6 is linked with libypclnt.so.4, which is apparently missing.