If I could just be absolutely clear about this...
greg-ubuntu;310965 Wrote:
> After many wasted hours and tens of re-installs I finally have it
> working.
> ...
> Then I installed mysql-server-5 before installing squeezecenter,
>
So did you type
Code:
--------------------
> sudo apt-get install mysql-server-5
--------------------
??
greg-ubuntu;310965 Wrote:
>
> so I could define apparmor's settings for it before the squeezecenter
> installation started its configuration.
What did you define it to?
greg-ubuntu;310965 Wrote:
>
>
> Then I followed the instructions here:
> https://help.ubuntu.com/community/AppArmor#head-9861068c03e997d5a693610565bcb2abc15295c9
> to disable the mysqld profile:
> >
Code:
--------------------
> >
> sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
> apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
>
--------------------
> >
>
>
Does this mean that the standard MySQL (as opposed to the captive
MySQL) is not protected by apparmor?
greg-ubuntu;310965 Wrote:
>
> But this wasn't enough. The squeezecenter install renames the existing
> apparmor profile to .squeezecenter.orig which I think then becomes
> active during the install and prevents connection to mysql. So I also
> did this before installing squeezecenter:
> >
Code:
--------------------
> >
> sudo ln -s /etc/apparmor.d/usr.sbin.mysqld.squeezecenter.orig
/etc/apparmor.d/disable
>
--------------------
> >
>
> So that when the install creates the .orig it is immediately found to
> be disabled.
>
> Installing squeezecenter finally worked after this.
>
> Hopefully this is helpful.
--
Des
------------------------------------------------------------------------
Des's Profile: http://forums.slimdevices.com/member.php?userid=3495
View this thread: http://forums.slimdevices.com/showthread.php?t=48666
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix