From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Why I can't I build systemd without ipv6?
Date: Fri, 13 Oct 2017 12:02:26 -0700 [thread overview]
Message-ID: <CAGfcS_=zgxPUdP4vV-F_ByDc1tUfEZDKcnfv0f0VYDoRt_Wd-A@mail.gmail.com> (raw)
In-Reply-To: <CAJ0EP41ba_H2TT8eZfGdyRES-JmkaCnhFdDV5MOqe5-SDcSBeg@mail.gmail.com>
On Fri, Oct 13, 2017 at 11:34 AM, Mike Gilbert <floppym@gentoo.org> wrote:
> On Fri, Oct 13, 2017 at 1:29 PM, Daniel Frey <djqfrey@gmail.com> wrote:
>>
>> So *why* on earth is it a dependency when (from what I've been reading after
>> discovering this) many ISPs don't seem to support it properly yet?
>>
>> And is there a way to build systemd without ipv6? Or am I going to have to
>> revert these three systems back to openrc?
>
> Instead of stripping IPv6 out of your kernel, I would suggest that you
> simply disable it on any network interfaces. How you do this would
> depend on the method you use to manager your network config.
>
> If you really want to remove IPv6 from your kernel, simply disable the
> GENTOO_LINUX_INIT_SYSTEMD config option, and enable the other other
> dependencies manually.
>
> https://gitweb.gentoo.org/proj/linux-patches.git/tree/4567_distro-Gentoo-Kconfig.patch#n106
>
Just to expand a bit on this - the Gentoo-added service manager kernel
options are purely for convenience. If you don't use gentoo-sources
you won't see them at all, because they're not part of the upstream
kernel. All they do is pull in a bunch of other options. Back in the
"good old days" people would look at the wiki (or pre-wiki) page for
openrc, see a list of mandatory kernel options, and set those options
when building their kernel. Then somebody had the clever idea that it
would be easier for users to not shoot themselves in the foot if we
just gave a one-click option that set all the requirements
automatically. However, the kernel configuration settings doesn't
really have any concept of "optional dependencies" - so we're stuck
with either not pulling in ipv6, which mostly works, or pulling it in,
which always works.
It is completely safe to answer no to whether you use systemd and
openrc, and then just manually answer yes to the things that you need.
Just keep in mind that you may run into issues if you don't enable
something that is truly mandatory, or you might have diminished
functionality. It also means that you need to keep your ears open for
when the requirements change, since there won't be a Gentoo automagic
kernel config setting to change things for you. That said, running an
upstream kernel isn't really that big a deal - I do that since I run
btrfs and zfs and want to have a bit more control over which series
I'm running to mitigate the bugs.
--
Rich
next prev parent reply other threads:[~2017-10-13 19:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-13 17:29 [gentoo-user] Why I can't I build systemd without ipv6? Daniel Frey
2017-10-13 17:41 ` Jack
2017-10-13 19:21 ` Daniel Frey
2017-10-13 17:41 ` daniel
2017-10-13 19:23 ` Daniel Frey
2017-10-13 17:50 ` [gentoo-user] " Grant Edwards
2017-10-13 19:38 ` Daniel Frey
2017-10-13 18:05 ` [gentoo-user] " Canek Peláez Valdés
2017-10-13 19:33 ` Daniel Frey
2017-10-13 21:58 ` Daniel Frey
2017-10-14 7:37 ` Tom H
2017-10-14 15:00 ` Daniel Frey
2017-10-13 18:34 ` Mike Gilbert
2017-10-13 19:02 ` Rich Freeman [this message]
2017-10-13 19:42 ` Daniel Frey
2017-10-13 19:32 ` Daniel Frey
2017-10-13 20:58 ` Vadim A. Misbakh-Soloviov
2017-10-13 21:48 ` [gentoo-user] " Grant Edwards
2017-10-13 21:55 ` Daniel Frey
2017-10-14 11:05 ` Mick
2017-10-14 15:03 ` Daniel Frey
2017-10-14 15:08 ` [gentoo-user] " Daniel Frey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGfcS_=zgxPUdP4vV-F_ByDc1tUfEZDKcnfv0f0VYDoRt_Wd-A@mail.gmail.com' \
--to=rich0@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox