LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sysdig reports dkms.conf file doesn't exist, but manual search clearly finds the config file (https://www.linuxquestions.org/questions/linux-newbie-8/sysdig-reports-dkms-conf-file-doesnt-exist-but-manual-search-clearly-finds-the-config-file-4175608296/)

WFV 06-21-2017 01:16 AM

sysdig reports dkms.conf file doesn't exist, but manual search clearly finds the config file
 
This error appeared when updating kernel today, but the config file does exist and in the location where it should. What does this mean?
Code:

# dkms status
sysdig, 0.16.0, 4.11.6-1-ARCH, x86_64: installedError! Could not locate dkms.conf file.
File:  does not exist.

Code:

# ~src/sysdig-0.16.0 % ls -l
total 488
-rw-r--r-- 1 root root    141 May 15 01:22 dkms.conf

the file contains the correct information,
Code:

# nano dkms.conf
PACKAGE_NAME="sysdig"
PACKAGE_VERSION="0.16.0"
BUILT_MODULE_NAME[0]="sysdig-probe"
DEST_MODULE_LOCATION[0]="/kernel/extra"
AUTOINSTALL="yes"

but does fail when pacman tries to run hooks for the new kernel however, manually running mkinitcpio succeeds.

AwesomeMachine 06-21-2017 02:07 PM

Well, it might be looking somewhere else for dkms.conf.

WFV 06-21-2017 11:01 PM

Quote:

Originally Posted by AwesomeMachine (Post 5725291)
Well, it might be looking somewhere else for dkms.conf.

Thanks AwesomMachine! right, and i too was looking elsewhere, "dkms.conf does not exist" turned up a lot of googles, this old ubuntu bug solves it. Just some house cleaning
Code:

rm -rf /var/lib/dkms/vboxhost
as those VirtualBox modules exist elsewhere and do install correctly. Now dkms status is clean :)
Code:

% dkms status
sysdig, 0.16.0, 4.11.6-1-ARCH, x86_64: installed
sysdig, 0.16.0, 4.9.33-1-lts, x86_64: installed

the old vboxhost stuff was the culprit, sysdig is good now. As others mentioned in that bug, kind of an obscure message, but a little search with the right information more than makes up for the message.

syg00 06-21-2017 11:06 PM

Thanks for raising this - time I looked at sysdig.


All times are GMT -5. The time now is 12:17 PM.