Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5086

debugmode for post install script not disabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.5.33a-galera
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Thanks for this release first of all! just thought I'd post this:

      Setting up libaio1:amd64 (0.3.109-3) ...
      Setting up galera (23.2.7-wheezy) ...
      Setting up mariadb-galera-server-5.5 (5.5.33a+maria-1~wheezy) ...
      + test -x /usr/sbin/mysqld
      + . /lib/lsb/init-functions
      +++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
      ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)'
      ..
      

      nothing major but might scare some users

      Thanks.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            That's weird, I'm not getting it:

            Setting up galera (23.2.7-wheezy) ...
            Setting up libhtml-template-perl (2.91-1) ...
            Setting up libmysqlclient18 (5.5.33a+maria-1~wheezy) ...
            Setting up libmariadbclient18 (5.5.33a+maria-1~wheezy) ...
            Setting up mariadb-client-core-5.5 (5.5.33a+maria-1~wheezy) ...
            Setting up mariadb-client-5.5 (5.5.33a+maria-1~wheezy) ...
            Setting up mariadb-galera-server-5.5 (5.5.33a+maria-1~wheezy) ...
            [ ok ] Stopping MariaDB database server: mysqld.
            [ ok ] Starting MariaDB database server: mysqld . . . . . . . ..
            [info] Checking for corrupt, not cleanly closed and upgrade needing tables..
            Setting up mariadb-galera-server (5.5.33a+maria-1~wheezy) ...

            Is there anything special about your environment? I'm not sure what exactly can cause the script to go into debug mode if it's not always like that, I'll ask around...

            Show
            elenst Elena Stepanova added a comment - That's weird, I'm not getting it: Setting up galera (23.2.7-wheezy) ... Setting up libhtml-template-perl (2.91-1) ... Setting up libmysqlclient18 (5.5.33a+maria-1~wheezy) ... Setting up libmariadbclient18 (5.5.33a+maria-1~wheezy) ... Setting up mariadb-client-core-5.5 (5.5.33a+maria-1~wheezy) ... Setting up mariadb-client-5.5 (5.5.33a+maria-1~wheezy) ... Setting up mariadb-galera-server-5.5 (5.5.33a+maria-1~wheezy) ... [ ok ] Stopping MariaDB database server: mysqld. [ ok ] Starting MariaDB database server: mysqld . . . . . . . .. [info] Checking for corrupt, not cleanly closed and upgrade needing tables.. Setting up mariadb-galera-server (5.5.33a+maria-1~wheezy) ... Is there anything special about your environment? I'm not sure what exactly can cause the script to go into debug mode if it's not always like that, I'll ask around...
            Hide
            stefane Stefan Eriksson added a comment -

            I did a new installation, not upgrade. If you first do apt-get remove --purge mariadb-galera-server-5.5

            And then try? I did upgrade on two without the debug messages. so it might be a different script beeing triggered depending on if its upgrade or new install.

            Show
            stefane Stefan Eriksson added a comment - I did a new installation, not upgrade. If you first do apt-get remove --purge mariadb-galera-server-5.5 And then try? I did upgrade on two without the debug messages. so it might be a different script beeing triggered depending on if its upgrade or new install.
            Hide
            elenst Elena Stepanova added a comment -

            Yes, I thought so too, so I tried both clean install on a virgin VM snapshot, as well as upgrade, same result. Now I also tried a secondary install (install, purge, install again). Still no luck:

                                  1. Clean VM

            elenst@wheezy-64:~$ dpkg -l | grep -i maria

                                  1. Try to purge, just in case

            elenst@wheezy-64:~$ sudo apt-get remove --purge mariadb-galera-server-5.5
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            Package 'mariadb-galera-server-5.5' is not installed, so not removed
            0 upgraded, 0 newly installed, 0 to remove and 423 not upgraded.

                                  1. Now install

            elenst@wheezy-64:~$ sudo apt-get install mariadb-galera-server
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            The following extra packages will be installed:
            galera libhtml-template-perl libmariadbclient18 libmysqlclient18 mariadb-client-5.5 mariadb-client-core-5.5 mariadb-common
            mariadb-galera-server-5.5
            Suggested packages:
            libipc-sharedcache-perl tinyca mariadb-test
            The following NEW packages will be installed:
            galera libhtml-template-perl libmariadbclient18 mariadb-client-5.5 mariadb-client-core-5.5 mariadb-common mariadb-galera-server
            mariadb-galera-server-5.5
            The following packages will be upgraded:
            libmysqlclient18
            1 upgraded, 8 newly installed, 0 to remove and 422 not upgraded.
            Need to get 33.4 MB/33.4 MB of archives.
            After this operation, 108 MB of additional disk space will be used.
            Do you want to continue [Y/n]? y
            Get:1 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-common all 5.5.33a+maria-1~wheezy [3,274 B]
            Get:2 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main libmysqlclient18 amd64 5.5.33a+maria-1~wheezy [2,938 B]
            Get:3 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main libmariadbclient18 amd64 5.5.33a+maria-1~wheezy [845 kB]
            Get:4 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-client-core-5.5 amd64 5.5.33a+maria-1~wheezy [1,817 kB]
            Get:5 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-client-5.5 amd64 5.5.33a+maria-1~wheezy [5,089 kB]
            Get:6 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main galera amd64 23.2.7-wheezy [1,460 kB]
            Get:7 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-galera-server-5.5 amd64 5.5.33a+maria-1~wheezy [24.1 MB]
            Get:8 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-galera-server all 5.5.33a+maria-1~wheezy [2,998 B]
            Fetched 33.4 MB in 31s (1,061 kB/s)
            Reading changelogs... Done
            Preconfiguring packages ...
            Selecting previously unselected package mariadb-common.
            (Reading database ... 148347 files and directories currently installed.)
            Unpacking mariadb-common (from .../mariadb-common_5.5.33a+maria-1~wheezy_all.deb) ...
            Preparing to replace libmysqlclient18:amd64 5.5.28+dfsg-1 (using .../libmysqlclient18_5.5.33a+maria-1~wheezy_amd64.deb) ...
            Unpacking replacement libmysqlclient18 ...
            Selecting previously unselected package libmariadbclient18.
            Unpacking libmariadbclient18 (from .../libmariadbclient18_5.5.33a+maria-1~wheezy_amd64.deb) ...
            Selecting previously unselected package mariadb-client-core-5.5.
            Unpacking mariadb-client-core-5.5 (from .../mariadb-client-core-5.5_5.5.33a+maria-1~wheezy_amd64.deb) ...
            Selecting previously unselected package mariadb-client-5.5.
            Unpacking mariadb-client-5.5 (from .../mariadb-client-5.5_5.5.33a+maria-1~wheezy_amd64.deb) ...
            Selecting previously unselected package galera.
            Unpacking galera (from .../galera_23.2.7-wheezy_amd64.deb) ...
            Processing triggers for man-db ...
            Processing triggers for menu ...
            Setting up mariadb-common (5.5.33a+maria-1~wheezy) ...
            Selecting previously unselected package mariadb-galera-server-5.5.
            (Reading database ... 148415 files and directories currently installed.)
            Unpacking mariadb-galera-server-5.5 (from .../mariadb-galera-server-5.5_5.5.33a+maria-1~wheezy_amd64.deb) ...
            Selecting previously unselected package libhtml-template-perl.
            Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.91-1_all.deb) ...
            Selecting previously unselected package mariadb-galera-server.
            Unpacking mariadb-galera-server (from .../mariadb-galera-server_5.5.33a+maria-1~wheezy_all.deb) ...
            Processing triggers for man-db ...
            Setting up galera (23.2.7-wheezy) ...
            Setting up libhtml-template-perl (2.91-1) ...
            Setting up libmysqlclient18 (5.5.33a+maria-1~wheezy) ...
            Setting up libmariadbclient18 (5.5.33a+maria-1~wheezy) ...
            Setting up mariadb-client-core-5.5 (5.5.33a+maria-1~wheezy) ...
            Setting up mariadb-client-5.5 (5.5.33a+maria-1~wheezy) ...
            Setting up mariadb-galera-server-5.5 (5.5.33a+maria-1~wheezy) ...
            [ ok ] Stopping MariaDB database server: mysqld.
            [ ok ] Starting MariaDB database server: mysqld . . . . ..
            [info] Checking for corrupt, not cleanly closed and upgrade needing tables..
            Setting up mariadb-galera-server (5.5.33a+maria-1~wheezy) ...
            Processing triggers for menu ...

                                  1. Purge

            elenst@wheezy-64:~$ sudo apt-get remove --purge mariadb-galera-server-5.5
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            The following packages were automatically installed and are no longer required:
            galera libhtml-template-perl
            Use 'apt-get autoremove' to remove them.
            The following packages will be REMOVED:
            mariadb-galera-server* mariadb-galera-server-5.5*
            0 upgraded, 0 newly installed, 2 to remove and 422 not upgraded.
            After this operation, 82.0 MB disk space will be freed.
            Do you want to continue [Y/n]? y
            (Reading database ... 148600 files and directories currently installed.)
            Removing mariadb-galera-server ...
            Removing mariadb-galera-server-5.5 ...
            [ ok ] Stopping MariaDB database server: mysqld.
            Purging configuration files for mariadb-galera-server-5.5 ...
            Processing triggers for man-db ...

                                  1. Install again

            elenst@wheezy-64:~$ sudo apt-get install mariadb-galera-server
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            The following extra packages will be installed:
            mariadb-galera-server-5.5
            Suggested packages:
            tinyca mariadb-test
            The following NEW packages will be installed:
            mariadb-galera-server mariadb-galera-server-5.5
            0 upgraded, 2 newly installed, 0 to remove and 422 not upgraded.
            Need to get 0 B/24.1 MB of archives.
            After this operation, 82.0 MB of additional disk space will be used.
            Do you want to continue [Y/n]? y
            Preconfiguring packages ...
            Selecting previously unselected package mariadb-galera-server-5.5.
            (Reading database ... 148427 files and directories currently installed.)
            Unpacking mariadb-galera-server-5.5 (from .../mariadb-galera-server-5.5_5.5.33a+maria-1~wheezy_amd64.deb) ...
            Selecting previously unselected package mariadb-galera-server.
            Unpacking mariadb-galera-server (from .../mariadb-galera-server_5.5.33a+maria-1~wheezy_all.deb) ...
            Processing triggers for man-db ...
            Setting up mariadb-galera-server-5.5 (5.5.33a+maria-1~wheezy) ...
            [ ok ] Stopping MariaDB database server: mysqld.
            [ ok ] Starting MariaDB database server: mysqld . . . ..
            [info] Checking for corrupt, not cleanly closed and upgrade needing tables..
            Setting up mariadb-galera-server (5.5.33a+maria-1~wheezy) ...

            elenst@wheezy-64:~$

            Show
            elenst Elena Stepanova added a comment - Yes, I thought so too, so I tried both clean install on a virgin VM snapshot, as well as upgrade, same result. Now I also tried a secondary install (install, purge, install again). Still no luck: Clean VM elenst@wheezy-64:~$ dpkg -l | grep -i maria Try to purge, just in case elenst@wheezy-64:~$ sudo apt-get remove --purge mariadb-galera-server-5.5 Reading package lists... Done Building dependency tree Reading state information... Done Package 'mariadb-galera-server-5.5' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 423 not upgraded. Now install elenst@wheezy-64:~$ sudo apt-get install mariadb-galera-server Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: galera libhtml-template-perl libmariadbclient18 libmysqlclient18 mariadb-client-5.5 mariadb-client-core-5.5 mariadb-common mariadb-galera-server-5.5 Suggested packages: libipc-sharedcache-perl tinyca mariadb-test The following NEW packages will be installed: galera libhtml-template-perl libmariadbclient18 mariadb-client-5.5 mariadb-client-core-5.5 mariadb-common mariadb-galera-server mariadb-galera-server-5.5 The following packages will be upgraded: libmysqlclient18 1 upgraded, 8 newly installed, 0 to remove and 422 not upgraded. Need to get 33.4 MB/33.4 MB of archives. After this operation, 108 MB of additional disk space will be used. Do you want to continue [Y/n] ? y Get:1 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-common all 5.5.33a+maria-1~wheezy [3,274 B] Get:2 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main libmysqlclient18 amd64 5.5.33a+maria-1~wheezy [2,938 B] Get:3 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main libmariadbclient18 amd64 5.5.33a+maria-1~wheezy [845 kB] Get:4 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-client-core-5.5 amd64 5.5.33a+maria-1~wheezy [1,817 kB] Get:5 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-client-5.5 amd64 5.5.33a+maria-1~wheezy [5,089 kB] Get:6 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main galera amd64 23.2.7-wheezy [1,460 kB] Get:7 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-galera-server-5.5 amd64 5.5.33a+maria-1~wheezy [24.1 MB] Get:8 http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian/ wheezy/main mariadb-galera-server all 5.5.33a+maria-1~wheezy [2,998 B] Fetched 33.4 MB in 31s (1,061 kB/s) Reading changelogs... Done Preconfiguring packages ... Selecting previously unselected package mariadb-common. (Reading database ... 148347 files and directories currently installed.) Unpacking mariadb-common (from .../mariadb-common_5.5.33a+maria-1~wheezy_all.deb) ... Preparing to replace libmysqlclient18:amd64 5.5.28+dfsg-1 (using .../libmysqlclient18_5.5.33a+maria-1~wheezy_amd64.deb) ... Unpacking replacement libmysqlclient18 ... Selecting previously unselected package libmariadbclient18. Unpacking libmariadbclient18 (from .../libmariadbclient18_5.5.33a+maria-1~wheezy_amd64.deb) ... Selecting previously unselected package mariadb-client-core-5.5. Unpacking mariadb-client-core-5.5 (from .../mariadb-client-core-5.5_5.5.33a+maria-1~wheezy_amd64.deb) ... Selecting previously unselected package mariadb-client-5.5. Unpacking mariadb-client-5.5 (from .../mariadb-client-5.5_5.5.33a+maria-1~wheezy_amd64.deb) ... Selecting previously unselected package galera. Unpacking galera (from .../galera_23.2.7-wheezy_amd64.deb) ... Processing triggers for man-db ... Processing triggers for menu ... Setting up mariadb-common (5.5.33a+maria-1~wheezy) ... Selecting previously unselected package mariadb-galera-server-5.5. (Reading database ... 148415 files and directories currently installed.) Unpacking mariadb-galera-server-5.5 (from .../mariadb-galera-server-5.5_5.5.33a+maria-1~wheezy_amd64.deb) ... Selecting previously unselected package libhtml-template-perl. Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.91-1_all.deb) ... Selecting previously unselected package mariadb-galera-server. Unpacking mariadb-galera-server (from .../mariadb-galera-server_5.5.33a+maria-1~wheezy_all.deb) ... Processing triggers for man-db ... Setting up galera (23.2.7-wheezy) ... Setting up libhtml-template-perl (2.91-1) ... Setting up libmysqlclient18 (5.5.33a+maria-1~wheezy) ... Setting up libmariadbclient18 (5.5.33a+maria-1~wheezy) ... Setting up mariadb-client-core-5.5 (5.5.33a+maria-1~wheezy) ... Setting up mariadb-client-5.5 (5.5.33a+maria-1~wheezy) ... Setting up mariadb-galera-server-5.5 (5.5.33a+maria-1~wheezy) ... [ ok ] Stopping MariaDB database server: mysqld. [ ok ] Starting MariaDB database server: mysqld . . . . .. [info] Checking for corrupt, not cleanly closed and upgrade needing tables.. Setting up mariadb-galera-server (5.5.33a+maria-1~wheezy) ... Processing triggers for menu ... Purge elenst@wheezy-64:~$ sudo apt-get remove --purge mariadb-galera-server-5.5 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: galera libhtml-template-perl Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: mariadb-galera-server* mariadb-galera-server-5.5* 0 upgraded, 0 newly installed, 2 to remove and 422 not upgraded. After this operation, 82.0 MB disk space will be freed. Do you want to continue [Y/n] ? y (Reading database ... 148600 files and directories currently installed.) Removing mariadb-galera-server ... Removing mariadb-galera-server-5.5 ... [ ok ] Stopping MariaDB database server: mysqld. Purging configuration files for mariadb-galera-server-5.5 ... Processing triggers for man-db ... Install again elenst@wheezy-64:~$ sudo apt-get install mariadb-galera-server Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: mariadb-galera-server-5.5 Suggested packages: tinyca mariadb-test The following NEW packages will be installed: mariadb-galera-server mariadb-galera-server-5.5 0 upgraded, 2 newly installed, 0 to remove and 422 not upgraded. Need to get 0 B/24.1 MB of archives. After this operation, 82.0 MB of additional disk space will be used. Do you want to continue [Y/n] ? y Preconfiguring packages ... Selecting previously unselected package mariadb-galera-server-5.5. (Reading database ... 148427 files and directories currently installed.) Unpacking mariadb-galera-server-5.5 (from .../mariadb-galera-server-5.5_5.5.33a+maria-1~wheezy_amd64.deb) ... Selecting previously unselected package mariadb-galera-server. Unpacking mariadb-galera-server (from .../mariadb-galera-server_5.5.33a+maria-1~wheezy_all.deb) ... Processing triggers for man-db ... Setting up mariadb-galera-server-5.5 (5.5.33a+maria-1~wheezy) ... [ ok ] Stopping MariaDB database server: mysqld. [ ok ] Starting MariaDB database server: mysqld . . . .. [info] Checking for corrupt, not cleanly closed and upgrade needing tables.. Setting up mariadb-galera-server (5.5.33a+maria-1~wheezy) ... elenst@wheezy-64:~$
            Hide
            stefane Stefan Eriksson added a comment -

            Ok might close this, cant say more why this triggered, its not a serious issue and if I get it with coming releases aswell I'll try to debug it more.

            ok to close for me.

            Show
            stefane Stefan Eriksson added a comment - Ok might close this, cant say more why this triggered, its not a serious issue and if I get it with coming releases aswell I'll try to debug it more. ok to close for me.
            Hide
            elenst Elena Stepanova added a comment -

            I'll remove the fix version and the due date, but will keep it open for a while, maybe new information pops up.

            Show
            elenst Elena Stepanova added a comment - I'll remove the fix version and the due date, but will keep it open for a while, maybe new information pops up.
            Hide
            elenst Elena Stepanova added a comment -

            As discussed earlier, closing for now since it wasn't reproducible, and no new information had been received from any sources since then. We can re-open it later if there are any news.

            Show
            elenst Elena Stepanova added a comment - As discussed earlier, closing for now since it wasn't reproducible, and no new information had been received from any sources since then. We can re-open it later if there are any news.

              People

              • Assignee:
                elenst Elena Stepanova
                Reporter:
                stefane Stefan Eriksson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: