Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 76619

Summary: freevo needs RTC support in kernel
Product: Gentoo Linux Reporter: Pasi Sakala <lemonade>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: VERIFIED NEEDINFO    
Severity: minor CC: media-tv
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pasi Sakala 2005-01-04 03:48:35 UTC
/etc/init.d/freevo -script assumes that kernel does have rtc-module loaded. If it's not loaded script will stop working without any error messages in check-part. Some sort of information to add rtc to kernel would be better than nothing.

Reproducible: Always
Steps to Reproduce:
1. run /etc/init.d/freevo webserver start or any other commands
2.
3.

Actual Results:  
Script didn't start any services-

Expected Results:  
Start services that I requested.
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2006-07-30 21:09:48 UTC
Is this still an issue in the latest version of freevo?
Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2006-09-02 11:41:16 UTC
This(In reply to comment #1)
> Is this still an issue in the latest version of freevo?

Yes, since this is not an issue of freevo, but of the init-script.
As Pasi pointed out, the problem is the file /etc/init.d/freevo (line 19):
sysctl -w dev.rtc.max-user-freq=1024 &> /dev/null

When you do not have RTC compiled into your kernel, the sysctl fails:
# sysctl -w dev.rtc.max-user-freq=1024
error: "dev.rtc.max-user-freq" is an unknown key

I do not know why the script wants to set this value anyway, but freevo *does* work without RTC support (I do this for years) and it is a pretty easy bugfix since (my) sysctl has an option -e to ignore unknown keys. Changing the above line as follows fixes the bug for me:

sysctl -e -w dev.rtc.max-user-freq=1024 &> /dev/null