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

Add a notice in /etc/defaults/zfs for systemd users. #9544

Merged
merged 1 commit into from
Nov 6, 2019
Merged

Add a notice in /etc/defaults/zfs for systemd users. #9544

merged 1 commit into from
Nov 6, 2019

Conversation

cdluminate
Copy link
Contributor

Some systemd users may want to change configurations in /etc/defaults/zfs, but some
of these settings won't affect systemd services, etc. As reported here
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901436

Motivation and Context

Notify the user if they intend to edit this file.

Description

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (a change to man pages or other documentation)

Checklist:

Copy link
Contributor

@behlendorf behlendorf left a comment

Choose a reason for hiding this comment

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

Thank you for the PR to improve our documentation. This looks great, would you just mind force updating the PR to include you signed-off-by in the commit message.

git commit --amend -s
git push --force ...

The commit message should include Signed-off-by: Name <email>.

@behlendorf behlendorf added Status: Code Review Needed Ready for review and testing Type: Documentation Indicates a requested change to the documentation labels Nov 1, 2019
Signed-off-by: Mo Zhou <cdluminate@gmail.com>
@cdluminate
Copy link
Contributor Author

@behlendorf Done. Thanks for the tips about git commit --amend -s, while I used to do it with git reset --soft; git commit -s ...

@codecov
Copy link

codecov bot commented Nov 2, 2019

Codecov Report

Merging #9544 into master will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9544      +/-   ##
==========================================
+ Coverage   79.01%   79.06%   +0.04%     
==========================================
  Files         418      417       -1     
  Lines      123686   123678       -8     
==========================================
+ Hits        97736    97788      +52     
+ Misses      25950    25890      -60
Flag Coverage Δ
#kernel 79.72% <ø> (-0.05%) ⬇️
#user 66.91% <ø> (+0.19%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae38e00...f111027. Read the comment docs.

@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels Nov 6, 2019
@behlendorf behlendorf merged commit 734de7c into openzfs:master Nov 6, 2019
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 26, 2019
Some systemd users may want to change configurations in
/etc/defaults/zfs, but these settings won't affect systemd
services.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mo Zhou <cdluminate@gmail.com>
Closes openzfs#9544
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 27, 2019
Some systemd users may want to change configurations in
/etc/defaults/zfs, but these settings won't affect systemd
services.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mo Zhou <cdluminate@gmail.com>
Closes openzfs#9544
tonyhutter pushed a commit that referenced this pull request Jan 23, 2020
Some systemd users may want to change configurations in
/etc/defaults/zfs, but these settings won't affect systemd
services.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mo Zhou <cdluminate@gmail.com>
Closes #9544
jackpot51 pushed a commit to pop-os/zfs-linux that referenced this pull request Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested) Type: Documentation Indicates a requested change to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants