https://bugs.kde.org/show_bug.cgi?id=505090
Bug ID: 505090 Summary: tmpfiles wants to create /usr/var rather than /var Classification: Plasma Product: plasma-login Version First unspecified Reported In: Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: sit...@kde.org CC: k...@davidedmundson.co.uk, olib...@outlook.com Target Milestone: --- [This may be a bug in extra-cmake-modules] SUMMARY The statedir location seems to be incorrectly prefixed with a /usr when it should be /. Causing tmpfiles on immutable /usr to trip over /usr/var/lib/plasmalogin being readonly. STEPS TO REPRODUCE 1. cmake install 2. observe incorrect path in artifacts (e.g. the tmpfiles.d file) 3. mount a readonly /usr that does not contain a /usr/var/ (specific step depends on your system alas) 4. systemd-tmpfiles --create OBSERVED RESULT tmpfiles fails over readonly filesystem EXPECTED RESULT tmpfiles should exit successfully SOFTWARE/OS VERSIONS Operating System: KDE Linux 2025-05-05 KDE Plasma Version: 6.3.80 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.0 Kernel Version: 6.14.4-arch1-2 (64-bit) Graphics Platform: Wayland Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor Memory: 64 GiB of RAM (62.7 GiB usable) Graphics Processor: AMD Radeon RX 7800 XT ADDITIONAL INFORMATION I haven't really looked at it but chances are kdeinstalldirs in ECM doesn't special-handle /var correctly. To align with the cmake default behaviors it'd have to "For <dir> other than the SYSCONFDIR, LOCALSTATEDIR and RUNSTATEDIR, the value of CMAKE_INSTALL_<dir> is prefixed with usr/ if it is not user-specified as an absolute path.". Possibly it doesn't implement the latter two exclusions. -- You are receiving this mail because: You are watching all bug changes.