Skip to content

Commit 4f20b96

Browse files
committed
Try fix problem using warsaw with glibc2.41
1 parent 5d533df commit 4f20b96

4 files changed

Lines changed: 28 additions & 1 deletion

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
Description=Fix apps broken with this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32653
3+
4+
[Path]
5+
SystemCallArchitectures=native
6+
PathModified=/usr/local/bin/warsaw/core
7+
Unit=glibc2-41-fix.service
8+
9+
[Install]
10+
WantedBy=default.target
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Unit]
2+
Description=Fix apps broken with this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32653
3+
StartLimitBurst=5
4+
StartLimitIntervalSec=1
5+
6+
[Service]
7+
SystemCallArchitectures=native
8+
Type=oneshot
9+
ExecStart=execstack -s /usr/local/bin/warsaw/core
10+
11+
[Install]
12+
WantedBy=default.target

pkgbuild/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pkgver=$(date +%y.%m.%d)
55
pkgrel=$(date +%H%M)
66
arch=('any')
77
license=('GPL')
8-
depends=('start-stop-daemon' 'wxgtk3-runtime' 'ld-lsb' 'openssl-1.1' 'kdotool-git' 'linux-firmware')
8+
depends=('start-stop-daemon' 'wxgtk3-runtime' 'ld-lsb' 'openssl-1.1' 'kdotool-git' 'linux-firmware' 'execstack')
99
provides=('wxwidgets3.0=3.0.5-3')
1010
conflicts=('wxwidgets3.0')
1111
replaces=('wxwidgets3.0')

pkgbuild/biglinux-improve-compatibility.install

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ post_install() {
33
systemctl start biglinux-improve-compatibility
44
systemctl enable suspend-bluetooth-fix
55
systemctl start suspend-bluetooth-fix
6+
systemctl enable glibc2-41-fix
7+
systemctl start glibc2-41-fix
68
systemctl --global enable big-execute-after-user-login
79
if [[ ! -e /etc/sysctl.d/90-sysrq.conf ]]; then
810
echo 'kernel.sysrq = 502' > /etc/sysctl.d/90-sysrq.conf
@@ -18,12 +20,15 @@ ProcessSizeMax=0' > /etc/systemd/coredump.conf.d/custom.conf
1820
pre_remove() {
1921
systemctl disable biglinux-improve-compatibility
2022
systemctl disable suspend-bluetooth-fix
23+
systemctl disable glibc2-41-fix
2124
}
2225

2326
post_upgrade() {
2427
systemctl --global enable big-execute-after-user-login
2528
systemctl enable suspend-bluetooth-fix
2629
systemctl start suspend-bluetooth-fix
30+
systemctl enable glibc2-41-fix
31+
systemctl start glibc2-41-fix
2732
if [[ ! -e /etc/sysctl.d/90-sysrq.conf ]]; then
2833
echo 'kernel.sysrq = 502' > /etc/sysctl.d/90-sysrq.conf
2934
fi

0 commit comments

Comments
 (0)