[OpenIndiana-discuss] time-slider
Paolo Marcheschi
paolo.marcheschi at ftgm.it
Fri Feb 24 10:03:16 UTC 2012
yes I think that is the problem,
bash-4.1$ cat /etc/user_attr|grep zfssnap
zfssnap::::type=role;auths=solaris.smf.manage.zfs-auto-snapshot;profiles=ZFS File System Management
root at opensolaris:~# cat /etc/shadow|grep zfssnap
zfssnap:NP:14868::::::
seems correct.
Any idea ?
Paolo
On 02/22/12 07:08 PM, Ignacio Marambio Catán wrote:
> sounds like the user which is being used to create the snapshot
> doesn't have the right RBAC configuration
>
> On Wed, Feb 22, 2012 at 3:02 PM, Paolo Marcheschi
> <paolo.marcheschi at ftgm.it> wrote:
>> Hi
>> I cannot start time slider :
>>
>> [ Feb 22 18:51:20 Executing start method ("/lib/svc/method/time-slider
>> start"). ]
>> [ Feb 22 18:51:41 Method "start" exited with status 0. ]
>> Exception in thread Thread-1:
>> Traceback (most recent call last):
>> File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
>> self.run()
>> File "/usr/lib/../share/time-slider/lib/time_slider/timesliderd.py", line
>> 123, in run
>> volume.set_auto_snap(False)
>> File "/usr/lib/../share/time-slider/lib/time_slider/zfs.py", line 922, in
>> set_auto_snap
>> self.set_user_property("com.sun:auto-snapshot", value)
>> File "/usr/lib/../share/time-slider/lib/time_slider/zfs.py", line 660, in
>> set_user_property
>> outdata,errdata = util.run_command(cmd)
>> File "/usr/lib/../share/time-slider/lib/time_slider/util.py", line 50, in
>> run_command
>> (str(command), err, errdata)
>> RuntimeError: ['/usr/bin/pfexec', '/usr/sbin/zfs', 'set',
>> 'com.sun:auto-snapshot=false', 'rpool/dump'] failed with exit code 1
>> /usr/sbin/zfs: Permission denied
>>
>>
>> Maybe is something simple but now I cannot find the solution
>> can you help ?
>>
>> Paolo
>>
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
>
More information about the OpenIndiana-discuss
mailing list