[opensuse-packaging] A Question about using /var/target
Hello: I am trying to update an existing package in openSUSE called python-rtslib. This software keeps a database of configuration files in /var/target, under 4 subdirectories. I recently updated the software, and now it fails to build on OBS, giving the error:
python-rtslib: "/var/target" is not allowed anymore in FHS 2.2. [ 61s] python-rtslib: "/var/target/alua" is not allowed anymore in FHS 2.2. [ 61s] python-rtslib: "/var/target/fabric" is not allowed anymore in FHS 2.2. [ 61s] python-rtslib: "/var/target/fabric/ib_srpt.spec" is not allowed anymore in FHS 2.2. ...
I looked up the Filesystem Hierarchy Standard 2.2, and I don't see any place where it says /var/target cannot be used. Can somebody point me at the part of the standard that disallows this? If this holds, this means that either we have to maintain our own set of patches to modify this package, or we have to sell the upstream folks on the merits of moving this (which would be difficult, since I don't see such merits). -- Lee Duncan SUSE Labs -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 06/27/2014 08:29 PM, Lee Duncan wrote:
Hello:
I am trying to update an existing package in openSUSE called python-rtslib.
This software keeps a database of configuration files in /var/target, under 4 subdirectories.
I recently updated the software, and now it fails to build on OBS, giving the error:
python-rtslib: "/var/target" is not allowed anymore in FHS 2.2. [ 61s] python-rtslib: "/var/target/alua" is not allowed anymore in FHS 2.2. [ 61s] python-rtslib: "/var/target/fabric" is not allowed anymore in FHS 2.2. [ 61s] python-rtslib: "/var/target/fabric/ib_srpt.spec" is not allowed anymore in FHS 2.2. ...
I looked up the Filesystem Hierarchy Standard 2.2, and I don't see any place where it says /var/target cannot be used.
Can somebody point me at the part of the standard that disallows this?
If this holds, this means that either we have to maintain our own set of patches to modify this package, or we have to sell the upstream folks on the merits of moving this (which would be difficult, since I don't see such merits).
/var/target is not mentioned at all in FHS and FHS 2.3 says: "Applications must generally not add directories to the top level of /var. Such directories should only be added if they have some system-wide implication, and in consultation with the FHS mailing list." Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 06/27/2014 08:29 PM, Lee Duncan wrote:
Hello:
I am trying to update an existing package in openSUSE called python-rtslib.
This software keeps a database of configuration files in /var/target, under 4 subdirectories.
I recently updated the software, and now it fails to build on OBS, giving the error:
python-rtslib: "/var/target" is not allowed anymore in FHS 2.2. [ 61s] python-rtslib: "/var/target/alua" is not allowed anymore in FHS 2.2. [ 61s] python-rtslib: "/var/target/fabric" is not allowed anymore in FHS 2.2. [ 61s] python-rtslib: "/var/target/fabric/ib_srpt.spec" is not allowed anymore in FHS 2.2. ...
I looked up the Filesystem Hierarchy Standard 2.2, and I don't see any place where it says /var/target cannot be used.
Can somebody point me at the part of the standard that disallows this?
If this holds, this means that either we have to maintain our own set of patches to modify this package, or we have to sell the upstream folks on the merits of moving this (which would be difficult, since I don't see such merits).
Problem is that '/var/target' is actually defined by the kernel module itself; drivers/target/target_core_alua.c and drivers/target/target_core_pr.c use this directory to hold persistent data. So there is no way we can modify this without major ABI breakage. Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Andreas Jaeger
-
Hannes Reinecke
-
Lee Duncan