[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] systemd and NFS shares
- To: list@xxxxxxxxxxxxx
- Subject: Re: [LUG] systemd and NFS shares
- From: comrade meowski <mr.meowski@xxxxxxxx>
- Date: Sun, 29 Aug 2021 15:49:13 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zDCUnQPA2A7SngvzATshCgAeb2jWKjU7O9jq/gEFFus=; b=R8iXfbYZwIolkvPlxaxyIpnDaxCg+Z89jsqytXWpdNDGwMwcYPC8K/AfWRksciOOO/jtUn7cy6fq+iIK14watih/LLvGDzVVxWR3mSNo0+vftknzH8F+yNLYQPv0dW/gZXWODnun9PB5heYoK5/ftSLcRANH9reohl8rWTSrYHwmFkroAPzK8kRt3J7G6Us42RADV983Js5XTt2Ky3xp9DYU+xMsLoNzmNSTFrGk2WeNIU/okVNwcKE2RNBHcSIZoxc79Y5a6cqLRhDMsPo/Tq63dDTJyTawWTOA6xPWFZWnb2Uh3JigkB25xMcuuViXYPFn7mPTsmXBPBRlr9EVwQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kt8sxou9CjZR7ZvrlWVYXXj9taycedLPS4vC2VFXYTojDlQ8qTJk2QTblGPxRzp/qPFCdCyx3I6nvgR6PdRVbtiVZMtxJRhJjtsAtTULpTTRyV8qjFyycKXusVJ90riVUQl0Vts5kiwrQEJLz32vG2B69LQoZwxMGM06fN+FQAVoIPjbyR5L59/2dFnFTsbYO7C7Yq9kLD2DkepmjwscIKCQXwHGecHTi4gMsAWlPFevE4BChlUJ2eviFm0wRk7bOiytlKY/1ymiZ2hgue+2OqlskWRzqOJxCHoHVoM9VHXOnlPh0NW6jY3jPtdgvpy79TY2Sa7O4RqIf9Inul8vVQ==
- Content-language: en-GB
- Delivered-to: dclug@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dcglug.org.uk; s=1618045561; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Unsubscribe:List-Id:Subject:MIME-Version:In-Reply-To:From:References:To: Date:Message-ID:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner:List-Archive; bh=WDh9BQj0o91QW64FCNhHYpCQQGxFPdVeROyb1EqX2Ag=; b=JDkWQ6g809xNu0T2fQGnE86h8 KVVcjzzABS+qyvr6x+r9agkYI8v7VNYeYk4peiv9mNdvau9e8CiJTpmQWJcodJSqR5ysewNZREzAg mIMkZvLItwe5B/oIFnuqNU23ETnvghSFQySphMicFy6hpjArGwLzPQPKbZVkMXpZdjls4=;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zDCUnQPA2A7SngvzATshCgAeb2jWKjU7O9jq/gEFFus=; b=rn/pBhPu8gwNyrafHfAGe245dsyI4JbcJ3t0wzvJ2Hus0RlpLOZmkq2v67msuJ47o/rCLuinU3F3BnwXsFkJngfMQxy+M6GzNb8Ll+7LTm7O6Jbts+foUWUU1aZPcLQMy4hnksBbOCtBQJilrvRqEkbxpz5boqf79xpO1o8+5MZuV/q6wRXWfOGWFTfCTQAdgtSFMJfxIAr3lY89GPH/VPdIb+fWSUKlxWoYrLSgmdhKR4ezx/Z9Kcvw9Jg91RiDCApatRdjBCeKYh7plGspuYr7gCikZURuGBdOH4r6viwd0YALD0yU5XLZd22xFrtv6xBxg30pI8SToxRe9G88/A==
On 29/08/2021 10:16, Julian Hall wrote:
Getting there slowly :)
You and NFS shares between that NAS and your Mint PC have a loooooong
history don't they? We seem to have done this several times before at
this point...
You could say that.. and you'd be right. What I don't understand is why
I always seem to end up with a different solution to the same problem.
Delete ALL of the old crap - get rid of the weird .mount and
.automount files, clean fstab and check through your systemd units to
find and remove any old references.
I think I did that and used 'grep -r' to look for file mentions. In
seems init.d still lists autofs as a service despite purging autos off
the system? Is that harmless?
First thing to do is make sure you've cleaned up all the old stuff
first: what happens if you do:
/etc/init.d/autofs status
On your modern-ish Mint box old init isn't really there, it's all
systemd now mercifully. So your traditional /etc/init.d/blah stuff is
actually redirected to and handled by systemd. It's the same as just
running:
systemctl status autofs
Either way you want to find out if it - or any of your other old mount
stuff - is still lurking around and messing things up. You can disable
it but if you've apt purged the package anyway it should be a non
functional systemd unit anyway. To be sure:
systemctl disable autofs
Look for other mount service stuff you may have forgotten about:
systemctl list-unit-files | grep enabled | sort
Disable the stuff you want to get rid of:
systemctl disable blah
Check fstab for old redundant entries as well. Reboot.
Once you're 100% sure that the mounting itself is working fine (it's *on
access* remember) then move on to step 2: permissions.
--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq