Mageia Bugzilla – Attachment 4063 Details for
Bug 9236
X server should possibly run modprobe with -b option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
use modprobe -b
9236.diff (text/plain), 720 bytes, created by
Thierry Vignaud
on 2013-05-28 22:39:18 CEST
(
hide
)
Description:
use modprobe -b
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2013-05-28 22:39:18 CEST
Size:
720 bytes
patch
obsolete
>diff -up ./hw/xfree86/os-support/linux/lnx_kmod.c.tv ./hw/xfree86/os-support/linux/lnx_kmod.c >--- ./hw/xfree86/os-support/linux/lnx_kmod.c.tv 2013-05-28 22:38:03.869851128 +0200 >+++ ./hw/xfree86/os-support/linux/lnx_kmod.c 2013-05-28 22:38:04.852925945 +0200 >@@ -76,7 +76,7 @@ xf86LoadKernelModule(const char *modName > "Setting of real/effective user Id to 0/0 failed"); > } > setenv("PATH", "/sbin", 1); >- n = execl(mpPath, "modprobe", modName, NULL); >+ n = execl(mpPath, "modprobe", "-b", modName, NULL); > xf86Msg(X_WARNING, "LoadKernelModule %s\n", strerror(errno)); > exit(EXIT_FAILURE); /* if we get here the child's exec failed */ > break;
diff -up ./hw/xfree86/os-support/linux/lnx_kmod.c.tv ./hw/xfree86/os-support/linux/lnx_kmod.c --- ./hw/xfree86/os-support/linux/lnx_kmod.c.tv 2013-05-28 22:38:03.869851128 +0200 +++ ./hw/xfree86/os-support/linux/lnx_kmod.c 2013-05-28 22:38:04.852925945 +0200 @@ -76,7 +76,7 @@ xf86LoadKernelModule(const char *modName "Setting of real/effective user Id to 0/0 failed"); } setenv("PATH", "/sbin", 1); - n = execl(mpPath, "modprobe", modName, NULL); + n = execl(mpPath, "modprobe", "-b", modName, NULL); xf86Msg(X_WARNING, "LoadKernelModule %s\n", strerror(errno)); exit(EXIT_FAILURE); /* if we get here the child's exec failed */ break;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9236
: 4063