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

Update RPM packaging #221

Closed
wants to merge 3 commits into from
Closed

Conversation

opoplawski
Copy link

This tries to do a few things:

  • Set better permissions on config files
  • Fix an apparent typo for /etc/sysconfig/evebox
  • Mark config files as config files so they are not replaced on upgrade
  • Actually own the real config file
    This is untested as I don't have the ability to build evebox and evebox RPMs with fpm at the moment.

@jasonish
Copy link
Owner

jasonish commented Aug 8, 2022

This installs config files, rather than just their examples. I'm not sure if I want to do that. By installing "examples", we can overwrite them on upgrade so a valid example is always available. Plus many installation scenarios don't require a configuration file, so I'm not sure this is actually an improvement here.

@opoplawski
Copy link
Author

How about this then? I think it's pretty important to install the config files with proper permissions.

@jasonish
Copy link
Owner

jasonish commented Aug 8, 2022

I can add a default config file with the correct permissions, but the file has to be blank I think. The examples are not good as a default.

@opoplawski
Copy link
Author

I guess I would suggest a completely commented out version.

@jasonish jasonish added this to the 0.17.0 milestone Feb 19, 2023
@jasonish
Copy link
Owner

Closing. The RPM and Debian packages will no include a minimal configuration file that suits 90% of most peoples needs.

jasonish added a commit that referenced this pull request Feb 21, 2023
As for the .deb, remove the sysconfig/defaults file but respect it if
it exists.

Also provides a default config.

Also addresses most of the issues brought up in
#221.
@jasonish jasonish closed this Feb 21, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants