Hello Faustin, Thank you for taking the time to attend this.
At first, when I tried to install mariadb server with "sudo apt install mariadb-server mariadb-client" command, I couldn't, due to the fact of the error mentioned before. After several unsuccessful attempts and continue insisting on the installation, I decided to eliminate all traces of msyql or mariadb that might exist in my system (note that this is a fresh ubuntu system installation) with this series of commands: sudo apt-get remove --purge mysql * sudo apt-get remove --purge mysql sudo apt-get remove --purge mariadb sudo apt-get remove --purge mariadb * sudo apt-get --purge remove mariadb-server Note: When I was prompted despite the fact that the installation was unsuccessful if I wanted to dump my current Databases, even I was sure that none existed, I answered "no" to the prompt. After doing all this I restarted the system. In the end, I don't really know what I did to correct the problem, since after all this I just retry the installation with "sudo apt install mariadb-server" omitting the "mariadb-client" part and the command finished the installation process properly, without showing any more errors. It looks that now there are these mysqld profiles: c-u8700@CU8700-DSKH ~ $ find /etc/apparmor.d/ -type f -name "usr.sbin.mysqld" /etc/apparmor.d/cache/usr.sbin.mysqld /etc/apparmor.d/usr.sbin.mysqld ... but I'm not sure if they existed before the installation was successful. I'm pastting the results of the command that you requested me, I hope this is of some use now that mariadb server is installed and working on my system. apparmor module is loaded. 48 profiles are loaded. 45 profiles are in enforce mode. /sbin/dhclient /snap/core/4830/usr/lib/snapd/snap-confine /snap/core/4830/usr/lib/snapd/snap-confine//mount-namespace-capture-helper /usr/bin/evince /usr/bin/evince-previewer /usr/bin/evince-previewer//sanitized_helper /usr/bin/evince-thumbnailer /usr/bin/evince-thumbnailer//sanitized_helper /usr/bin/evince//sanitized_helper /usr/bin/man /usr/lib/NetworkManager/nm-dhcp-client.action /usr/lib/NetworkManager/nm-dhcp-helper /usr/lib/connman/scripts/dhclient-script /usr/lib/cups/backend/cups-pdf /usr/lib/snapd/snap-confine /usr/lib/snapd/snap-confine//mount-namespace-capture-helper /usr/sbin/cups-browsed /usr/sbin/cupsd /usr/sbin/cupsd//third_party /usr/sbin/ippusbxd /usr/sbin/tcpdump libreoffice-senddoc libreoffice-senddoc//sanitized_helper libreoffice-soffice//gpg libreoffice-xpdfimport man_filter man_groff snap-update-ns.canonical-livepatch snap-update-ns.core snap-update-ns.gimp snap-update-ns.gnome-calculator snap-update-ns.gnome-characters snap-update-ns.gnome-logs snap-update-ns.gnome-system-monitor snap-update-ns.sublime-text snap-update-ns.wordpress-desktop snap.canonical-livepatch.canonical-livepatch snap.canonical-livepatch.canonical-livepatchd snap.core.hook.configure snap.gimp.gimp snap.gnome-calculator.gnome-calculator snap.gnome-characters.gnome-characters snap.gnome-logs.gnome-logs snap.gnome-system-monitor.gnome-system-monitor snap.wordpress-desktop.wordpress-desktop 3 profiles are in complain mode. libreoffice-oopslash libreoffice-soffice snap.sublime-text.subl 4 processes have profiles defined. 4 processes are in enforce mode. /sbin/dhclient (1575) /usr/sbin/cups-browsed (4422) /usr/sbin/cupsd (4421) snap.canonical-livepatch.canonical-livepatchd (1710) 0 processes are in complain mode. 0 processes are unconfined but have a profile defined. Thanks anyway. Regards ... El lun., 25 de jun. de 2018 a la(s) 11:15, Faustin < 1777...@bugs.launchpad.net> escribió: > Hi Carlos, > thank you for your report and for your help making Ubuntu better. > > Error seems to come from apparmor: > [12777.209204] audit: type=1400 audit(1529548133.470:50): > apparmor="STATUS" operation="profile_load" profile="unconfined" > name="/usr/sbin/mysqld" pid=14655 comm="apparmor_parser" > [12778.492193] audit: type=1400 audit(1529548134.754:51): > apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" > name="/sys/devices/system/node/" pid=14723 comm="mysqld" requested_mask="r" > denied_mask="r" fsuid=0 ouid=0 > [12778.505448] audit: type=1400 audit(1529548134.766:52): > apparmor="DENIED" operation="capable" profile="/usr/sbin/mysqld" pid=14723 > comm="mysqld" capability=2 capname="dac_read_search" > [12778.519018] audit: type=1400 audit(1529548134.782:53): > apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" > name="/sys/devices/system/node/" pid=14725 comm="mysqld" requested_mask="r" > denied_mask="r" fsuid=123 ouid=0 > > May I ask you to give me the result of: > $ sudo aa-status > > Is there any apparmor mysqld profile (/etc/apparmor.d/usr.sbin.mysqld)? > > Thanks! > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1777975 > > Title: > package mariadb-server-10.1 1:10.1.29-6 failed to install/upgrade: > instalado mariadb-server-10.1 paquete post-installation guión el > subproceso devolvió un error con estado de salida 1 > > Status in mariadb-10.1 package in Ubuntu: > New > > Bug description: > mariadb server crashed when dpkg was trying to run the configure > script during the installation process, apparently mariadb-server > depends on mariadb-server-10.1 but it wasn't configured yet, at least > that was what the output in the terminal said, looks to redundant!. > > ProblemType: Package > DistroRelease: Ubuntu 18.04 > Package: mariadb-server-10.1 1:10.1.29-6 > ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18 > Uname: Linux 4.15.0-23-generic x86_64 > NonfreeKernelModules: nvidia_modeset nvidia > ApportVersion: 2.20.9-0ubuntu7.2 > Architecture: amd64 > Date: Wed Jun 20 21:53:06 2018 > ErrorMessage: instalado mariadb-server-10.1 paquete post-installation > guión el subproceso devolvió un error con estado de salida 1 > InstallationDate: Installed on 2018-06-03 (17 days ago) > InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 > (20180426) > Logs.var.log.daemon.log: > > ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-23-generic > root=UUID=72a36c00-7711-4248-81fe-ad350f8e8948 ro quiet splash vt.handoff=1 > Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, > 3.6.5-3 > PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, > 2.7.15~rc1-1 > RelatedPackageVersions: > dpkg 1.19.0.5ubuntu2 > apt 1.6.1 > SourcePackage: mariadb-10.1 > Title: package mariadb-server-10.1 1:10.1.29-6 failed to > install/upgrade: instalado mariadb-server-10.1 paquete post-installation > guión el subproceso devolvió un error con estado de salida 1 > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/mariadb-10.1/+bug/1777975/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1777975 Title: package mariadb-server-10.1 1:10.1.29-6 failed to install/upgrade: instalado mariadb-server-10.1 paquete post-installation guión el subproceso devolvió un error con estado de salida 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mariadb-10.1/+bug/1777975/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs