Package Details: modprobed-db 2.44-1

Git Clone URL: https://aur.archlinux.org/modprobed-db.git (read-only, click to copy)
Package Base: modprobed-db
Description: Keeps track of EVERY kernel module ever used - useful for make localmodconfig
Upstream URL: https://wiki.archlinux.org/index.php/Modprobed-db
Licenses: MIT
Conflicts: modprobed_db
Replaces: modprobed_db
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 223
Popularity: 2.12
First Submitted: 2013-11-15 22:21
Last Updated: 2020-07-05 20:06

Dependencies (2)

Required by (12)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

jayflo commented on 2013-11-26 20:21

This seems to work.

~ # USER=$(whoami)
~ # echo $USER
jayflo

jayflo commented on 2013-11-26 20:19

whoami outputs my login name!

graysky commented on 2013-11-26 19:55

OK... what is the output of:

$ whoami

jayflo commented on 2013-11-26 19:32

> /usr/bin/modprobed-db
logname: no login name
------------------------------------------------------------
No config file found so creating a fresh one in:
/root
/bin
/sbin
/var/spool/mail
/srv/ftp
/srv/http
/
/
/
/home/maxheap
/
/
/
//.config/modprobed-db.conf

Consult the man page for setup instructions.
/usr/bin/modprobed-db: line 43: $CFG_FILE: ambiguous redirect
------------------------------------------------------------

*Note that it does not create the ~/.config/modprobed-db file

jayflo commented on 2013-11-26 19:31

> /usr/bin/modprobed-db
logname: no login name
------------------------------------------------------------
No config file found so creating a fresh one in:
/root
/bin
/sbin
/var/spool/mail
/srv/ftp
/srv/http
/
/
/
/home/maxheap
/
/
/
//.config/modprobed-db.conf

Consult the man page for setup instructions.
/usr/bin/modprobed-db: line 43: $CFG_FILE: ambiguous redirect
------------------------------------------------------------

graysky commented on 2013-11-26 19:28

For me, /etc/utmp does not exist either... just so I know how to construct the check, please use the virgin script (i.e. without your modifications) and post the exact output of you calling the script.

Thanks!

jayflo commented on 2013-11-26 19:23

looks like it reads the login name from /etc/utmp. This file currently does not exist for me.

jayflo commented on 2013-11-26 19:19

I am running arch. I use the -zen kernel...I'm not sure if that makes a difference. What sets the login name to begin with? I've unsuccessfully try to solve the in the past...

graysky commented on 2013-11-26 19:16

@jayflo - That is bizarre. Are you running Arch or another distro? I think I can write an override in the config file for you wherein you can specify the username. This is better than you modifying the script itself.

jayflo commented on 2013-11-26 19:14

> logname
logname: no login name
>echo $?
1

As a temporary fix, I just modified the /usr/bin/modprobed-db script and replaced `$(logname)` with my login name. It works well...if I don't figure out whats wrong then I'll just have to remember to update it.