AutoFS isues on tjener after stretch update
Hi, yesterday, I updated a Skolelinux combined server from jessie to stretch, following the upgrade guide. While everything else went exactly according to the plan, I had one issue after the update: The autofs daemon was running on tjener, mounting an empty directory over /skole/tjener (probably just the normal NFS share that clients should mount, but thus hiding the real directory under it, breaking the export…) autofs kicked in right after upgrading packages, breaking the cfengine run afterwards (which is where I noticed it). For now, I chose to disable the autofs service on tjener. Has anyone else seen this happen? What is the correct solution? -nik -- Dominik George (1. Vorstandsvorsitzender, pädagogischer Leiter) Teckids e.V. - Erkunden, Entdecken, Erfinden. https://www.teckids.org/ signature.asc Description: PGP signature
Re: AutoFS isues on tjener after stretch update
[Dominik George] > Has anyone else seen this happen? What is the correct solution? I thougth we wanted to not use autofs on tjener, to avoid the problem you describe. Try 'apt purge autofs' to solve it? I suspect this happen during installation. Why was it pulled in again? -- Happy hacking Petter Reinholdtsen
Re: AutoFS isues on tjener after stretch update
Hi, > I thougth we wanted to not use autofs on tjener, to avoid the problem > you describe. Try 'apt purge autofs' to solve it? I suspect this > happen during installation. Why was it pulled in again? If only I knew… Probably because the workstation profile is activated as well? If this is the case, I propose to add a systemd unit override configuration with a HostnameMatch so that autofs is not started if the hostname is tjener. -nik -- Dominik George (1. Vorstandsvorsitzender, pädagogischer Leiter) Teckids e.V. - Erkunden, Entdecken, Erfinden. https://www.teckids.org/ signature.asc Description: PGP signature
Bug#876376: debian-edu: autofs daemon on combined server breaks homes and NFS
Source: debian-edu Version: 1.924 Severity: important Tags: patch When updating a jessie combined server (a machine with the Main Server, LTSP-Server *and* Workstation profiles), autofs-ldap is pulled in as Recommends from education-networked-common. Enabling autofs and autofs-ldap on tjener results in /skole being hidden by the autofs mountpoint.
Processed: Bug#876376 marked as pending
Processing commands for cont...@bugs.debian.org: > tag 876376 pending Bug #876376 [src:debian-edu] debian-edu: autofs daemon on combined server breaks homes and NFS Added tag(s) pending. > thanks Stopping processing here. Please contact me if you need assistance. -- 876376: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876376 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Re: AutoFS isues on tjener after stretch update
> Probably because the workstation profile is activated as well? > > If this is the case, I propose to add a systemd unit override > configuration with a HostnameMatch so that autofs is not started if the > hostname is tjener. Verified to be the cause, proposed fix is committed. If you agree, it should probably be backported for the 9.2 point release and/or documented in the upgrade guide. -nik -- Dominik George (1. Vorstandsvorsitzender, pädagogischer Leiter) Teckids e.V. - Erkunden, Entdecken, Erfinden. https://www.teckids.org/ signature.asc Description: PGP signature
Processed: tagging 876376
Processing commands for cont...@bugs.debian.org: > tags 876376 - patch Bug #876376 [src:debian-edu] debian-edu: autofs daemon on combined server breaks homes and NFS Removed tag(s) patch. > thanks Stopping processing here. Please contact me if you need assistance. -- 876376: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876376 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Re: Bug#876376: debian-edu: autofs daemon on combined server breaks homes and NFS
On Thu, Sep 21, 2017 at 03:40:57PM +0200, Dominik George wrote: > Source: debian-edu > Version: 1.924 > Severity: important > Tags: patch > > When updating a jessie combined server (a machine with the Main Server, > LTSP-Server *and* Workstation profiles), autofs-ldap is pulled in as > Recommends from education-networked-common. Enabling autofs and > autofs-ldap on tjener results in /skole being hidden by the autofs > mountpoint. AFAICT, this is already cared for by cfengine (configured in d-e-c/cf/cf.homes), no need to change anything. The method to disable autofs changed from Jessie to Stretch. So maybe that's a possible reason. I didn't notice any problems, though, while upgrading a combi server (stock installation) from Jessie to Stretch. Maybe the installations differ… Wolfgang signature.asc Description: PGP signature
Processed: Re: Processed: Bug#876376 marked as pending
Processing commands for cont...@bugs.debian.org: > tags 876376 - pending Bug #876376 [src:debian-edu] debian-edu: autofs daemon on combined server breaks homes and NFS Removed tag(s) pending. > thanks Stopping processing here. Please contact me if you need assistance. -- 876376: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876376 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Re: Bug#876376: debian-edu: autofs daemon on combined server breaks homes and NFS
Hi, > AFAICT, this is already cared for by cfengine > (configured in d-e-c/cf/cf.homes), no need to change anything. Hmm, not quite… as autofs being started by the postinst on upgrade effectively breaks cfengine (by preventing it from accessing the user homes in /skole/tjener), so it does not get a chance to take care of it ;). -nik -- Dominik George (1. Vorstandsvorsitzender, pädagogischer Leiter) Teckids e.V. - Erkunden, Entdecken, Erfinden. https://www.teckids.org/ signature.asc Description: PGP signature
Re: Bug#876376: debian-edu: autofs daemon on combined server breaks homes and NFS
On Thu, Sep 21, 2017 at 04:36:58PM +0200, Dominik George wrote: > > AFAICT, this is already cared for by cfengine > > (configured in d-e-c/cf/cf.homes), no need to change anything. > > Hmm, not quite… as autofs being started by the postinst on upgrade > effectively breaks cfengine (by preventing it from accessing the user > homes in /skole/tjener), so it does not get a chance to take care of it > ;). As this is only upgrade related, 'systemctl disable autofs' could be added to the upgrade instructions in the manual (before the cfengine call) to be on the safe side. Wolfgang signature.asc Description: PGP signature