Bug#576511: drbd8-utils: Ships with violent default actions for various drbd fault, conditions - may cause dataloss.
Dear maintainers, To be clearer, the reboot is ordered in catastrophic conditions where data loss will happen on the DRBD device whatever you do, because DRBD has lost all the usable storage device - this is much like unplugging a hard drive. So rebooting is probably a good option when DRBD is vital to the system, and that's what DRBD is supposed to be. My humble opinion is that the default is acceptable, but it's certainly surprising for new users. Maybe the choice could be left to the user at installation time : debconf could ask something like We advise you configure DRBD to reboot the system immediately when a serious problem arises that would cause I/O errors. Would you like DRBD to be configured to reboot in order to avoid I/O errors ? [Yes] / No Lionel Sausin. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#576511: drbd8-utils: Ships with violent default actions for various drbd fault conditions - may cause dataloss.
Package: drbd8-utils Version: 2:8.3.7-1 Severity: normal /etc/drbd.d/global_common.conf ships with the following lines enabled: handlers { pri-on-incon-degr /usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b /proc/sysrq-trigger ; reboot -f; pri-lost-after-sb /usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b /proc/sysrq-trigger ; reboot -f; local-io-error /usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o /proc/sysrq-trigger ; halt -f; !! This might sort of be alright if the box is dedicated to drbd, but it still might not be. echo b /proc/sysrq-trigger is particularly nasty, as it will force a reboot without syncing filesystems. Tim. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages drbd8-utils depends on: ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy ii libc6 2.10.2-2 GNU C Library: Shared libraries drbd8-utils recommends no packages. Versions of packages drbd8-utils suggests: pn heartbeat none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org