Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2025 17:07:34 +0300
From:      Artem Bunichev <tembun@bk.ru>
To:        freebsd-questions@freebsd.org
Subject:   make delete-old does not delete old devd(8) config
Message-ID:  <20250323170734.83c507382deda4cb39092ff3@bk.ru>

index | next in thread | raw e-mail

Hi all!

I build my 14-STABLE system like that:
  make buildworld
  make buildkernel
  make installkernel
  reboot
  etcupdate -p
  make installworld
  reboot
  etcupdate
  make delete-old delete-old-libs

In my /etc/src.conf I have `WITHOUT_AUTOFS=YES'.  Also, I do _not_ have
`options AUTOFS' line for autofs(5) driver in my custom kernel config file.

Everything works fine, but I noticed messages `sh: /usr/sbin/automount not
found` during the boot.  I figured that it is caused by the
/etc/devd/autofs.conf - I deleted it and messages disappeared.  But I'm
confused now: why wasn't that file found and deleted by `make delete-old'? Or
it shouldn't be?

I found a commit, where devd config for autofs(5) was moved into a separate
file: https://reviews.freebsd.org/D42495.  There it's said that it shouldn't
be used if I don't have an autofs installed.  So I don't, but it is.

Can you help me to understand this, please?  Does the problem really exist or
I probably messed something up during the build process?

Thank you,
Artem.


home | help

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