Hi Jyri ,

Please see inline .

Thanks Sunanda


Jyri Virkki wrote:
> Sunanda Menon wrote:
>   
>> Hi ,
>>
>> Please review the code changes for 6640449:Add mysql manage property to 
>> MySQL SMF at http://cr.opensolaris.org/~sunandam/6640449 and let me know your
>> comments .
>>
>> The changes have been tested with mysql user managing the SMF service .
>>     
>
> - usr/src/common/rbac/user_attr
>
>   Why does 'mysql' user get assigned these auths?
>
>   Can you describe the use case?  It's not expected that anyone
>   will ever log in as these system users (like webservd, mysql), it's
>   only for the daemon process to use. So why does it need the auths?
>
>   
Earlier root was starting the SMF facility and now since we will have 
the mysql user created as part of Solaris ,If my understanding is 
correct then mysql user should be in a position to start the SMF 
facility much like what we have in place for postgres and so this calls 
for changes to be made to the user_attr as without which I get the 
permission denied error .The daemon mysqld is started as the mysql user .

If this is not the case ,what is the real expectation ?Please elaborate .



> - usr/src/cmd/mysql-5-0/install-mysql
>
>   So the end result here is that the mysql data is world readable?
>   What's driving this?
>
>
>
>   


I had set the data directory in /var/mysql/5.0 as 700 which is not world 
readable .Are you referring to anything in particular which I can look 
into .This is also on similar lines to postgres .


-- 
Sunanda Menon
Database Technology Group
BLR03, x87098/91-80-66937098


Reply via email to