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

logrotate config: global options cause foreign files to be owned #2110

Closed
ghost opened this issue Sep 14, 2021 · 0 comments · Fixed by #2111
Closed

logrotate config: global options cause foreign files to be owned #2110

ghost opened this issue Sep 14, 2021 · 0 comments · Fixed by #2111
Labels
bug Indicates an unexpected problem or unintended behavior component: contrib packaging
Milestone

Comments

@ghost
Copy link

ghost commented Sep 14, 2021

These options:

compress
delaycompress
create 644 intelmq intelmq

apply to all files handled by logrotate, not just the intelmq-ones. The effect is, that many unrelated logfiles get owned by intelmq.

@ghost ghost added bug Indicates an unexpected problem or unintended behavior packaging component: contrib labels Sep 14, 2021
@ghost ghost added this to the 3.1.0 milestone Sep 14, 2021
@ghost ghost self-assigned this Sep 14, 2021
ghost pushed a commit that referenced this issue Sep 14, 2021
The packaged configuration for logrotate falsely contained options applying to other programs' log files. This caused wrong ownerships of log files.
This issues is corrected, but the ownership of affected log files may need to be changed manually.
To find affected files, you may use:
```bash
sudo find /var/log/ -user intelmq ! -path \*intelmq\*
```

fixes #2110
ghost pushed a commit that referenced this issue Sep 14, 2021
The packaged configuration for logrotate falsely contained options applying to other programs' log files. This caused wrong ownerships of log files.
This issues is corrected, but the ownership of affected log files may need to be changed manually.
To find affected files, you may use:
```bash
sudo find /var/log/ -user intelmq ! -path \*intelmq\*
```

fixes #2110
ghost pushed a commit that referenced this issue Sep 14, 2021
The packaged configuration for logrotate falsely contained options applying to other programs' log files. This caused wrong ownerships of log files.
This issues is corrected, but the ownership of affected log files may need to be changed manually.
To find affected files, you may use:
```bash
sudo find /var/log/ -user intelmq ! -path \*intelmq\*
```

fixes #2110
ghost pushed a commit that referenced this issue Sep 14, 2021
The packaged configuration for logrotate falsely contained options applying to other programs' log files. This caused wrong ownerships of log files.
This issues is corrected, but the ownership of affected log files may need to be changed manually.
To find affected files, you may use:
```bash
sudo find /var/log/ -user intelmq ! -path \*intelmq\*
```

fixes #2110
@ghost ghost closed this as completed in #2111 Sep 16, 2021
ghost pushed a commit that referenced this issue Sep 16, 2021
The packaged configuration for logrotate falsely contained options applying to other programs' log files. This caused wrong ownerships of log files.
This issues is corrected, but the ownership of affected log files may need to be changed manually.
To find affected files, you may use:
```bash
sudo find /var/log/ -user intelmq ! -path \*intelmq\*
```

fixes #2110
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior component: contrib packaging
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants