-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asterisk: Need simpler conffiles definitions #808
Comments
Almost forgot, various files like |
Hi Phillip! Just my two cents. Regarding /etc/asterisk I agree with you, makes sense to me. Regarding init script I think it doesn't hurt to add that to conffiles. It'll only be copied over during sysupgrade if the user did actually make changes to it. My expectation is that users don't rewrite the initi script. But if for whatever reason they do end up changing it I think it's still nice to save the changes during sysupgrade. Regarding the keys in /var I don't think I'd want that in conffiles because on OWRT /var is volatile by default. So that's not where I'd save any keys. I'd try to change the configuration and set them up in /etc. I think nowadays there's a config switch in OWRT these days to switch /var to be non-volatile, but that's not default. Not really sure about this one. |
There are two choices. Support persistent Most But I don't feel that strongly about it. |
Well, this issue hasn't advanced much in the last year. Should we close it? |
Maintainer: @jslachta
Environment: x86_64, generic, HEAD
Description:
Looking at the
conffiles
definition in theMakefile
, it's not clear it's correct.Instead of enumerating the files in
/etc/asterisk/
it would make more sense to just name that directory. For instance, if you make a copy of a config file as:before editing the file, or perhaps (periodically) a timestamped version of it like:
then you'd want those files preserved across
sysupgrade
s. I also note the lack of.ael
files as being backed up.The file
/etc/init.d/asterisk
isn't really modifiable and probably should be updated viasysupgrade
(as options are expressed in/etc/config/asterisk
instead).Lastly, cryptographic keys (used by
res_crypto
) are stored in/var/lib/asterisk/keys/
and definitely should be backed up, along with/var/lib/asterisk/astdb/
.The text was updated successfully, but these errors were encountered: