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

Galera SST using rsync does not filter out lost+found

Details

    Description

      If the data directory is mounted from a partition which contains the 'lost+found' directory, Galera SST using rsync fails to filter the directory out and will exit with 'permission denied' (given lost+found is root rw only).

      This was also reported here:

      https://bugs.launchpad.net/codership-mysql/+bug/1299394

      Aug  3 08:13:14 ams-c1-db03 mysqld: rsync: change_dir "/var/lib/mysql//./lost+found" failed: Permission denied (13)
      Aug  3 08:13:14 ams-c1-db03 mysqld: rsync: change_dir#1 "/lost+found" (in rsync_sst) failed: Permission denied (13)
      Aug  3 08:13:14 ams-c1-db03 mysqld: rsync error: errors selecting input/output files, dirs (code 3) at main.c(631) [Receiver=3.1.1]
      

      Attachments

        Issue Links

          Activity

            madpsy Nathan Madpsy created issue -
            madpsy Nathan Madpsy made changes -
            Field Original Value New Value
            Description If the data directory is mounted from a partition which contains the 'lost+found' directory, Galera SST using rsync fails to filter the directory out and will exit with 'permission denied' (given lost+found is root rw only).

            This was also reported here:

            https://bugs.launchpad.net/codership-mysql/+bug/1299394
            If the data directory is mounted from a partition which contains the 'lost+found' directory, Galera SST using rsync fails to filter the directory out and will exit with 'permission denied' (given lost+found is root rw only).

            This was also reported here:

            https://bugs.launchpad.net/codership-mysql/+bug/1299394

            {code}
            Aug 3 08:13:14 ams-c1-db03 mysqld: rsync: change_dir "/var/lib/mysql//./lost+found" failed: Permission denied (13)
            Aug 3 08:13:14 ams-c1-db03 mysqld: rsync: change_dir#1 "/lost+found" (in rsync_sst) failed: Permission denied (13)
            Aug 3 08:13:14 ams-c1-db03 mysqld: rsync error: errors selecting input/output files, dirs (code 3) at main.c(631) [Receiver=3.1.1]
            {code}
            elenst Elena Stepanova made changes -
            Assignee Nirbhay Choubey [ nirbhay_c ]
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            Fix Version/s 10.1.17 [ 22102 ]
            Fix Version/s 5.5.51-galera [ 22103 ]
            Fix Version/s 10.0.27-galera [ 22104 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 76562 ] MariaDB v4 [ 150703 ]
            dcz01 Daniel Czadek made changes -

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              madpsy Nathan Madpsy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.