The attached systemd service should probably become a mandatory
enabled by default addition to all the RSEL7 images. It may
help others avoid wasting hours of under-caffeineated debugging
of segfaults that are 100% reproducible on some hardware yet
100% non-reproducible on other hardware, despite being based
on the exact same image with no FS changes.

Hint: It's about enabling automatic alignment fixup by default.
I know I've had this rant before, but every once in a while
it still comes back to bite me occasionally.

Drop this into your /usr/lib/systemd/system directory, then
systemctl enable alignment.service

Gordan
[Unit]
Description=Alignment Fixup

[Service]
Type=oneshot
ExecStart=/bin/bash -c '/bin/echo 2 > /proc/cpu/alignment'
RemainAfterExit=yes

[Install]
WantedBy=basic.target
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to