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

deb packaging: prevent installing crowdsec.service twice #3415

Merged
merged 1 commit into from
Jan 20, 2025
Merged

Conversation

mmetc
Copy link
Contributor

@mmetc mmetc commented Jan 20, 2025

We don't need to explicitly copy the crowdsec.service file, but the standard location is /usr/lib, not /lib - hence we duplicate it by copying explicitly if /lib is not linked to /usr/lib.

Also we don't need preinst anymore and the message is in postinst as well.

… to /usr/lib

We don't need to explicitly copy the file, but the standard location is
/usr/lib, not /lib - hence we duplicate it by copying explicitly if /lib
is not linked to /usr/lib.

Also we don't need preinst anymore and the message is in postinst as well.
Copy link

@mmetc: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind fix
  • /kind chore
  • /kind dependencies
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Copy link

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Copy link
Contributor

@sabban sabban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.30%. Comparing base (ff9b350) to head (24cd16f).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3415      +/-   ##
==========================================
- Coverage   59.33%   59.30%   -0.03%     
==========================================
  Files         358      358              
  Lines       38412    38428      +16     
==========================================
  Hits        22791    22791              
- Misses      13730    13745      +15     
- Partials     1891     1892       +1     
Flag Coverage Δ
bats 42.20% <ø> (-0.03%) ⬇️
unit-linux 33.17% <ø> (-0.01%) ⬇️
unit-windows 28.47% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mmetc mmetc merged commit e1a1b1e into master Jan 20, 2025
18 checks passed
@mmetc mmetc deleted the deb-systemd branch January 20, 2025 13:16
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.

2 participants