Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1261026
| From | Luca Boccassi <bluca@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1114860: systemd: Confusing error message about missing "/etc/machine-id" upon setup |
| Date | 2025-09-11 22:30 +0200 |
| Message-ID | <LtW5z-eB3k-3@gated-at.bofh.it> (permalink) |
| References | <LtW5z-eB3k-5@gated-at.bofh.it> <LtW5z-eB3k-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Control: tags -1 wontfix Control: close -1 On Wed, 10 Sep 2025 22:38:50 +0200 Hilmar Preusse <hille42@web.de> wrote: > Package: systemd > Version: 258~rc4-1 > Severity: minor > > Dear Maintainer, > > recently I noticed that setting up systemd failed to setup in one of my > chroots. The error message was: > > <snip> > root@rasppi3:~# apt build-dep texlive-bin > Summary: > Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 > 4 not fully installed or removed. > Space needed: 0 B / 58.3 GB available > > Continue? [Y/n] y > Error: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) > Setting up systemd (258~rc4-1) ... > Cannot open '/etc/machine-id' in neither writable nor read-only mode: Function not implemented > dpkg: error processing package systemd (--configure): > installed systemd package post-installation script subprocess returned error exit status 1 > Errors were encountered while processing: > systemd > Error: Sub-process /usr/libexec/apt-eatmydata/dpkg returned an error code (1) > Error: Failed to process build dependencies > <snip> > > The root cause turned out to be a not mounted /proc filesystem, the setup > worked fine after it was mounted. However I found that error message quite > confusing: the file /etc/machine-id is there and is readable. It's accurate, but not helpful, as the file can't be read as file descriptors can't be used without procfs. This is not a supported setup, sadly procfs is a hard runtime requirement.
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1114860: systemd: Confusing error message about missing "/etc/machine-id" upon setup Luca Boccassi <bluca@debian.org> - 2025-09-11 22:30 +0200 Bug#1114860: systemd: Confusing error message about missing "/etc/machine-id" upon setup Luca Boccassi <bluca@debian.org> - 2025-09-12 13:10 +0200
csiph-web