Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | Ubooquity: Version update, logs and permissions #3605

Merged
merged 6 commits into from
Jun 17, 2020

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jun 14, 2020

Status: Review

  • Update download from dietpi.com regardless
  • Changelog
  • Wiki software list

Testing:

  • VM Stretch
  • VM Buster
  • VM Bullseye

Commit list/description:

  • DietPi-Software | Ubooquity: Download newest version from Vae Mendis Software directly
  • DietPi-Software | Ubooquity: Make comics and ebooks dirs writable for "dietpi" group members (downloaders, file servers, ...) by default.
  • DietPi-Software | Ubooquity: Set users home dir and move logs to /var/log/ubooquity (DietPi-RAMlog). Sadly we cannot disable the log file since "journalctl -u ubooquity" doubles it.
  • DietPi-Software | Ubooquity: Use G_EXEC thoroughly to be most verbose about what we're doing and prevent unexpected situations because of failed user/dir creation and such.

+ DietPi-Software | Ubooquity: Download newest version from Vae Mendis Software directly
+ DietPi-Software | Ubooquity: Adjust user and permissions so that new files are created with group "dietpi" and 775/664 permissions, read/writable to downloaders, media software and file servers which are members or run as group "dietpi" as well. The exec/config dir itself must be writable for Ubooquity only
dietpi/dietpi-software Outdated Show resolved Hide resolved
+ DietPi-Software | Ubooquity: Typo
+ CHANGELOG | Ubooquity: Updated the installer to pull the latest version from Vae Mendis Software directly and enhanced permissions to better integrate with other software. Many thanks to @Mr.Roboto for doing this suggestion: https://dietpi.com/phpbb/viewtopic.php?f=12&t=7786
+ DietPi-Software | Ubooquity: Since it does not write comic/ebook files, no need to make "dietpi" its primary group with umask 002. It is sufficient to have it being member of "dietpi" group (as it was before) to assure read permissions.
+ DietPi-Software | Ubooquity: Set users home dir and move logs to /var/log/ubooquity (DietPi-RAMlog). Sadly we cannot disable the log file since "journalctl -u ubooquity" doubles it.
+ DietPi-Software | Ubooquity: Use G_EXEC thoroughly to be most verbose about what we're doing and prevent unexpected situations because of failed user/dir creation and such.
+ DietPi-Software | Ubooquity: Tiny
+ DietPi-Software | Ubooquity: It's /var/log not /var/logs
@MichaIng MichaIng requested a review from Joulinar June 16, 2020 17:02
@MichaIng
Copy link
Owner Author

LTGM now tested on all distros and verified permissions. Logs are going to /var/log now, sadly one cannot choose a custom log file path via cmd option or disable them all together since the log file matches STDOUT and hence doubled journalctl logs. But there is a GUI log view which tails the log file.

@MichaIng MichaIng changed the title DietPi-Software | Ubooquity: Version update and permissions DietPi-Software | Ubooquity: Version update, logs and permissions Jun 17, 2020
@MichaIng MichaIng merged commit 8c0279c into dev Jun 17, 2020
@MichaIng MichaIng deleted the ubooquity branch June 17, 2020 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DietPi-Software | Ubooquity - update to latest version
2 participants