| Summary: | tmpfiles wants to create /usr/var rather than /var | ||
|---|---|---|---|
| Product: | [Plasma] plasma-login-manager | Reporter: | Harald Sitter <sitter> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, nicolas.fella, olib141 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/b6a9bc541dfccb3052b7686e376bc9a3836450dc | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Harald Sitter
2025-06-01 13:20:17 UTC
Relevant code seems to be https://invent.kde.org/plasma/plasma-login-manager/-/blob/master/services/CMakeLists.txt?ref_type=heads#L21 > DESTINATION "${CMAKE_INSTALL_LIBDIR}/tmpfiles.d" so clearly not an ECM issue CMAKE_INSTALL_FULL_LOCALSTATEDIR looks questionable though, that's probably ECM (In reply to Nicolas Fella from comment #1) > Relevant code seems to be > https://invent.kde.org/plasma/plasma-login-manager/-/blob/master/services/ > CMakeLists.txt?ref_type=heads#L21 > > > DESTINATION "${CMAKE_INSTALL_LIBDIR}/tmpfiles.d" > > so clearly not an ECM issue ok, I probably misunderstood what the issues with tmpfiles.d was Ah sorry, wasn't very clear. The offending line is here https://invent.kde.org/plasma/plasma-login-manager/-/blob/797d3223da4cbd488c670bd35a6faf6bc9022f37/services/plasmalogin-tmpfiles.conf.in#L2 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/532 Git commit b6a9bc541dfccb3052b7686e376bc9a3836450dc by Nicolas Fella. Committed on 05/06/2025 at 12:29. Pushed by nicolasfella into branch 'master'. Fix LOCALSTATEDIR when installing to /usr In that case we want /var, not /usr/var. Apply the same logic as for /etc M +6 -1 kde-modules/KDEInstallDirsCommon.cmake M +1 -0 tests/CMakeLists.txt https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/b6a9bc541dfccb3052b7686e376bc9a3836450dc |