To those of you who are concerned with this message '/etc/modprobe.d is not a file', note that this message does not reflect an error. It is simply a wrongly placed and mis-worded message in function "is_module_blacklisted" in gpu-manager.c However, this does not address the situation of incorrectly loaded/unloaded modules for video card changes, which I am scanning the code for. (I am not a developer...)
The line containing this message should be deleted, AND the following line added immediately after the ' if (dry_run) {' line in the same function : fprintf(stderr, "In dry_run mode(test), therefore we are not using %s directory \n", modprobe_d_path); The resulting function code should be as follows : static bool is_module_blacklisted(const char* module) { _cleanup_free_ char *match = NULL; char command[100]; /* It will be a file if it's a test */ if (dry_run) { fprintf(stderr, "In dry_run mode(test), therefore we are not using %s directory \n", modprobe_d_path); snprintf(command, sizeof(command), "grep -G \"blacklist.*%s[[:space:]]*$\" %s", module, modprobe_d_path); if (exists_not_empty(modprobe_d_path)) match = get_output(command, NULL, NULL); } else { # fprintf(stderr, "%s is not a file\n", modprobe_d_path); snprintf(command, sizeof(command), "grep -G \"^blacklist.*%s[[:space:]]*$\" %s/*.conf", module, modprobe_d_path); match = get_output(command, NULL, NULL); } if (!match) return false; return true; } -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu. https://bugs.launchpad.net/bugs/1369216 Title: gpu-manager: /etc/modprobe.d is not a file Status in ubuntu-drivers-common package in Ubuntu: Confirmed Bug description: Get these lines logged into gpu-manager.log, on that fresh stock installation /etc/modprobe.d is not a file update-alternatives: error: no alternatives for x86_64-linux-gnu_gfxcore_conf ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: upstart 1.13.2-0ubuntu1 ProcVersionSignature: Ubuntu 3.16.0-14.20-generic 3.16.2 Uname: Linux 3.16.0-14-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.7-0ubuntu2 Architecture: amd64 CurrentDesktop: GNOME Date: Sun Sep 14 08:42:45 2014 ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.16.0-14-generic root=UUID=7c755ed6-51cc-4b75-88ac-9c75acf82749 ro SourcePackage: upstart UpgradeStatus: No upgrade log present (probably fresh install) UpstartBugCategory: System UpstartRunningSessionVersion: upstart 1.13.2 UpstartRunningSystemVersion: init (upstart 1.13.2) modified.conffile..etc.default.whoopsie: [modified] modified.conffile..etc.gdm.Init.Default: [modified] mtime.conffile..etc.default.whoopsie: 2014-08-29T19:12:47.435075 mtime.conffile..etc.gdm.Init.Default: 2014-09-07T17:01:23.246055 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1369216/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp