Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109361 - uptimed needs updating to work nice with all kernels.
Summary: uptimed needs updating to work nice with all kernels.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aaron Walker (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-15 05:55 UTC by Redeeman
Modified: 2005-10-17 04:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix error (uptimed-syslength.diff,917 bytes, patch)
2005-10-15 05:57 UTC, Redeeman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Redeeman 2005-10-15 05:55:58 UTC
the kernel string's max size in uptimed is 24 characters, which isnt enough 
for the full kernel version string of all kernels.. 

Reproducible: Always
Steps to Reproduce:
1. install 
2. start 
3. run uprecords 
 
Actual Results:  
shows some of the kernel version 

Expected Results:  
show all of kernel version 

well.. very easy fix..
Comment 1 Redeeman 2005-10-15 05:57:11 UTC
Created attachment 70726 [details, diff]
patch to fix error

updates it to 32 characters max, and updates uprecords.. should be suffecient
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-10-15 18:48:41 UTC
Unless you figure out a way to keep it 80 columns are shorter (current is 79),
this is a no go.  Re-open if you do.
Comment 3 Redeeman 2005-10-16 14:52:03 UTC
i really hadnt thought of this, i use ssh to my server, and can easily view 
it. 
 
would it be acceptable if i made it still store a long kernel name, and then 
just make uprecords cut off the extra kernel name unless a parameter is given, 
to allow it to be wider than 80 columns? 
Comment 4 Aaron Walker (RETIRED) gentoo-dev 2005-10-17 04:40:45 UTC
As long as it defaults to how it is currently done, I don't really see a problem
with it.  Maybe add a --maxcols option or something along those lines?