View previous topic :: View next topic |
Author |
Message |
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Tue Feb 20, 2018 8:44 pm Post subject: |
|
|
Morality124 wrote: | Are my concerns overblown? Thanks. |
To compliment Neddy... yet, but concerns are good because at the very least you are questioning what is there.
Some people do not like the way that OpenRC is going and thus have locked their version at a particular version.
I have taken a different approach and accepted the latest version but am watching what it is expecting of me ... so far nothing has impacted on my choice. NOTE: I do not have a separate /usr and this was one of the key splits... There is a view that OpenRC is just aligning with Systemd but there isn't the extended thought to determine if the system consideration is valid, it is just demonizing systemd for the sake of it.
Now I am not saying I am not concerned as there have been a few questionable decisions, just they have been minor (from my perspective).
Even then Gentoo doesn't actually impose an init system... you could use openRC, systemd or runit (my fallback)
There is only two really obnoxious packages in @system in gentoo (systemd, paludis) where if you fully accept their usage AND then change your mind, it is very time consuming to unwind... _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
paxsars n00b
Joined: 02 Mar 2018 Posts: 8
|
Posted: Sun Mar 11, 2018 7:16 am Post subject: |
|
|
As a new gentoo user I can say the hardest and most complicated thing to learn is the package management system. Figuring out masks, use flags, downgrading, removing packages, rebuilding packages to install new packages ( I feel like I'm drowning) On the other hand it's a great learning experience and the community seems much friendlier than others I have seen. |
|
Back to top |
|
|
pun_guin Apprentice
Joined: 06 Feb 2018 Posts: 204
|
Posted: Sun Mar 11, 2018 3:06 pm Post subject: |
|
|
I agree. My latest problem with Gentoo (yes, I'm still here ) was that I had masked a certain OpenSSL version automatically and updating OpenSSL broke most of the build process. Thanks to this community, I found the solution without even having to ask ...
However, I wonder if there is a more obvious way to manage USE flags and masked versions than having to dig through several different directories. Hmm. _________________ I already use the new Genthree. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54099 Location: 56N 3W
|
Posted: Sun Mar 11, 2018 4:10 pm Post subject: |
|
|
pun_guin,
The USE flags and other things are layered. Each lower layer overrides (I use that term loosely) the layer above.
At the top, are the settings provided by the Gentoo devs in your profile.
They can be changed by the devs too. emerge --sync delivers the changes.
The next layer down is /etc/portage/make.conf. The settings here and in your profile are applied to everything you install.
That's often enough for most people, they don't need finer grained control.
There are tools like ufed and eselect to fiddle about here.
The files and directories in /etc/portage/* provide per package control over what is built and how its built.
Here be dragons. When you find yourself editing these things ask yourself if it should really be a global change.
If the answer is not clear, rephrase the question to be what harm would it do globally?
This far down the layers, you are configuring portage.
For completeness, there is another layer.
Portage can be controlled from the command line, like Code: | USE="foo -bar" emerge ... |
This is generally a very bad thing, as USE="foo -bar" only apply to that single command. Portage will forget it. However, it can be useful in the context of Code: | USE="foo -bar" emerge -pv ... | to see what would happen. If you don't use -p you get to keep all the pieces. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
pun_guin Apprentice
Joined: 06 Feb 2018 Posts: 204
|
Posted: Sun Mar 11, 2018 4:16 pm Post subject: |
|
|
Thank you for your detailed answer, as always. So editing the /etc/portage/make.conf for everything is "good enough"? Hmm, I spent too much time thinking about it then. _________________ I already use the new Genthree. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21497
|
Posted: Sun Mar 11, 2018 4:56 pm Post subject: |
|
|
No, not for everything. Sometimes per-package changes are the right solution. Per-package USE changes are generally safe. Per-package accept_keyword changes are situational, but can be very unsafe, especially if you set keywords to allow live versions. Per-package mask changes are even more situational and carry even higher risk. Generally, I would say that only per-package USE changes should be done without being able to answer Neddy's hypothetical questions about "What's the worst that could happen?" |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sun Mar 11, 2018 5:07 pm Post subject: |
|
|
pun_guin wrote: | Thank you for your detailed answer, as always. So editing the /etc/portage/make.conf for everything is "good enough"? Hmm, I spent too much time thinking about it then. | good enough yes, but you then lose some flexibility...
I use to just use make.conf until there was extra bloat and longer rebuild times so I streamlined it to flags I would considered key & then deal with exceptions on a case by case basis
for instance I have gtk2 in my make.conf but in my package.use I have an entry dev-python/matplotlib examples -gtk -gtk2 -wxwidgets tk latex because I don't want to have gtk-based plots
saying that though... I could do with a spring clean _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54099 Location: 56N 3W
|
Posted: Sun Mar 11, 2018 5:09 pm Post subject: |
|
|
pun_guin,
pun_guin wrote: | So editing the /etc/portage/make.conf for everything is "good enough"? |
It all depends on your use case. Most of the time, its good enough but not always. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|