[Bug 386867] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2010-02-09 Thread Chuck Short
User is not able to proivde any more information.

Regards
chuck

** Changed in: mysql-dfsg-5.0 (Ubuntu)
   Status: Incomplete = Won't Fix

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: subprocess post-installation script returned error exit status 
1
https://bugs.launchpad.net/bugs/386867
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 386867] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-06-17 Thread Mathias Gug
Thank you for taking the time to report this bug and helping to make
Ubuntu better.

I haven't been able to reproduce your issue by disabling apparmor.
According to the apt log files:

Setting up mysql-server-5.0 (5.1.30really5.0.75-0ubuntu10.2) ...

 * Stopping MySQL database server mysqld

   ...done.

 * Reloading AppArmor profiles ...

   ...done.

 * Starting MySQL database server mysqld

   ...fail!

invoke-rc.d: initscript mysql, action start failed.

It seems that there is an error while mysql is starting. Could you
please provide the following information:

 * content of /var/log/daemon.log related to mysql processes:

/var/log/daemon.log

 * apparmor audit messages related to mysqld:

/var/log/kern.log

 * mysql configuration stripped of private information (such as
password):

/etc/mysql/my.cnf

 * extra mysql configuration from the conf.d directory:

/etc/mysql/conf.d/

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: subprocess post-installation script returned error exit status 
1
https://bugs.launchpad.net/bugs/386867
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 386867] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-06-15 Thread slick911
Umm, I'm really trying to help here. Note that my patience is running thin, and 
I don't appreciate the patronizing tone.
Here is what I've done to disable AppArmor on my system:
sudo invoke-rc.d apparmor stop
sudo update-rc.d -f apparmor remove
After this, everything on my system works smoothly, including mysql. I don't 
need apparmor, so there is no point in trying to configure it, or to put it in 
complain mode, or whatever. I own this machine, therefore I and only I decide 
what can run on it and what can't. I decided to get rid of AppArmor.
I do not want to disable any profile. I simply choose to not run AppArmor at 
all.

The repro steps are pretty simple. Once AppArmor is disabled (as per above), 
every update that wants to restart mysql fails, because it also starts AppArmor 
before that.
Since AppArmor has never been configured on this machine, you can imagine that 
the defaults will break a lot of stuff.
I asked that the update leave AppArmor alone, if it's stopped or disabled. It 
shouldn't be a big deal. It's not a problem for me anymore, since I removed the 
apparmor script from /etc/init.d, but perhaps it will help other people.
This is about all the info I can provide. Thanks for your patience and help.

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: subprocess post-installation script returned error exit status 
1
https://bugs.launchpad.net/bugs/386867
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 386867] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-06-14 Thread slick911
Yes, the profiles are untouched since the system was installed. I never used 
apparmor. The profiles certainly do not match what's on the machine, which can 
cause problems *if and only if* apparmor should start. Yes, the mysql files are 
in a location not configured  not permitted by apparmor.
Again - I made the choice of not using apparmor. I disabled it according to: 
https://wiki.ubuntu.com/UsingAppArmor.
I don't need apparmor. Please do not second guess my choices and simply fix 
this by not touching apparmor unless necessary, during update.
If there is any other (better) way to disable / remove apparmor so that this 
problem goes away, please suggest it here. I just followed the documentation.

Thank you.

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: subprocess post-installation script returned error exit status 
1
https://bugs.launchpad.net/bugs/386867
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 386867] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-06-14 Thread Jonathan Marsden
Thanks for helping to improve Ubuntu.  At this point I think we're
mainly aiming for a more complete bug report.  Any work to fix this
would come after that, once we have a clear, complete and reproducible
bug report to work with.

(1) Please provide a complete set of steps to reproduce this issue, so
that others (myself included) can duplicate it, as an important step in
determining how best to solve it.

Regarding following the documentation:

(2) https://wiki.ubuntu.com/UsingAppArmor says:

 Systems should not generally need to have AppArmor disabled entirely. 
 It is highly recommended that users leave AppArmor enabled and put 
 the problematic profile into complain mode (see above), then file a bug
 using the procedures found in https://wiki.ubuntu.com/DebuggingApparmor.

Was this documented approach followed?

If so, which bug is the one you created following this procedure?  Did
this allows mysql-server to operate successfully on your system?  What
was the reason for your apparently highly exceptional need to completely
disable AppArmor, against the clear recommendation in this
documentation?

(3) If for some reason putting this profile into complain mode did not
help, https://wiki.ubuntu.com/UsingAppArmor also says that you can
completely disable a specific profile (in this case the one for mysql
server) by doing:

  sudo ln -s /etc/apparmor.d/profile.name /etc/apparmor.d/disable/
  sudo apparmor_parser -R  /etc/apparmor.d/profile.name

which in this case would become something like:

  sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
  sudo apparmor_parser -R  /etc/apparmor.d/usr.sbin.mysqld

Was this documented approach attempted?  Was it successful in disabling
the mysql-server apparmor profile and so allowing your mysql server to
operate correctly?  Are you in effect saying that the update to mysql-
server undoes or reverses this change? So far, I have not been able to
reproduce that behaviour here.

Based on my (limited) testing here so far, this approach appears to work
as documented, and it seems to leave the usr.sbin.mysqld profile
disabled after the update.

(4) Stating that the apparmor profiles are bogus, and then failing to
provide more specifics on this when requested to do so, seems somewhat
unhelpful.  Note that the README.Debian file included in this package
says:

  If your system uses apparmor, please note that the shipped enforcing profile
  works with the default installation, and changes in your configuration may
  require changes to the installed apparmor profile. Please see
  https://wiki.ubuntu.com/DebuggingApparmor before filing a bug against this
  software.

Ubuntu Jaunty 9.04 uses apparmor.  Was this approach followed?

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: subprocess post-installation script returned error exit status 
1
https://bugs.launchpad.net/bugs/386867
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 386867] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-06-13 Thread slick911

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/27885713/Dependencies.txt

** Attachment added: DpkgTerminalLog.gz
   http://launchpadlibrarian.net/27885714/DpkgTerminalLog.gz

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: subprocess post-installation script returned error exit status 
1
https://bugs.launchpad.net/bugs/386867
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 386867] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

2009-06-13 Thread Jonathan Marsden
The mysql apparmor profiles work fine for me here (Ubuntu Jaunty 9.04).

Please describe what you mean by the profiles being bogus in
considerably more depth.  Please be constructive -- suggest imrpovements
to them if you feel they are needed.

If you have chosen to manually move MySQL database  files into a non-standard 
location,
you will need to adjust your apparmor profiles to reflect that non-standard 
change.

Please note that removing /etc/init.d/apparmor is *not* in any sense a
way to fix this properly and reduces overall system security.


** Changed in: mysql-dfsg-5.0 (Ubuntu)
   Status: New = Incomplete

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: subprocess post-installation script returned error exit status 
1
https://bugs.launchpad.net/bugs/386867
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs