Skip to content

zfs-mount.service WorkingDirectory ignored (Not an absolute path) #6429

Closed
@LnxGnome

Description

@LnxGnome

System information

Type Version/Name
Distribution Name CentOS
Distribution Version 7.3
Linux Kernel 3.10.0-514.26.2
Architecture x86_64
ZFS Version 0.7.0-1
SPL Version 0.7.0-1

Describe the problem you're observing

Seen in journalctl output:
systemd[1]: [/usr/lib/systemd/system/zfs-mount.service:14] Not an absolute path, ignoring: -/sbin/

Describe how to reproduce the problem

Install ZFS on CentOS 7.3 (this system was upgraded from 0.6.5)

other info

man systemd.exec
WorkingDirectory=
Takes an absolute directory path. Sets the working directory for executed processes. If not set, defaults to the root directory when systemd is running as a system instance and the respective user's home directory if run as user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions