koverstreet / bcachefs-tools

http://bcachefs.org
GNU General Public License v2.0
124 stars 91 forks source link

bcachefsck service fails to run due to unknown argument, failure service also missing dependency from AUR package #221

Open kode54 opened 9 months ago

kode54 commented 9 months ago

The bcachefsck_all service is failing to run on Arch Linux, due to the paired tools not understanding an argument passed to them by the service script:

Jan 21 03:10:16 mrgency systemd[1]: Created slice bcachefsck background service slice.
Jan 21 03:10:16 mrgency systemd[1]: Starting Online bcachefsck for All Filesystems...
Jan 21 03:10:16 mrgency bcachefsck_all[32178]: Scrubbing /mnt/sammy...
Jan 21 03:10:16 mrgency bcachefsck_all[32178]: Scrubbing /mnt/storage...
Jan 21 03:10:16 mrgency bcachefsck_all[32178]: Scrubbing /...
Jan 21 03:10:16 mrgency systemd[1]: bcachefsck@mnt-sammy.service: Dependency OnFailure=bcachefsck@mnt-sammy.service is dropped.
Jan 21 03:10:16 mrgency systemd[1]: bcachefsck@-.service: Dependency OnFailure=bcachefsck@-.service is dropped.
Jan 21 03:10:16 mrgency systemd[1]: bcachefsck@mnt-storage.service: Dependency OnFailure=bcachefsck@mnt-storage.service is dropped.
Jan 21 03:10:16 mrgency systemd[1]: bcachefsck@mnt-sammy.service: Dependency OnFailure=bcachefsck@mnt-sammy.service is dropped.
Jan 21 03:10:16 mrgency systemd[1]: bcachefsck@-.service: Dependency OnFailure=bcachefsck@-.service is dropped.
Jan 21 03:10:16 mrgency systemd[1]: bcachefsck@mnt-storage.service: Dependency OnFailure=bcachefsck@mnt-storage.service is dropped.
Jan 21 03:10:16 mrgency systemd[1]: bcachefsck@mnt-sammy.service: Dependency OnFailure=bcachefsck@mnt-sammy.service is dropped.
Jan 21 03:10:16 mrgency systemd[1]: bcachefsck@-.service: Dependency OnFailure=bcachefsck@-.service is dropped.
Jan 21 03:10:17 mrgency systemd[1]: Starting Online bcachefsck for /...
Jan 21 03:10:17 mrgency systemd[1]: Starting Online bcachefsck for /mnt/sammy...
Jan 21 03:10:17 mrgency systemd[1]: bcachefsck@mnt-storage.service: Dependency OnFailure=bcachefsck@mnt-storage.service is dropped.
Jan 21 03:10:17 mrgency bcachefsck_all[32178]: Scrubbing /mnt/storage done, (err=0)
Jan 21 03:10:17 mrgency systemd[1]: Starting Online bcachefsck for /mnt/storage...
Jan 21 03:10:17 mrgency bcachefsck@mnt-sammy[32190]: bcachefs: unrecognized option '--real-mountpoint'
Jan 21 03:10:17 mrgency bcachefsck@mnt-sammy[32190]: error opening /proc/mounts: No such file or directory
Jan 21 03:10:17 mrgency bcachefsck@-[32187]: bcachefs: unrecognized option '--real-mountpoint'
Jan 21 03:10:17 mrgency bcachefsck@-[32187]: error opening /proc/mounts: No such file or directory
Jan 21 03:10:17 mrgency bcachefsck@mnt-storage[32192]: bcachefs: unrecognized option '--real-mountpoint'
Jan 21 03:10:17 mrgency bcachefsck@mnt-storage[32192]: error opening /proc/mounts: No such file or directory
Jan 21 03:10:17 mrgency systemd[1]: bcachefsck@mnt-sammy.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 03:10:17 mrgency systemd[1]: bcachefsck@mnt-sammy.service: Failed with result 'exit-code'.
Jan 21 03:10:17 mrgency systemd[1]: Failed to start Online bcachefsck for /mnt/sammy.
Jan 21 03:10:17 mrgency systemd[1]: bcachefsck@-.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 03:10:17 mrgency systemd[1]: bcachefsck@-.service: Failed with result 'exit-code'.
Jan 21 03:10:17 mrgency systemd[1]: Failed to start Online bcachefsck for /.
Jan 21 03:10:17 mrgency systemd[1]: bcachefsck@mnt-storage.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 03:10:17 mrgency systemd[1]: bcachefsck@mnt-storage.service: Failed with result 'exit-code'.
Jan 21 03:10:17 mrgency systemd[1]: Failed to start Online bcachefsck for /mnt/storage.
Jan 21 03:10:18 mrgency bcachefsck_all[32178]: Scrubbing /mnt/sammy done, (err=1)
Jan 21 03:10:18 mrgency bcachefsck_all[32178]: Scrubbing / done, (err=1)
Jan 21 03:10:20 mrgency systemd[1]: bcachefsck_all.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 03:10:20 mrgency systemd[1]: bcachefsck_all.service: Failed with result 'exit-code'.
Jan 21 03:10:20 mrgency systemd[1]: Failed to start Online bcachefsck for All Filesystems.
Jan 21 03:10:20 mrgency systemd[1]: bcachefsck_all.service: Triggering OnFailure= dependencies.
Jan 21 03:10:20 mrgency systemd[1]: Starting Online bcachefsck for All Filesystems Failure Reporting...
Jan 21 03:10:20 mrgency bcachefsck_fail[32238]: : Mailer program not found.
Jan 21 03:10:20 mrgency systemd[1]: bcachefsck_all_fail.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 03:10:20 mrgency systemd[1]: bcachefsck_all_fail.service: Failed with result 'exit-code'.
Jan 21 03:10:20 mrgency systemd[1]: Failed to start Online bcachefsck for All Filesystems Failure Reporting.

The failure script also appears to be missing a mailer command, as well, so the AUR package bcachefs-tools-git is not installing a dependency. I'll have to go poke their comment feed to see if they add that.