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

systemd rocks #3818

Closed
acrixl opened this issue Sep 22, 2015 · 4 comments
Closed

systemd rocks #3818

acrixl opened this issue Sep 22, 2015 · 4 comments
Labels
Type: Documentation Indicates a requested change to the documentation

Comments

@acrixl
Copy link

acrixl commented Sep 22, 2015

debian 8

this:
#2498

update-rc.d zfs-import remove
update-rc.d zfs-mount remove
update-rc.d zfs-share remove
update-rc.d zfs-zed remove

rm /etc/init.d/zfs-*

reboot

now all work as expected since systemd init stuff here

@FransUrbo
Copy link
Contributor

This is not a support forum, so please close this.

@ggzengel
Copy link
Contributor

On boot I see ZFS pool import twice. One LSB and one Systemd. They run both on same time.
I think this was not a question, it was an answer for an issue and it makes sense, until next update.
So please fix this.

With systemd there is a lot to do:

cat zfs-import-scan.service | grep ExecStart=

ExecStart=/sbin/zpool import -d /dev/disk/by-id -aN

I think this won't work with the code above:
#ZPOOL_IMPORT_PATH="/dev/disk/by-vdev:/dev/disk/by-id"

@FransUrbo
Copy link
Contributor

This still isn't a support forum. I don't see a question or an issue here. And an answer to a completely different issue is still a support thing and this isn't a support forum!

Please close this and then go read http://zfsonlinux.org/faq.html#WhereDoIReportProblems and http://zfsonlinux.org/faq.html#HowDoIReportProblems.

Then, if needed, come back and report another. The correct way.

@behlendorf
Copy link
Contributor

@acrixl I'm glad to hear the systemd units work well for you. By all means use them if that's what you prefer. Let's chalk this up to documentation and leave it for future reference.

@behlendorf behlendorf added the Type: Documentation Indicates a requested change to the documentation label Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Documentation Indicates a requested change to the documentation
Projects
None yet
Development

No branches or pull requests

4 participants