Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-16 Thread Wolfgang Schweer
On Tue, Dec 16, 2014 at 04:08:12PM +0100, Wolfgang Schweer wrote: > > As far as I found out, systemd has a target called 'network-online'. > Maybe this could be used within a nslcd systemd service file. But I > don't know if this would really solve the problem and I don't know > enough about sy

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-16 Thread Wolfgang Schweer
On Tue, Dec 16, 2014 at 12:21:06PM +0100, Petter Reinholdtsen wrote: > > Did you manage to figure out if nslcd could be told to wait until the > network is up? No. But there's already /etc/network/if-up.d/nslcd. This script does nothing, if nslcd died before. But may be it could check if the se

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-16 Thread Petter Reinholdtsen
[Holger Levsen] > Hi Wolfgang, > > thanks for confirming! Yes. Great to have it confirmed that there is a race condition involving nslcd, autofs and network-manager. The fact that it is hidden when network-manager is quicker is not really comforting, as it can trigger at any time if there is a

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-15 Thread Holger Levsen
Hi Wolfgang, thanks for confirming! On Montag, 15. Dezember 2014, Wolfgang Schweer wrote: > Yes, atm version 0.9.10.0-3; network-manager v. 0.9.10.0-4 was the only > package installed from unstable to make NFS mount work. ok, cool, 0.9.10.0-4 should migrate to jessie in four days: https://packa

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-15 Thread Wolfgang Schweer
On Mon, Dec 15, 2014 at 01:03:50PM +0100, Holger Levsen wrote: > > this is due to the old (=not from sid) network-manager being installed and > used? Yes, atm version 0.9.10.0-3; network-manager v. 0.9.10.0-4 was the only package installed from unstable to make NFS mount work. Wolfgang sign

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-15 Thread Holger Levsen
Hi Wolfgang, (I guess my question is pretty obvious, but I want to be sure...) On Sonntag, 14. Dezember 2014, Wolfgang Schweer wrote: > Added a default (desktop=kde) workstation: NFS mount fails all the time. this is due to the old (=not from sid) network-manager being installed and used? > B

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-14 Thread Wolfgang Schweer
On Sun, Dec 14, 2014 at 01:38:22AM +0100, Wolfgang Schweer wrote: > > Strange enough, with a totally stripped down VM test environment NFS > mount succeeds all the time without any changes to rc.local and without > adding a dhcp hook file. > > This is the setup: > > main server (with 'desktop

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-13 Thread Wolfgang Schweer
On Sun, Dec 14, 2014 at 12:07:17AM +0100, Wolfgang Schweer wrote: > > Sad to report that after upgrading server and client today NFS mount > fails all the time. Strange enough, with a totally stripped down VM test environment NFS mount succeeds all the time without any changes to rc.local and

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-13 Thread Wolfgang Schweer
On Thu, Dec 11, 2014 at 08:40:21PM +0100, Wolfgang Schweer wrote: > > Then I changed the commands in rc.local like this: > > # By default this script does nothing. > > systemctl stop nslcd > systemctl start nslcd > systemctl restart autofs > > exit 0 > > With this workaround NFS mount succeede

Bug#759544: Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-12 Thread Arthur de Jong
tags 759544 + help thanks On Wed, 2014-12-10 at 22:32 +0100, Holger Levsen wrote: > Raising the severity of 759544 as 20% failure rate surely has a "major impact > on the usuability of the package"... > > Please see 772342 to learn how 759544 affects debian-edu-config. Any help in tracking this

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-11 Thread Wolfgang Schweer
On Thu, Dec 11, 2014 at 12:36:30AM +0100, Wolfgang Schweer wrote: [ /etc/rc.local ] > # By default this script does nothing. > > systemctl restart nfs-common > systemctl restart autofs > systemctl stop nslcd > systemctl start nslcd > > exit 0 Investigating further (virtual-box VM setup) I drop

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-10 Thread Wolfgang Schweer
On Wed, Dec 10, 2014 at 10:23:35PM +0100, Wolfgang Schweer wrote: > On Sat, Dec 06, 2014 at 02:58:29PM +0100, Wolfgang Schweer wrote: > > > > NFS mount from tjener seems to work only ramdomly. This happens even > > after 'autofs reload' was added to dhclient exit hooks. > > Seems to be that in a

Bug#759544: Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-10 Thread Holger Levsen
severity 759544 important affects 759544 debian-edu-config thanks Raising the severity of 759544 as 20% failure rate surely has a "major impact on the usuability of the package"... Please see 772342 to learn how 759544 affects debian-edu-config. Thanks. signature.asc Description: This is a d

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-10 Thread Wolfgang Schweer
On Sat, Dec 06, 2014 at 02:58:29PM +0100, Wolfgang Schweer wrote: > Package: debian-edu-config > Version: 1.814 > Severity: important > > NFS mount from tjener seems to work only ramdomly. This happens even > after 'autofs reload' was added to dhclient exit hooks. > > Once I got it working with

Bug#772342: debian-edu-config: mounting homedirs via NFS doesn't work reliably

2014-12-06 Thread Wolfgang Schweer
Package: debian-edu-config Version: 1.814 Severity: important NFS mount from tjener seems to work only ramdomly. This happens even after 'autofs reload' was added to dhclient exit hooks. Once I got it working with autofs stop/start instead of reload. Maybe there's another race condition causing