[OpenIndiana-discuss] zfs-auto-snapshots security policy issue

Martyn Klassen mklassen at imaging.robarts.ca
Wed Nov 2 19:44:51 UTC 2011


I am trying to enable the ZFS Auto Snapshots on a clean install the of the server edition of OI 151a

By default zfs-auto-snapshot is not installed with the server edition, so I installed it and then enabled the service

# pkg install zfs-auto-snapshot
# svcadm enable time-slider

The service immediately falls into maintenance mode with the following in the log file

[ Nov  2 15:07:21 Method "start" exited with status 95. ]
[ Nov  2 15:11:42 Leaving maintenance because disable requested. ]
[ Nov  2 15:11:42 Disabled. ]
[ Nov  2 15:11:52 Enabled. ]
[ Nov  2 15:11:52 Executing start method ("/lib/svc/method/time-slider start"). ]
Traceback (most recent call last):
  File "/usr/lib/time-sliderd", line 10, in <module>
    main(abspath(__file__))
  File "/usr/lib/../share/time-slider/lib/time_slider/timesliderd.py", line 956, in main
    name = dbus.service.BusName("org.opensolaris.TimeSlider", systemBus)
  File "/usr/lib/python2.6/vendor-packages/dbus/service.py", line 129, in __new__
    retval = bus.request_name(name, name_flags)
  File "/usr/lib/python2.6/vendor-packages/dbus/bus.py", line 306, in request_name
    'su', (name, flags))
  File "/usr/lib/python2.6/vendor-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.3" is not allowed to own the service "org.opensolaris.TimeSlider" due to security policies in the configuration file
Time Slider failed to start: error 95
[ Nov  2 15:11:53 Method "start" exited with status 95. ]


I would appreciate any insight on how to fix this issue.

Martyn




More information about the OpenIndiana-discuss mailing list