Bug 2284085 - Directory is missing in RPM database.
Summary: Directory is missing in RPM database.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-31 05:34 UTC by Christoph Karl
Modified: 2025-05-05 15:13 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-05 15:13:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github systemd systemd pull 37331 0 None open meson: Ensure that distribution packages own systemenvgeneratordir 2025-05-02 19:49:05 UTC

Description Christoph Karl 2024-05-31 05:34:01 UTC
The following directory is missing in RPM database:
/usr/lib/systemd/system-environment-generators/

Reproducible: Always

Steps to Reproduce:
1. rpm -qf /usr/lib/systemd/system-environment-generators
file /usr/lib/systemd/system-environment-generators is not owned by any package

Actual Results:  
not owned by any package

Expected Results:  
flatpak-1.15.8-1.fc40.x86_64

In spec file line 261 please add:
%dir %{_systemd_system_env_generator_dir}/

Comment 1 Aoife Moloney 2025-04-25 10:53:24 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 Debarshi Ray 2025-05-02 19:49:05 UTC
I think there could be two better alternatives than making the flatpak RPM own the /usr/lib/systemd/user-environment-generators  directory.

First, the systemd RPM can own /usr/lib/systemd/system-environment-generators, because it already owns /usr/lib/systemd/user-environment-generators.  For that to happen, I think systemd needs to create the directory during its installation.  I filed a pull request for that:
https://github.com/systemd/systemd/pull/37331

The other option is to make the filesystem RPM own the directory.


Note You need to log in before you can comment on or make changes to this bug.