{"action":"closed","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/3568","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/3568/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/3568/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/3568/events","html_url":"https://github.com/systemd/systemd/issues/3568","id":161294226,"number":3568,"title":"Changes in /etc/fstab are ignored","user":{"login":"jkufner","id":16572,"avatar_url":"https://avatars.githubusercontent.com/u/16572?v=3","gravatar_id":"","url":"https://api.github.com/users/jkufner","html_url":"https://github.com/jkufner","followers_url":"https://api.github.com/users/jkufner/followers","following_url":"https://api.github.com/users/jkufner/following{/other_user}","gists_url":"https://api.github.com/users/jkufner/gists{/gist_id}","starred_url":"https://api.github.com/users/jkufner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkufner/subscriptions","organizations_url":"https://api.github.com/users/jkufner/orgs","repos_url":"https://api.github.com/users/jkufner/repos","events_url":"https://api.github.com/users/jkufner/events{/privacy}","received_events_url":"https://api.github.com/users/jkufner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-06-20T21:03:09Z","updated_at":"2016-06-21T15:09:14Z","closed_at":"2016-06-21T15:09:14Z","body":"### Submission type\r\n\r\n  - Bug report\r\n\r\n### systemd version the issue has been seen with\r\n\r\n`````\r\n$ systemd --version\r\nsystemd 230\r\n+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN\r\n`````\r\n\r\n### Used distribution\r\n\r\nDebian\r\n\r\n### The Bug\r\n\r\nMy hard drive failed so i bought a new one and copied data. After the copy was finished, I changed /etc/fstab to mount new hard drive to old mount point, then unmounted old drive, mounted the new one and disconnected the broken hard drive to let it rest for a minute. Then I reconnected the old broken drive. Instantly, systemd unmounted the new drive and mounted the old broken drive, not respecting changes in /etc/fstab. I was lucky noone has been using the server and badblocks has a check to not run on mounted drives, otherwise a lot of bad things would happen.\r\n\r\nBefore mounting anything, systemd MUST check /etc/fstab for changes. It is not acceptable to cache obsolete data and use the wrong data to do wrong things automatically.\r\n\r\nThis systemd's behavior may result in significant data loss."}}
{"actor":{"display_login":"poettering"}}