Bug 41723 - Do not process /etc/modules
Summary: Do not process /etc/modules
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: systemd-utils-standalone (show other bugs)
Version: unstable
Hardware: all Linux
: P5 major
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-16 11:44 MSK by Vladimir D. Seleznev
Modified: 2022-01-17 12:11 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir D. Seleznev 2022-01-16 11:44:35 MSK
The commentary in the file says that kernel modules listed in the file will be loaded at boot time, but this does not happen. It breaks intallations that rely on it.
Comment 1 Alexey Gladkov 2022-01-16 17:38:51 MSK
> The commentary in the file says that kernel modules

Just to make sure we're on the same page, where is that comment?
Comment 2 Alexey Gladkov 2022-01-16 17:41:37 MSK
Found it:

$ head -5 /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.
Comment 3 Alexey Gladkov 2022-01-16 17:53:51 MSK
In 0.9.9.14-alt1 this config has moved to /etc/modules-load.d/modules.conf . This config should be handled by systemd-modules-load. If this is not the case, then reassign the bug to the appropriate package.
Comment 4 Vladimir D. Seleznev 2022-01-16 22:35:59 MSK
(In reply to Alexey Gladkov from comment #3)
> In 0.9.9.14-alt1 this config has moved to /etc/modules-load.d/modules.conf .
> This config should be handled by systemd-modules-load. If this is not the
> case, then reassign the bug to the appropriate package.

It seems that this config is not handled by systemd-modules-load. Reassing the bug.
Comment 5 Dmitry V. Levin 2022-01-17 11:45:02 MSK
The latest update of startup package should have converted /etc/modules file into a symlink to /etc/modules-load.d/modules.conf file, please make sure it's the case.
Comment 6 Vladimir D. Seleznev 2022-01-17 12:11:18 MSK
(In reply to Dmitry V. Levin from comment #5)
> The latest update of startup package should have converted /etc/modules file
> into a symlink to /etc/modules-load.d/modules.conf file, please make sure
> it's the case.

It was startup-0.9.9.13-alt1. After upgrading to startup-0.9.9.14-alt1 the file is converted into the symlink. Then I close this bugreport. Sorry for the mess. Thank you!