* bug#45444: depmod: ERROR: could not open directory /lib/modules/5.10.2-gnu
@ 2020-12-26 10:28 Jonathan Brielmaier
2020-12-26 21:57 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Brielmaier @ 2020-12-26 10:28 UTC (permalink / raw)
To: 45444
depmod doesn't seem to be happy about our paths...
```
# depmod
depmod: ERROR: could not open directory /lib/modules/5.10.2-gnu: No such
file or directory
depmod: FATAL: could not search modules: No such file or directory
```
Happens on up to date master branch:
```
$ guix system describe
Generation 129 Dec 26 2020 11:13:28 (current)
file name: /var/guix/profiles/system-129-link
canonical file name: /gnu/store/yb73df860bd39hzrbvhz79ydqyqfbbdh-system
label: GNU with Linux-Libre 5.10.2
bootloader: grub
root device: UUID: d5e47476-ccdb-4dd5-8f69-f670d5ab25a0
kernel:
/gnu/store/si6ly6im9ih9fpycp5zq1895y2jl4kzm-linux-libre-5.10.2/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 7be871bb69b8df20e566aa3d078b8cbe453693e2
configuration file:
/gnu/store/gy14nza51q9s8fyhd53caaf0bvv3363w-configuration.scm
```
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#45444: depmod: ERROR: could not open directory /lib/modules/5.10.2-gnu
2020-12-26 10:28 bug#45444: depmod: ERROR: could not open directory /lib/modules/5.10.2-gnu Jonathan Brielmaier
@ 2020-12-26 21:57 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-12-26 21:57 UTC (permalink / raw)
To: Jonathan Brielmaier; +Cc: 45444
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
Hi Jonathan,
Jonathan Brielmaier 写道:
> depmod doesn't seem to be happy about our paths...
...and? :-)
Would I be correct if I guessed that you're using some third-party
script/how-to that thinks it should run depmod? That's not
generally true. It's also incompatible with (or, irrelevant on)
Guix by design. With any system with a read-only root fs, in
fact. *points at cloud* I wonder what depmod does on such
systems.
$ sudo depmod -b /run/booted-system/kernel
depmod: ERROR:
openat(/run/booted-system/kernel/lib/modules/5.10.0-r3-16.2429ba5-X230,
modules.dep.32260.31994.1609018567, 301, 644): Read-only file
system
Followed by about ten more similar errors. Do we care? Why?
Thanks for starting the discussion,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-26 21:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-26 10:28 bug#45444: depmod: ERROR: could not open directory /lib/modules/5.10.2-gnu Jonathan Brielmaier
2020-12-26 21:57 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).