Re: What is "org.freedesktop.UDisks2"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

"xxx" above is a non-root username ...

But I'd suggest a manual mount anyways, not the gui routines ...
 "mount -v /mnt/mp3device"

But I'm old, so be free to ignore my control obsessions
  vs. stupid computers .. :)

Note that the polkit snippet above won't help, IIRC, for this last
  manual mount command: it probably only works for GUI mounts, and it
  might even start usdisks2. So, your choice ... :)

Best Regards,
Wolfgang

--
"When I see a giant crane passing on a flatbed truck, I pause in awe
and reverence, as one would for a church procession. [ ... ] If
civilization had been left in female hands, we would still be living
in grass huts."

Camille Paglia:
"Sexual Personae" p.38
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux