Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 892269

Summary: sys-fs/zfs-9999: uses conf.d files in systemd units
Product: Gentoo Linux Reporter: Georgy Yakovlev <gyakovlev>
Component: Current packagesAssignee: Sam James <sam>
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/openzfs/zfs/pull/12946
Whiteboard:
Package list:
Runtime testing required: ---

Description Georgy Yakovlev archtester gentoo-dev 2023-01-27 20:17:52 UTC
https://github.com/openzfs/zfs/pull/12946

basically all units are configured to read /etc/conf.d/zfs as an environment file.

which is incorrect on our systems.
* QA Notice: systemd units using /etc/conf.d detected:         
 * /usr/lib/systemd/system/zfs-import-cache.service:EnvironmentFile=-/etc/conf.d/zfs                                            
 * /usr/lib/systemd/system/zfs-import-scan.service:EnvironmentFile=-/etc/conf.d/zfs                                             
 * /usr/lib/systemd/system/zfs-mount.service:EnvironmentFile=-/etc/conf.d/zfs                                                   
 * /usr/lib/systemd/system/zfs-scrub@.service:EnvironmentFile=-/etc/conf.d/zfs                                                  
 * /usr/lib/systemd/system/zfs-share.service:EnvironmentFile=-/etc/conf.d/zfs                                                   
 * /usr/lib/systemd/system/zfs-trim@.service:EnvironmentFile=-/etc/conf.d/zfs                                                   
 * /usr/lib/systemd/system/zfs-volume-wait.service:EnvironmentFile=-/etc/conf.d/zfs                                             
 * /usr/lib/systemd/system/zfs-zed.service:EnvironmentFile=-/etc/conf.d/zfs                                                     
 * See: https://wiki.gentoo.org/wiki/Project:Systemd/conf.d_files

Reproducible: Always