> > @devs -- we obviously need to do something about this (too late for 4.5,
> > but for 4.6 + backport). Perhaps there is some alternative systemd
> > construction which disassociates the actual path from the abstract
> > service "xenstored dir mounted"?
> 
> I dont think we can do anything about this systemd brain damage. Either
> it gets its Where= from such line within the file, or it gets its Where=
> from the filename. In which case it has to stop looking at a Where=
> line.
> 
> In any case, its wrong to use --localstatedir=/tmpfs-mount-point because
> that means all mails in the spool subdirectory are in danger. If thats
> the mindset of ArchLinux all we can do is to recommend to stop using it
> for any serious task.
> 
> Olaf

All  My error not ArchLinux's (see the clip below from the official ARCHLinux 
wikihttps://wiki.archlinux.org/index.php/arch_filesystem_hierarchy). I am not 
sure where I got the --localstatedir=/run. Not all the info I dig up by using 
net searches is correct.I do guarantee that I will double check my info better 
in the future. I put --localstatedir=/var in the PKGBUILD configure even though 
it defaults to that,  so the info is in front of anyone changing the PKGBUILD. 
2.12 /run: Ephemeral runtime data..........................cut............
2.18 /var: Variable files2.18.1 /var/abs2.18.2 /var/cache/pacman/pkg2.18.3 
/var/lib: State information
If I can get misinformed so can someone else. Could I suggest that a warning in 
the configure and/or install docs thatin 4.5 changing from the defaults /var 
breaks the systemd mounts that xenstore requires?? 
Also quick question if I am understanding my remaining issue [tmpfs: Bad mount 
option context] as described by a previous thread. Untilthe code that generates 
it changes I need to manually change var-lib-xenstored.mount from
   [Unit]   Description=mount xenstore file system
   Requires=proc-xen.mount
   After=proc-xen.mount
   ConditionPathExists=/proc/xen/capabilities
   RefuseManualStop=true
   [Mount]
   Environment=XENSTORED_MOUNT_CTX=none
   EnvironmentFile=-/etc/default/xenstored
   What=xenstore
   Where=/var/lib/xenstored
   Type=tmpfs
   Options=mode=755,context="$XENSTORED_MOUNT_CTX"
to
   [Unit]
   Description=mount xenstore file system
   Requires=proc-xen.mount
   After=proc-xen.mount
   ConditionPathExists=/proc/xen/capabilities
   RefuseManualStop=true
   [Mount]
   EnvironmentFile=-/etc/default/xencommons
   What=xenstore
   Where=/var/lib/xenstored
   Type=tmpfs
   Options=mode=755
Or am I misunderstanding that also??
                                          
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to