Go to file
Kairui Song 05cec1657f mkdumprd: refine regex on dropping mount options
Currently we use "\b" (word boundary) as the delimiter for ro option,
which is not correct. For mount options like
"defaults,errors=remount-ro" the ro on the tail will also be replaced
and result in an invalid mount option.

So we use a more strict logic on detecting ro mount option. It should
either starts with "," or "^" (begin of line) and ends with "," or "$"
(end of line), and keep the delimiter untouched. This should ensure
only valid mount option got detected and replaced.

This passed following tests:

defaults,ro,noauto,errors=remount-ro,nobootwait,nofail => defaults,rw,errors=remount-ro,
defaults,errors=remount-ro => defaults,errors=remount-ro
defaults,ro,relatime => defaults,rw,relatime
defaults,ro => defaults,rw

Signed-off-by: Kairui Song <kasong@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
2019-01-28 18:23:03 +08:00
.gitignore
98-kexec.rules
dracut-early-kdump-module-setup.sh earlykdump: warn when installed kernel version differs from dracut target 2019-01-10 18:16:58 +08:00
dracut-early-kdump.sh
dracut-kdump-capture.service
dracut-kdump-emergency.service
dracut-kdump-emergency.target
dracut-kdump-error-handler.service Add failure_action as alias of default and make default obsolete 2019-01-22 17:57:53 +08:00
dracut-kdump-error-handler.sh Add failure_action as alias of default and make default obsolete 2019-01-22 17:57:53 +08:00
dracut-kdump.sh
dracut-module-setup.sh
dracut-monitor_dd_progress
early-kdump-howto.txt earlykdump: Add a note of final_action option to avoid crash loop 2019-01-22 17:58:33 +08:00
fadump-howto.txt Add final_action option to kdump.conf 2019-01-22 17:58:24 +08:00
kdump-dep-generator.sh
kdump-in-cluster-environment.txt
kdump-lib-initramfs.sh Add final_action option to kdump.conf 2019-01-22 17:58:24 +08:00
kdump-lib.sh Add failure_action as alias of default and make default obsolete 2019-01-22 17:57:53 +08:00
kdump-udev-throttler
kdump.conf Add final_action option to kdump.conf 2019-01-22 17:58:24 +08:00
kdump.conf.5 Add final_action option to kdump.conf 2019-01-22 17:58:24 +08:00
kdump.service
kdump.sysconfig
kdump.sysconfig.i386
kdump.sysconfig.ppc64
kdump.sysconfig.ppc64le
kdump.sysconfig.s390x
kdump.sysconfig.x86_64
kdumpctl Add final_action option to kdump.conf 2019-01-22 17:58:24 +08:00
kdumpctl.8 kdumpctl: add showmem cmd 2018-05-21 14:06:30 +08:00
kexec-kdump-howto.txt Add failure_action as alias of default and make default obsolete 2019-01-22 17:57:53 +08:00
kexec-tools-2.0.16-koji-build-fail-workaround.patch
kexec-tools-2.0.17-kexec-fix-for-Unhandled-rela-relocation-R_X86_64_PLT.patch
kexec-tools.spec Release 2.0.18-3 2019-01-22 18:08:05 +08:00
live-image-kdump-howto.txt
mkdumprd mkdumprd: refine regex on dropping mount options 2019-01-28 18:23:03 +08:00
mkdumprd.8
README
sources
zanata-notes.txt

Adding a patch to kexec-tools
=============================
There is a mailing list kexec@lists.fedoraproject.org where all the dicussion
related to fedora kexec-tools happen. All the patches are posted there for
inclusion and committed to kexec-tools after review.

So if you want your patches to be included in fedora kexec-tools package,
post these to kexec@lists.fedoraproject.org.

One can subscribe to list and browse through archives here.

https://admin.fedoraproject.org/mailman/listinfo/kexec