Bug 835962
Summary: | systemd not setting system time correctly | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bob Hockney <bhockney> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | johannbg, lnykryn, metherid, mschmidt, msekleta, notting, plautrba, systemd-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-27 18:49:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bob Hockney
2012-06-27 16:49:06 UTC
Do you have /usr on the root filesystem, or as a separate mount? (In reply to comment #1) > Do you have /usr on the root filesystem, or as a separate mount? /usr is separate filesystem Time is set before /usr is mounted... in that case, you need /etc/localtime to be a copy, not a symlink. Thanks, I copied the file to /etc/localtime and it works as expected. Having /usr on a separate filesystem used to be a recomended layout, but apparently no longer is. Can you point me to a discussion of issues I may encounter if I keep this layout? A split /usr layout is fine, provided that the initramfs mounts both / and /usr. See this Fedora 17 feature page: https://fedoraproject.org/wiki/Features/UsrMove Not sure if there is a more direct way to do this, but I forced initramfs to mount /usr by setting a symlink in /usr/sbin/init to /sbin/init, and then passing init=/usr/sbin/init to the kernel at boot time. I can then use a symlink for /etc/localtime, and this also eliminated a few other error messages I was seeing. An initramfs created using the version of dracut that's currently in F16 updates-testing should be able to mount /usr. The "usrmount" dracut module does it. https://admin.fedoraproject.org/updates/FEDORA-2012-9063 The dracut in F16 updates-testing works for me! Perhaps when this is pushed to updates the resolution on this should be changed to ERRATA from NOTABUG. Once I looked into it, more that just the system time was broken by /usr not being mounted in initramfs. I consider this a bug. Out of curiosity - what where the other problems that you saw? |