Bug 83435 - systemd 2.16.x on archlinux :[ OK ] / [ FAILED ] messages are no more showed during boot
Summary: systemd 2.16.x on archlinux :[ OK ] / [ FAILED ] messages are no more showed ...
Status: RESOLVED NOTOURBUG
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-03 12:18 UTC by a.antolini
Modified: 2015-02-04 18:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
boot screenshot (319.46 KB, text/plain)
2014-10-26 07:17 UTC, a.antolini
Details
boot sequence (319.46 KB, image/jpeg)
2014-10-26 07:19 UTC, a.antolini
Details

Description a.antolini 2014-09-03 12:18:54 UTC
Hi All, 

I'm on Archlinux 64bit  and after a recent systemd upgrade** to version 2.16.x,
 I noticed  an annoying  issue:

all [ OK ] (and [ FAILED]  messages  are no more showed during boot! (I prefer to see the [ OK ] or [ FAILED ] messages during boot )

After usual early messages and "Welcome to Archlinux"  only messages related to
fsck checks are displayed then login prompt appear as usual (I don't use any graphical login manager) 

This happens only during boot; [ OK ] messages are showed correctly during shutdown process.
 
The system starts in console mode (no framebuffer or any other vesa driver)

I don't have the "quiet" kernel parameter in the GRUB2 config or 
anything else that can limit messages displayed  during boot (a.k.a. silent boot) 


journalctl don't report any error messages, in fact, apart this issue, everything works fine

also systemctl --failed --all don't report anything useful 

I checked archLinux forum but nothing helped me (majority of request are related
to avoid messages at boot)


**  downgrading systemd on desktop to version 2.15.4  "solve" the issue and [ OK ] messages  are presented again in the boot phase.

Regards
Andrea
Comment 1 tbattisto 2014-09-10 07:03:05 UTC
Same problem with version 2.16 on my system.  No messages show on startup.  Messages show on shutdown.

System still works fine though.  

I had started a hread at this location (https://bbs.archlinux.org/viewtopic.php?id=186603), before finding this bug report.
Comment 2 a.antolini 2014-09-10 16:36:42 UTC
I discovered that the root cause ( at least for me) could be that the /usr dir is mounted  on separated partition!

I did some test with an old laptop which have installed a minimal Archlinux always updated (then with systemd 216-3) with no /usr or /var mounted on separated partition

With this configuration [ OK ] messages are... OK! I can see them during startup as usual..

Then I tried to replicated on this laptop, the disk partitioning similar to  my main desktop where I noticed the issue and where  I have /var and /usr mounted on separated partition since I started with Archlinux 

On laptop, using sysrescuecd and gparted, at first I moved /var on separated partition but nothing changed ( OK messages was visible at startup as usual)

then I also moved /usr on separated partition and... BINGO! :

   All OK messages are not visible at startup and I see only  messages related to fsck check like on main desktop.


I hope this could help for the issue resolution..

Thanks
Andrea
Comment 3 tbattisto 2014-09-13 00:17:58 UTC
Andrea - Good info on testing usr on separate partition.  

My usr is on a separate/dedicated partition also.  This never affected these  OK/FAILED boot messages from appearing before.  

So did something change to require the usr directory not be on a separate partition from now on?
Comment 4 a.antolini 2014-09-13 13:25:42 UTC
...probably yes ;-) but I'm not a developer; I just only verified that systemd 216 and /usr mounted on separated partition produce this collateral effect, while, as you already told, with all previous version of systemd OK/FAILED messages appeared as expected.

maybe nowadays having /usr on separated partition doesn't make sense, but I used to have this config since I started with Linux (not only with Arch) and I would like to continue with that ;)

I hope that  systemd developers will be able to reproduced the issue then fix it sooner or later :)

Andrea
Comment 5 Zbigniew Jedrzejewski-Szmek 2014-10-26 03:25:46 UTC
Whether /usr is separate or not should not matter for this.

What happens if you include 'systemd.show_status=1' on the kernel command line?
Comment 6 a.antolini 2014-10-26 07:17:43 UTC
Created attachment 108429 [details]
boot screenshot

Added the suggested command to the kernel cmdline but unfortunately nothing changed

Attached a captured boot sequence if it can be useful

thanks
Andrea
Comment 7 a.antolini 2014-10-26 07:19:36 UTC
Created attachment 108430 [details]
boot sequence
Comment 8 Lennart Poettering 2015-02-04 18:40:04 UTC
/usr must be pre-mounted from the initrd, if it is split off. We don't really support systems where that's not the case. The code short work to a certain level, but you are basically on your own if you mount /usr after boot.

Sorry,


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.