Hi Salvatore,
Thank you for the clarification and for pointing out the documented change 
regarding the deprecation of /etc/default/nfs-common and 
/etc/default/nfs-kernel-server on systemd-based systems. I appreciate the 
detailed explanation.
After reviewing your response, I performed a deeper inspection of my system and 
found that the behavior I observed was caused by configuration migration 
artifacts in /etc/nfs.conf.d/, specifically a local.conf file automatically 
generated during a previous upgrade. This file contained options that 
unintentionally enabled NFSv4 with GSS-related settings, which in turn caused 
rpc-gssd and rpc-svcgssd to be pulled in even though Kerberos was not 
configured.
This explains why masking the GSS services and modifying /etc/default/* had no 
effect, and why the system appeared to enforce Kerberos even for NFSv3-only 
configurations.
Once I removed the migrated file and created a clean configuration under 
/etc/nfs.conf.d/ (e.g., using [nfsd] vers3=y and vers4=n), the NFS server 
behaved exactly as expected. The GSS services no longer attempted to start, and 
NFSv3 operated normally.
Additional observation
Given that many users upgrading from Bookworm may still rely on /etc/default/* 
and may not be aware of the automatic migration to /etc/nfs.conf.d/local.conf, 
this behavior can be confusing and may appear as a regression—especially when 
GSS services start unexpectedly.
It might be helpful to:

  *
expand the documentation or NEWS entry to explicitly mention that migrated 
configuration files in /etc/nfs.conf.d/ can override user expectations,
  *
or include a note in the package’s postinst output when such migration occurs.

This would likely prevent similar reports from other users.
Regards,

William
________________________________
From: Debian Bug Tracking System <[email protected]>
Sent: Wednesday, April 29, 2026 12:07 AM
To: William Manzanares <[email protected]>
Subject: Bug#1134846 closed by Salvatore Bonaccorso <[email protected]> (Re: 
Bug#1134846: nfs-kernel-server: NFS server fails to start without Kerberos on 
Debian 13 (Trixie) — hard dependency chain prevents NFSv3 and NFSv4)

This is an automatic notification regarding your Bug report
which was filed against the nfs-kernel-server package:

#1134846: nfs-kernel-server: NFS server fails to start without Kerberos on 
Debian 13 (Trixie) — hard dependency chain prevents NFSv3 and NFSv4

It has been closed by Salvatore Bonaccorso <[email protected]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Salvatore Bonaccorso 
<[email protected]> by
replying to this email.


--
1134846: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134846
Debian Bug Tracking System
Contact [email protected] with problems

Reply via email to