GNU bug report logs - #45444
depmod: ERROR: could not open directory /lib/modules/5.10.2-gnu

Previous Next

Package: guix;

Reported by: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>

Date: Sat, 26 Dec 2020 10:29:01 UTC

Severity: normal

To reply to this bug, email your comments to 45444 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#45444; Package guix. (Sat, 26 Dec 2020 10:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Brielmaier <jonathan.brielmaier <at> web.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 26 Dec 2020 10:29:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: bug-guix <bug-guix <at> gnu.org>
Subject: depmod: ERROR: could not open directory /lib/modules/5.10.2-gnu
Date: Sat, 26 Dec 2020 11:28:13 +0100
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
```




Information forwarded to bug-guix <at> gnu.org:
bug#45444; Package guix. (Sat, 26 Dec 2020 21:58:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
Cc: 45444 <at> debbugs.gnu.org, bug-guix <at> gnu.org
Subject: Re: bug#45444: depmod: ERROR: could not open directory
 /lib/modules/5.10.2-gnu
Date: Sat, 26 Dec 2020 22:57:27 +0100
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#45444; Package guix. (Sat, 26 Dec 2020 21:58:02 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.