[DragonFlyBSD - Bug #3391] /etc/auto_master gets override by system upgrade

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Jan 13 02:02:47 PST 2026


Issue #3391 has been updated by liweitianux.


@/etc/auto_master@ is installed by @usr.sbin/autofs@ and is out of the normal etc upgrade procedure.  I think a proper fix is to install the default @auto_master@ to @/etc/defaults/@ and then to make @/etc/auto_master@ for person/local use.

Hi @tkusumi, would you please have a look? Thanks.

----------------------------------------
Bug #3391: /etc/auto_master gets override by system upgrade
http://bugs.dragonflybsd.org/issues/3391#change-14617

* Author: liweitianux
* Status: New
* Priority: Normal
* Category: Userland
* Target version: 6.6
* Start date: 2026-01-13
----------------------------------------
kentish reported on IRC on 2025-12-15:

> kentish› Hi. Looks like my last update (on master), erase my changes in /etc/auto_master. Is it expected or I have done something wrong in the process ?
> kentish› The updating process definitively overwrite /etc/auto_master file. Is there a better way than rewrite the change after every update ?
> aly› kentish: yes. /etc/auto_master will be override on update... the man page doesn't mention a way for local modifications.
> aly› let's check freebsd's
> aly› nothing special found in freebsd's auto_master(5). i think they're using mergemaster to merge the updates in /etc/auto_master. not sure.

NOTE: freebsd deprecated mergemaster(8) and migrated to use etcupdate(8). I didn't check the latter yet.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list