diff options
-rw-r--r-- | mdk-stage1/NEWS | 3 | ||||
-rw-r--r-- | mdk-stage1/init.c | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS index 6d8399e30..d6c2cdf34 100644 --- a/mdk-stage1/NEWS +++ b/mdk-stage1/NEWS @@ -1,3 +1,6 @@ +- mount again debugfs for ldetect (mga#14435) + (regression in 1.83) + 2.12 - recognize new kernel-3.19 drivers diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index 920cffc45..dad02f399 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -482,6 +482,12 @@ int main(int argc, char **argv) printf("*** TESTING MODE *** (pid is %d)\n", getpid()); + // needed for drakx: + if (!testing) + if (mount("none", "/sys/kernel/debug", "debugfs", MS_NOSUID, "mode=0755")) + fatal_error("Unable to mount debugfs filesystem"); + + /* ignore Control-C and keyboard stop signals */ signal(SIGINT, SIG_IGN); signal(SIGTSTP, SIG_IGN); |