That path is used to detect if it has run before and skip re-execution
as it isn't needed anymore then. A path change might be wanted, but
would either need all sorts of maintscript magic to carry from old to
new location if that has happened on a given system.

The option to use:
  CacheDirectory=pollinate
is very tempting.
Because if the path is there already this does nothing => no re-execution even 
on reboots.

But if running in an environment that has cleaned /var/cache then this
will ensure it is "fine again". I think we can at this time also remove
the mkdir from the postinst.

I'll prep that tomorrow and experiment with it ....

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848923

Title:
  pollinate.service fails to start: ERROR: should execute as the
  [pollinate] user -- missing CacheDirectory=

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pollinate/+bug/1848923/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to