Skip to content
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

Ensure that .conf files are not stepped on during 'apt upgrade' #114

Closed
Allan-N opened this issue Jul 24, 2024 · 4 comments
Closed

Ensure that .conf files are not stepped on during 'apt upgrade' #114

Allan-N opened this issue Jul 24, 2024 · 4 comments
Assignees

Comments

@Allan-N
Copy link
Collaborator

Allan-N commented Jul 24, 2024

We would like to make changes to the default/template configuration (.conf) files. But, we also want to ensure that any of our software updates do not, inadvertently, step on an existing configuration. Working configurations need to keep working.

For now, "I" think we need to just leave any existing configuration file as-is. While not required at this time, having a "hook" that would allow us to exec a script/program that would help migrate/modify an existing configuration file would be a plus.

@jxmx
Copy link
Member

jxmx commented Dec 21, 2024

Move to ASL3 package

@jxmx jxmx transferred this issue from AllStarLink/asl3-asterisk Dec 21, 2024
@InterLinked1
Copy link
Member

Don't Debian packages already have provisions for managing this? When upgrading, I often get a message "the package has a newer config, what would you like to do?" with options to either keep my existing file or use the new one.

@jxmx
Copy link
Member

jxmx commented Dec 21, 2024

Yes it does. There's a number of people who keep saying "Y" to random files to replace them breaking their configuration. There's an associated pull I just make that will unconditionally answer "N" (keep) to all package installs.

@jxmx
Copy link
Member

jxmx commented Jan 1, 2025

Fixed by #115

@jxmx jxmx closed this as completed Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants