You are not logged in.

#1 2024-08-01 20:06:37

Crunchbang
Member
From: Script headers everywhere
Registered: 2024-04-25
Posts: 22

Contents of /etc/modprobe.d gets deleted. [Solved]

Added a rule for one of my modules in /etc/modprobe.d.   Later realized it was gone.    Thought maybe I was crazy so I recreated the rule and went about my way.    Only to find later that it was again missing.   

But am I crazy tho?   Is this normal ?

Last edited by Crunchbang (2024-08-02 02:29:58)

Offline

#2 2024-08-01 20:14:51

zbygv
Member
Registered: 2024-08-01
Posts: 4

Re: Contents of /etc/modprobe.d gets deleted. [Solved]

How are you adding the rule, or is there a chance that it's a permissions issue? It is a bit unusual at the very least; I wouldn't say you're crazy, but you might be missing something.

Last edited by zbygv (2024-08-01 20:44:12)

Offline

#3 2024-08-01 20:32:56

seth
Member
Registered: 2012-09-03
Posts: 60,985

Re: Contents of /etc/modprobe.d gets deleted. [Solved]

Is "later" after a reboot? Aggressive tmpfs or do you use some sync daemon? Are you missing other files?

findmnt -T /etc/modprobe.d

Offline

#4 2024-08-01 21:16:41

Crunchbang
Member
From: Script headers everywhere
Registered: 2024-04-25
Posts: 22

Re: Contents of /etc/modprobe.d gets deleted. [Solved]

seth wrote:

Is "later" after a reboot? Aggressive tmpfs or do you use some sync daemon? Are you missing other files?

findmnt -T /etc/modprobe.d

/etc/modprobe.d is empty. 


I created a file:
/etc/modprobe.d/99-xpadneo-bluetooth.conf

options hid_xpadneo disable_deadzones=1 trigger_rumble_mode=0 rumble_attenuation=0,50 disable_shift_mode=1

@ Seth - will post the output this evening when I’m home. As far as I’m aware tho /etc/modprobe.d is a normal directory.

I havnt narrowed down exactly when it happens.   Not reboot tho.   Maybe DKMS ?

Last edited by Crunchbang (2024-08-01 21:19:01)

Offline

#5 2024-08-01 21:53:16

seth
Member
Registered: 2012-09-03
Posts: 60,985

Re: Contents of /etc/modprobe.d gets deleted. [Solved]

https://aur.archlinux.org/cgit/aur.git/ … o-dkms#n30
99-xpadneo-bluetooth.conf shows up in that patch and https://github.com/atar-axis/xpadneo/bl … _remove#L6 deletes that file.
Do you lose other files in that path?

sudo touch /etc/modprobe.d/foobar.snafu

Offline

#6 2024-08-02 02:29:10

Crunchbang
Member
From: Script headers everywhere
Registered: 2024-04-25
Posts: 22

Re: Contents of /etc/modprobe.d gets deleted. [Solved]

Ah i bet youre right!   good catch!    Checked pacman logs to find last upgrade was on 7/28.   Dropped a test file in there as instructed and renamed needed config file to something unique..  Time will tell.   As i have a good feeling this is solved I will mark as such until proven wrong.    Thanks all!

Offline

Board footer

Powered by FluxBB