Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: smartmontools-7.4-2 now ships /etc/conf.d/smartd, which collides with OpenRC (Read 177 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

smartmontools-7.4-2 now ships /etc/conf.d/smartd, which collides with OpenRC

Hi all,

I recently noticed that smartmontools-7.4-2 now installs /etc/conf.d/smartd. Quite some time ago, I added smartmontools-openrc to AUR (https://aur.archlinux.org/packages/smartmontools-openrc), which installed this file, according to what other OpenRC init script packages do.

For now, I simply removed that file from my package. However, I'm not sure if this was correct, or if smartmontools shouldn't install this file in the first place. Also, the contents differ:

This is the file I added:
Code: [Select]
# /etc/conf.d/smartd: config file for /etc/init.d/smartd

# Insert any other options needed
SMARTD_OPTS=""
Ans this is what is installed now:
Code: [Select]
SMARTD_ARGS=""
So – what's the right thing to do here?

Re: smartmontools-7.4-2 now ships /etc/conf.d/smartd, which collides with OpenRC

Reply #1
I believe the convention is that the init package provides that. Not sure what the contents are supposed to be but I've removed the file.

Re: smartmontools-7.4-2 now ships /etc/conf.d/smartd, which collides with OpenRC

Reply #2
Thanks a lot for the immediate reply and fix!

 

Re: smartmontools-7.4-2 now ships /etc/conf.d/smartd, which collides with OpenRC

Reply #3
Just for the record: I now re-added the conf.d file to the -openrc package, (v20240817).