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

pkg_postinst uses files in /etc/conf.d #3

Open
madsl opened this issue Sep 10, 2014 · 2 comments
Open

pkg_postinst uses files in /etc/conf.d #3

madsl opened this issue Sep 10, 2014 · 2 comments
Assignees

Comments

@madsl
Copy link

madsl commented Sep 10, 2014

pkg_postinst() still refers to files in /etc/conf.d for default settings in e.g. postgresql-9.3.5.ebuild. Should we switch to /etc/portage/savedconfig or something so you don't have to rely on having /etc/conf.d-files available?
I originally thought to post this on your blogpost http://blogs.gentoo.org/titanofold/2014/09/10/unifying-postgresql-ebuilds, but there's no way to comment there without being a gentoo developer, it seems. Sign-in with OpenID didn't work because blogs.gentoo.org wasn't a registered domain within OpenID.

@titanofold titanofold self-assigned this Sep 16, 2014
@titanofold
Copy link
Owner

We can move the significant portion out of the conf.d files into a file in /etc/postgresql-${SLOT}. That's probably more reasonable than having it in the conf.d as it is now.

I don't see the importance of this in regards to systemd. As such, I don't consider this a fix for systemd as much as it's just the right thing to do.

(PS: I have 27,000+ pending comments to delete because they weren't placed into spam for easy removal. I'm not bothering with comments on that blog anymore.)

@titanofold titanofold changed the title systemd support in postgresql (pkg_postinst uses files in /etc/conf.d) pkg_postinst uses files in /etc/conf.d Sep 16, 2014
@madsl
Copy link
Author

madsl commented Sep 17, 2014

Nice :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants