Bug 90387 - RFE: Improve error reporting when CONFIG_FHANDLE kernel config not enabled
Summary: RFE: Improve error reporting when CONFIG_FHANDLE kernel config not enabled
Status: NEW
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-10 11:18 UTC by Erik de Castro Lopo
Modified: 2016-06-10 12:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Erik de Castro Lopo 2015-05-10 11:18:46 UTC
Spent 6+ hours debugging why an Arm board that that I installed Debian on wasn't booting. In the end it turned out that /home and swap were not mounting because the kernel for this board did not have CONFIG_FHANDLE enabled.

If a Linux kernel has a /proc/config.gz psuedo file it would be trivial to search that for kernel config items that systemd depends on.
Comment 1 Erik de Castro Lopo 2015-05-10 11:31:13 UTC
Somewhere deep in the internals of systemd some system call must have been failing because of the lack of the CONFIG_FHANDLE feature. That failure should have been reported up the stack.
Comment 2 Lennart Poettering 2015-05-11 10:08:58 UTC
Please see README before building systemd or the kernel for the use with systemd. This is documented there. When building such a low-level component it's essential to read what's documented there.
Comment 3 Erik de Castro Lopo 2015-05-11 10:22:10 UTC
I did *not* build systemd from source and hence did not read the readme.

I had an Ubuntu 14.04 install for this board (Odroid xu3) on a micro SD card and from that setup I used debootstrap to install Debian on an SSD drive, using the kernel from Ubuntu.

Seeing as I installed systemd as a package (along with over 100 other packages), at what point would I read the readme file that ships in the source code tarball?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.