aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authordancer <dancer>2005-12-21 11:06:05 +0000
committerdancer <dancer>2005-12-21 11:06:05 +0000
commit55a736e7b9f2ade9e6e97335fad6f47affff647b (patch)
treec2d6cc0108512088e0351ef9b3e48dfdbb709a08 /examples
parent5c2c92d40cb45fcdb706ff9e7dd3b8ddc9932fd7 (diff)
downloadpbuilder-55a736e7b9f2ade9e6e97335fad6f47affff647b.tar
pbuilder-55a736e7b9f2ade9e6e97335fad6f47affff647b.tar.gz
update workaround for libc to work around bugs in initscripts.
Diffstat (limited to 'examples')
-rw-r--r--examples/E50-initscripts-2.86.ds1-7.workaround.sh16
-rw-r--r--examples/E50-libc2.3.2.ds1-11-workaround2
2 files changed, 18 insertions, 0 deletions
diff --git a/examples/E50-initscripts-2.86.ds1-7.workaround.sh b/examples/E50-initscripts-2.86.ds1-7.workaround.sh
new file mode 100644
index 0000000..195ecf3
--- /dev/null
+++ b/examples/E50-initscripts-2.86.ds1-7.workaround.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+# work around initscripts postinst which mounts /sys etc.
+# Bug: #344089
+
+set +e
+
+umount /sys
+umount /run
+umount /proc/bus/usb
+umount /dev/shm
+
+# inetd seems to be dually started after upgrade, kill it.
+# Bug: #262627
+kill -9 $(cat /var/run/inetd.pid)
+
+exit 0
diff --git a/examples/E50-libc2.3.2.ds1-11-workaround b/examples/E50-libc2.3.2.ds1-11-workaround
index 350e79a..ff4d9f8 100644
--- a/examples/E50-libc2.3.2.ds1-11-workaround
+++ b/examples/E50-libc2.3.2.ds1-11-workaround
@@ -1,5 +1,7 @@
#!/bin/sh
# work around libc6 postinst which mounts /sys etc.
+# Bug#230008
+
set +e
umount /sys
umount /proc/bus/usb