Skip to content

Drop tmpfiles.conf#91

Open
bastelfreak wants to merge 2 commits intomainfrom
tmpfiles
Open

Drop tmpfiles.conf#91
bastelfreak wants to merge 2 commits intomainfrom
tmpfiles

Conversation

@bastelfreak
Copy link
Copy Markdown
Contributor

@bastelfreak bastelfreak commented Apr 14, 2026

The tmpfiles configuration file isn't required anymore, since we set PrivateTmp=true in the systemd unit (introduced in 900b4ee).


The /usr directory contains only two files:

/usr
/usr/lib
/usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/puppetserver.conf
/usr/share
/usr/share/doc
/usr/share/doc/openvox-server
/usr/share/doc/openvox-server/changelog.gz

We don't package /usr/lib/tmpfiles.d/*.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no /usr. If we force fpm to package it, it will raise an error.

@bastelfreak bastelfreak self-assigned this Apr 14, 2026
@bastelfreak bastelfreak added the enhancement New feature or request label Apr 14, 2026
@bastelfreak bastelfreak force-pushed the tmpfiles branch 2 times, most recently from 39aebf7 to ecd8ef0 Compare April 14, 2026 13:50
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 14, 2026

The rpm/deb packages and the JAR file for OpenVoxProject/ezbake are available in a zip archive:
https://github.com/OpenVoxProject/ezbake/actions/runs/24403939914/artifacts/6429904741

The rpm/deb packages and the JAR file for OpenVoxProject/ezbake are available in a zip archive:
https://github.com/OpenVoxProject/ezbake/actions/runs/24403939914/artifacts/6429926109

The rpm/deb packages and the JAR file for OpenVoxProject/ezbake are available in a zip archive:
https://github.com/OpenVoxProject/ezbake/actions/runs/24408657708/artifacts/6432034411

The rpm/deb packages and the JAR file for OpenVoxProject/ezbake are available in a zip archive:
https://github.com/OpenVoxProject/ezbake/actions/runs/24408657708/artifacts/6432066645

The rpm/deb packages and the JAR file for OpenVoxProject/ezbake are available in a zip archive:
https://github.com/OpenVoxProject/ezbake/actions/runs/24421262781/artifacts/6437448500

The rpm/deb packages and the JAR file for OpenVoxProject/ezbake are available in a zip archive:
https://github.com/OpenVoxProject/ezbake/actions/runs/24421262781/artifacts/6437457448

@bastelfreak
Copy link
Copy Markdown
Contributor Author

This was partly introduced in #5 and #22 but reverted when we switched the main/dev branches.

@bastelfreak
Copy link
Copy Markdown
Contributor Author

This was originally introduced in 814ee0c and we can probably revert it, when:

  • we want to switch the systemd unit from type=forking to type=notify-reload
  • This will allow us to get rid of the PIDFile option in the unit file
  • then we don't need /run/puppetlabs anymore

This file isn't required anymore, since we set PrivateTmp=true in the
systemd unit (introduced in 900b4ee).

Signed-off-by: Tim Meusel <tim@bastelfreak.de>
The `/usr` directory contains only two files:

```
/usr
/usr/lib
/usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/puppetserver.conf
/usr/share
/usr/share/doc
/usr/share/doc/openvox-server
/usr/share/doc/openvox-server/changelog.gz
```

We don't package
/usr/lib/tmpfiles.d/*.conf anymore. And the changelog.gz is
autogenerated by fpm afterwards. That means that in our packaging
directory, there is no `/usr`. If we force fpm to package it, it will
raise an error.

Signed-off-by: Tim Meusel <tim@bastelfreak.de>
(cherry picked from commit eccc37d)
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant