On Sat, Apr 13, 2019 at 06:36:06AM +0200, Wolfgang Pfeiffer wrote:
On Fri, Apr 12, 2019 at 09:22:39PM -0400, Sam Varshavchik wrote:
>Wolfgang Pfeiffer writes:
>
>>On Thu, Apr 11, 2019 at 08:47:37PM -0400, Sam Varshavchik wrote:
>>>And more importantly, why is it having a cow with kernel 5.0.5 on one,
>>>just one, of my servers:
>>>
>>>Apr 9 17:48:44 monster dbus-daemon[1223]: [system] Failed to activate
>>>service 'org.freedesktop.UDisks2': timed out
>>>(service_start_timeout=25000ms)
>>
>>Are there issues related to that error? Apart from usdisk* maybe not
>>starting, forever ..?
>
>Oh, just the small inconvenience of plugging in my MP3 and not having
>it automount, any more.
>
If you like Gui mounts (via file manager etc) this might help:
----------
// Allow user 'xxx' to perform any operation on
// drives without having to authenticate
//
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.udisks2.") == 0 &&
subject.user == "xxx") {
return polkit.Result.YES;
}
});
--------
You might want save it to sth. like:
/etc/polkit-1/rules.d/90-xxx-disk.admin.rules
I'm not sure tho' how safe such a script is regarding security for the
machine where it's installed. If in doubt: don't install it.
Best Regards,
Wolfgang