Bug 1583466 Comment 9 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Mike Kaply [:mkaply] from comment #8)
> The patch feels very Fleet Commander specific and that's what I'm having trouble with.

There's nothing related to FleetComander. The directory is here by default on most of the systems and anyone can
write to it.

> Is this solution something that would work for any Linux?
> 
> Is:
> 
> "/run/user/%d/%s/"
> 
> a common location?

Yes, /run/user/$PID is created by pam_systemd and you can find it on any system which uses systemd. See
https://www.freedesktop.org/software/systemd/man/pam_systemd.html

> I made a comment in the patch that we at least need a better name for XRE_APP_DISTRIBUTION_USER_DIR "XREAppDistUser"
> 
> That's not really what it is.
> 
> As far as bug 1170092 goes, that's not going to happen. We don't want to read default prefs from a non Firefox location.
> 
> You can use autoconfig (autoadmin.global_config_url) to accomplish what that bug is trying to do, and when bug 1469629 is fixed, you'll be able to put policies.json in a central location.

That good but does not solve the issue with global per-user policy deployment.
(In reply to Mike Kaply [:mkaply] from comment #8)
> The patch feels very Fleet Commander specific and that's what I'm having trouble with.

There's nothing related to FleetComander. The directory is here by default on most of the systems and anyone can
write to it.

> Is this solution something that would work for any Linux?
> 
> Is:
> 
> "/run/user/%d/%s/"
> 
> a common location?

Yes, /run/user/$UID is created by pam_systemd and you can find it on any system which uses systemd. See
https://www.freedesktop.org/software/systemd/man/pam_systemd.html

> I made a comment in the patch that we at least need a better name for XRE_APP_DISTRIBUTION_USER_DIR "XREAppDistUser"
> 
> That's not really what it is.
> 
> As far as bug 1170092 goes, that's not going to happen. We don't want to read default prefs from a non Firefox location.
> 
> You can use autoconfig (autoadmin.global_config_url) to accomplish what that bug is trying to do, and when bug 1469629 is fixed, you'll be able to put policies.json in a central location.

That good but does not solve the issue with global per-user policy deployment.

Back to Bug 1583466 Comment 9