titanofold / titanofold-gentoo-x86

Gentoo Developer Overlay
2 stars 3 forks source link

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

Open madsl opened 10 years ago

madsl commented 10 years ago

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 commented 10 years ago

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.)

madsl commented 10 years ago

Nice :)