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

Short description #2103

Open
iotaka opened this issue Aug 10, 2022 · 2 comments
Open

Short description #2103

iotaka opened this issue Aug 10, 2022 · 2 comments
Assignees
Labels
Status: Roadmap Added to roadmap Type: Bug Indicates an unexpected problem or unintended behavior

Comments

@iotaka
Copy link

iotaka commented Aug 10, 2022

Describe the bug
zentyal.cleantmp.service fails if there are too many files in /var/lib/zentyal/tmp/

It happens when the user exceeds the maximum command-line length allowed for the arguments in a command, in this case expanding the *

Screenshots
image

Zentyal OS:

  • Version: 7.0.5

Possible solution:
instead of user rm and * a find can be better
find /var/lib/zentyal/tmp/ -type f -delete
here you can find other examples
https://linuxhint.com/solution-bin-rm-argument-list-too-long/

@iotaka iotaka added the Type: Bug Indicates an unexpected problem or unintended behavior label Aug 10, 2022
@djoven89 djoven89 self-assigned this Sep 8, 2022
@djoven89 djoven89 added the Status: Needs review Indicates that provided info needs a review by the maintainer label Sep 8, 2022
@djoven89 djoven89 added Status: Roadmap Added to roadmap and removed Status: Needs review Indicates that provided info needs a review by the maintainer labels Sep 21, 2022
@djoven89
Copy link
Contributor

Hi @iotaka ,

Thank you for reporting this. We have reproduced the issue and it was added to the roadmap.

@BerT666
Copy link

BerT666 commented Oct 11, 2022

Workaround works great! (find...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Roadmap Added to roadmap Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants