Bug 1582941 - systemd-networkd dracut module doesn't include /etc/systemd/network files
Summary: systemd-networkd dracut module doesn't include /etc/systemd/network files
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint-list
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-27 20:18 UTC by Georg Sauthoff
Modified: 2019-05-28 23:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-28 23:29:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Georg Sauthoff 2018-05-27 20:18:46 UTC
Description of problem:
The systemd-networkd dracut module is a more lightweight alternative to the network/ifcfg dracut modules.

As far as I can see the included networkd only establishes a network connection if some configuration under /etc/systemd/network is included as well. There doesn't seem to be one generated, either.

Thus, including the /etc/systemd/network files from the system during initramfs generation makes sense.

Version-Release number of selected component (if applicable):
dracut-network-046-8.git20180105.fc27.x86_64

How reproducible:
always

Steps to Reproduce:
1. create /etc/systemd/network/20-wired.network
2. dracut -f --add systemd-network
3. lsinitrd /boot/initramfs....img | grep wired

Actual results:
no output

Expected results:
... etc/systemd/network/20-wired.network

Additional info:

I can see that on a machine with some elaborate network configuration it would make sense to have a different (simpler) network configuration in early userspace. But then I would expect some way to disable the default inclusion.

Also, there is some trade-off in what to include and what not - e.g. /etc/modprobe.d/ and /etc/sysctl.d/ files are included in the initramfs, by default. But of course, there is some limit in what to include.

However, I think when a user explicitly adds the systemd-networkd dracut module then including the /etc/systemd/network/ files arguably is expected, as well.

Comment 1 Ben Cotton 2019-05-02 19:17:07 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Ben Cotton 2019-05-02 20:06:08 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2019-05-28 23:29:09 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.