RE: [Bug 401767] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: le sous-processus post-installation script a retourn? une erreur de sortie d'?tat 1

2009-09-08 Thread Jean-Claude GUEZO

Thanks you for your answer. 
You can see the files in attached.

There is just one file in the directory /etc/apparmor.d named
usr.sbin.mysqld

Jean-Claude GUEZO


 Date: Tue, 8 Sep 2009 04:56:43 +
 From: math...@ubuntu.com
 To: jcgu...@hotmail.com
 Subject: [Bug 401767] Re: package mysql-server-5.0
 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: le
 sous-processus post-installation script a retourn? une erreur   de sortie 
 d'?tat 1
 
 Thank you for taking the time to report this bug and helping to make
 Ubuntu better.
 
 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
 
  * mysqld apparmor profile:
 
 /etc/apparmor.d/usr.sbin.mysqld
 
  * list of mysqld apparmor profiles:
 
 ls -l /etc/apparmor.d/usr.sbin.mysqld*
 
  * 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/
 
  * directory listing of mysql datadir (by default /var/lib/mysql):
 
 ls -l /var/lib/mysql
 
 
 ===
 Relevant error messages
 
 
 Paramétrage de 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.
 
 dpkg : erreur de traitement de mysql-server-5.0 (--configure) :
 
  le sous-processus post-installation script a retourné une erreur de
 sortie d'état 1
 
 ** Changed in: mysql-dfsg-5.0 (Ubuntu)
Importance: Undecided = Medium
 
 ** 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: le sous-processus post-installation script a retourn? une 
 erreur de sortie d'?tat 1
 https://bugs.launchpad.net/bugs/401767
 You received this bug notification because you are a direct subscriber
 of the bug.

_
Un avatar à votre image ? Créez votre mini-moi !
http://www.ilovemessenger.fr/minimize-me/

** Attachment added: daemon.log
   http://launchpadlibrarian.net/31492224/daemon.log

** Attachment added: daemon.log.0
   http://launchpadlibrarian.net/31492225/daemon.log.0

** Attachment added: kern.log
   http://launchpadlibrarian.net/31492226/kern.log

** Attachment added: kern.log.0
   http://launchpadlibrarian.net/31492227/kern.log.0

** Attachment added: usr.sbin.mysqld
   http://launchpadlibrarian.net/31492228/usr.sbin.mysqld

** Attachment added: my.cnf
   http://launchpadlibrarian.net/31492229/my.cnf

** Attachment added: datadir.cnf
   http://launchpadlibrarian.net/31492230/datadir.cnf

** Attachment added: old_passwords.cnf
   http://launchpadlibrarian.net/31492231/old_passwords.cnf

** Attachment added: list-datadir
   http://launchpadlibrarian.net/31492232/list-datadir

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: le sous-processus post-installation script a retourn? une 
erreur de sortie d'?tat 1
https://bugs.launchpad.net/bugs/401767
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 401767] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: le sous-processus post-installation script a retourn? une erreur de sortie d'?tat 1

2009-09-08 Thread Mathias Gug
You need to update the AppArmor mysql profile to allow access for a
custom data directory. See https://wiki.ubuntu.com/DebuggingApparmor for
more information.

According to the daemon.log file:

ep  8 14:34:41 caleb mysqld_safe[2800]: started
Sep  8 14:34:41 caleb mysqld[2803]: 090908 14:34:41 [Warning] Can't create test 
file /home/jean-claude/mysql/caleb.lower-test
Sep  8 14:34:41 caleb mysqld[2803]: 090908 14:34:41 [Warning] Can't create test 
file /home/jean-claude/mysql/caleb.lower-test
Sep  8 14:34:41 caleb mysqld[2803]: 090908 14:34:41  InnoDB: Operating system 
error number 13 in a file operation.

And in the kern.log file:

Sep  8 14:34:41 caleb kernel: [   17.473630] type=1503
audit(1252413281.322:11): operation=inode_create requested_mask=a::
denied_mask=a:: fsuid=0 name=/home/jean-claude/mysql/caleb.lower-
test pid=2802 profile=/usr/sbin/mysqld

And usr.sbin.mysqld apparmor profile doesn't give any access to /home
/jean-claude/mysql/ for mysqld.

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

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: le sous-processus post-installation script a retourn? une 
erreur de sortie d'?tat 1
https://bugs.launchpad.net/bugs/401767
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 401767] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: le sous-processus post-installation script a retourn? une erreur de sortie d'?tat 1

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

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

 * mysqld apparmor profile:

/etc/apparmor.d/usr.sbin.mysqld

 * list of mysqld apparmor profiles:

ls -l /etc/apparmor.d/usr.sbin.mysqld*

 * 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/

 * directory listing of mysql datadir (by default /var/lib/mysql):

ls -l /var/lib/mysql


===
Relevant error messages


Paramétrage de 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.

dpkg : erreur de traitement de mysql-server-5.0 (--configure) :

 le sous-processus post-installation script a retourné une erreur de
sortie d'état 1

** Changed in: mysql-dfsg-5.0 (Ubuntu)
   Importance: Undecided = Medium

** 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: le sous-processus post-installation script a retourn? une 
erreur de sortie d'?tat 1
https://bugs.launchpad.net/bugs/401767
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 401767] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to install/upgrade: le sous-processus post-installation script a retourn? une erreur de sortie d'?tat 1

2009-07-20 Thread Jean-Claude GUEZO

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

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

-- 
package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 failed to 
install/upgrade: le sous-processus post-installation script a retourn? une 
erreur de sortie d'?tat 1
https://bugs.launchpad.net/bugs/401767
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