Bug#1008910: mount-functions: Only allows for LABEL/UUID
Elliott Mitchell
ehem+debian at m5p.com
Sun Apr 3 23:31:43 BST 2022
Package: initscripts
Version: 3.01-1
This is *almost* #677420, but not quite.
The test in /lib/init/mount-functions.sh, _read_fstab() tests for
"LABEL=*|UUID=*" before resorting to `findfs`. Thing is `findfs` has
two other cases it can handle and that test misses those two.
Perhaps the test should be: "[A-Z][A-Z]*[A-Z][A-Z]=*"?
That matches the two currently supported extra cases and would hopefully
catch further additions to what `findfs` can handle.
--
(\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/)
\BS ( | ehem+sigmsg at m5p.com PGP 87145445 | ) /
\_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
More information about the Debian-init-diversity
mailing list