/tmp on separte partion - boot fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

After installing Fedora 26 on a Raspberry Pi 2 I modified the default install somewhat. Since I use a 32 GB SDcard, thereś plenty of extra space I replaced the swap partition for an LVM2 partition to put swap, /home, /var/log, /var/log/audit on a separate partition. (used gparted to do so)

This all seems to work fine but when /tmp is put on an LVM-partition boot will fail:

[root@rpi2 ~]# systemctl status systemd-tmpfiles-setup.service
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2017-06-27 23:45:19 CEST; 3 weeks 4 days ago
     Docs: man:tmpfiles.d(5)
           man:systemd-tmpfiles(8)
 Main PID: 569 (code=exited, status=1/FAILURE)

Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux security context of /var/tmp: Read-only file system Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux security context of /var/spool: Read-only file system Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux security context of /tmp/.X11-unix: Read-only file system Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux security context of /tmp/.ICE-unix: Read-only file system Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: Unable to fix SELinux security context of /tmp/.font-unix: Read-only file system Jun 27 23:45:19 rpi2.blabla.bla systemd-tmpfiles[569]: rm_rf(/tmp/systemd-private-a9f0ce0042314665bae7fc5f45b79f4f-chronyd.service-mrb21j): Read-o Jun 27 23:45:19 rpi2.blabla.bla systemd[1]: systemd-tmpfiles-setup.service: Main process exited, code=exited, status=1/FAILURE Jun 27 23:45:19 rpi2.blabla.bla systemd[1]: Failed to start Create Volatile Files and Directories. Jun 27 23:45:19 rpi2.blabla.bla systemd[1]: systemd-tmpfiles-setup.service: Unit entered failed state. Jun 27 23:45:19 rpi2.blabla.bla systemd[1]: systemd-tmpfiles-setup.service: Failed with result 'exit-code'.


The root-partition will mount read only during boot when /tmp is on a separate (LVM) partition. Now, after booting:
- mount -o remount,rw /
- mount -a

and all will work fine be shouldn't be that way....

What going wrong here....?

Winfried

_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux