[debian-mysql] Bug#776104: chmod: changing permissions

Fabián Bonetti noreply-1 at mamalibre.com.ar
Sat Jan 24 00:33:25 UTC 2015


Package: mysql-server-5.5
Version: 5.5.41-0+wheezy1
Severity: important

View pastebin > http://paste.debian.net/142064/

mama at zeuza:~$ sudo apt-get dist-upgrade -y 
[sudo] password for mama: 
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Calculando la actualización... Listo
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
1 no instalados del todo o eliminados.
Se utilizarán 0 B de espacio de disco adicional después de esta operación.
Configurando mysql-server-5.5 (5.5.41-0+wheezy1) ...
[ ok ] Stopping MySQL database server: mysqld.
chmod: cambiando los permisos de «/var/lib/mysql»: Sistema de ficheros de sólo lectura
chmod: cambiando los permisos de «/var/lib/mysql/mysql»: Sistema de ficheros de sólo lectura
touch: no se puede efectuar `touch' sobre «/var/lib/mysql/debian-5.5.flag»: Sistema de ficheros de sólo lectura
dpkg: error al procesar mysql-server-5.5 (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
 mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)

that is so bold package of wanting to change my permissions. I let down my server. order questions



-- System Information:
Debian Release: 7.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mysql-server-5.5 depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.49
ii  initscripts            2.88dsf-41+deb7u1
ii  libc6                  2.13-38+deb7u6
ii  libdbi-perl            1.622-1+deb7u1
ii  libgcc1                1:4.7.2-5
ii  libstdc++6             4.7.2-5
ii  lsb-base               4.1+Debian8+deb7u1
ii  mysql-client-5.5       5.5.41-0+wheezy1
ii  mysql-common           5.5.41-0+wheezy1
ii  mysql-server-core-5.5  5.5.41-0+wheezy1
ii  passwd                 1:4.1.5.1-1
ii  perl                   5.14.2-21+deb7u2
ii  psmisc                 22.19-1+deb7u1
ii  zlib1g                 1:1.2.7.dfsg-13

Versions of packages mysql-server-5.5 recommends:
ii  heirloom-mailx [mailx]  12.5-2+deb7u1
ii  libhtml-template-perl   2.91-1

Versions of packages mysql-server-5.5 suggests:
pn  tinyca  <none>

-- Configuration Files:
/etc/logcheck/ignore.d.paranoid/mysql-server-5_5 [Errno 13] Permiso denegado: u'/etc/logcheck/ignore.d.paranoid/mysql-server-5_5'
/etc/logcheck/ignore.d.server/mysql-server-5_5 [Errno 13] Permiso denegado: u'/etc/logcheck/ignore.d.server/mysql-server-5_5'
/etc/logcheck/ignore.d.workstation/mysql-server-5_5 [Errno 13] Permiso denegado: u'/etc/logcheck/ignore.d.workstation/mysql-server-5_5'
/etc/logrotate.d/mysql-server changed:
/var/log/mysql.log /var/log/mysql/log-slow-queries.log {
	su
	daily
	rotate 7
	missingok
	create 640 mysql adm
	compress
	sharedscripts
	postrotate
		test -x /usr/bin/mysqladmin || exit 0
		# If this fails, check debian.conf! 
		MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
		if [ -z "`$MYADMIN ping 2>/dev/null`" ]; then
		  # Really no mysqld or rather a missing debian-sys-maint user?
		  # If this occurs and is not a error please report a bug.
		  #if ps cax | grep -q mysqld; then
		  if killall -q -s0 -umysql mysqld; then
 		    exit 1
		  fi 
		else
		  $MYADMIN flush-logs
		fi
	endscript
}


-- debconf information excluded



More information about the pkg-mysql-maint mailing list