> > @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 wiki
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.
If I can get misinformed so can someone else. Could I suggest that a warning in the configure and/or install docs that
in 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. Until
the 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??