Re: FC10 and RedHat NTFS file format compatibility

2009-12-03 Thread Todd Denniston

Daniel J Celta wrote, On 3 Dec 2009 17:45:33 -0600:
Ok I got 
it...  My appologies



Sent from my iPhone
Daniel J Celta



Is it possible to convince those phones to bottom post?



On Dec 3, 2009, at 5:32 PM, Kevin J. Cummings 
cummi...@kjchome.homeip.net wrote:



On 12/03/2009 06:29 PM, Daniel J Celta wrote:

David,
Maybe the problem is Red Hat  Not sure why !??
I will try FC10 tonight at home.

The error I am getting is when trying under Red Hat enterprise 5.4

Any idea why?


This is a fedora email list, not RHEL.  The answer I gave was for F10.
The RPMs you want exist in updates and fedora repos


However there are some Fedora folks who like RHEL too:
http://fedoraproject.org/wiki/EPEL

#$ yum info ntfs\*|grep Repo
Repo   : epel
Repo   : epel
Repo   : epel

However, I make no guarantees on how well ntfsprogs works.
good luck.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 NFS Failures

2009-12-01 Thread Todd Denniston

John Austin wrote, On Tue, 24 Nov 2009 12:21:58 +:

On Mon, 2009-11-23 at 15:00 -0800, Rick Stevens wrote:

On 11/21/2009 10:41 AM, John Austin wrote:

On Sat, 2009-11-21 at 11:11 -0700, Greg Woods wrote:

On Sat, 2009-11-21 at 10:09 +, John Austin wrote:


When copying a large file (2.7GB) from the server to the
F12 m/c a complete freeze of the F12 machine occurs.


I haven't seen freezes, but I have seen corruption when trying to copy
large files (e.g. like a DVD iso image) via NFS. In fact, this happened
to me when I was trying to install an F12 virtual machine on my F11 box
(so I could try it out before deciding whether or not to bite the bullet
and upgrade the host OS). I copied over the DVD iso image, then tried to
install a VM from it, and it failed the media test. Sure enough, it also
failed the sha256sum test. Copying the same DVD iso file via scp instead
worked fine. I do not trust NFS for large files.

--Greg



Hi Greg

That's interesting and very worrying - surely it can't/shouldn't happen!

I have been using NFS for years for all types/sizes of files and
never had a problem until the last couple of months.

1.  The Centos/RHEL 5.3/5.4 kernel had a serious bug that has been fixed with 
the
latest kernel update

2.  Now this F12 problem

Surely a very large worldwide community uses NFS ?

OK the F12 case could be my finger trouble or even a hardware problem

I will install F12 on a second machine and test again (against the same server)

Can you verify that you run into the same issue if you run NFS over TCP
as opposed to NFS over UDP (it's an option in the mount command on the
client, use either proto=tcp or proto=udp).

By default, the system queries the server and selects a protocol based
on what's being asked of it.  See the TRANSPORT METHODS section of
man nfs.
--
- Rick Stevens, Systems Engineer  ri...@nerd.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-   The Theory of Rapitivity: E=MC Hammer-
-  -- Glenn Marcus (via TopFive.com) -
--



Hi Rick

Many thanks for the reply - you have found a work-around !!

Just tested my machine with UDP and TCP
This was using md5sum for about 10GB over the NFS mount

1. The default for F12/Centos5.4 appears to be TCP - which freezes
2. Forcing UDP gives NO errors for 10GB transfer
3. Forcing TCP gives a freeze

Having briefly read the man pages this is the opposite of what I would
expect and of what you suggest !!

There must be a timing problem somewhere - 


Please see the other thread Sky2 NIC Problem? - Was F12 NFS Failures
for other tests I have carried out

Regards

John






what are your other mount options?
having seen the Sky2 NIC Problem message, your card/driver may be having issues, but some nfs 
options may help/hurt.


I am assuming that you only have 'hard' and not 'hard,intr' as options to the 
mount.
And for transferring large files over NFS, I have had experiences that say stay 
away from 'soft' NFS.

it is interesting that TCP nfs locks the machine and fails to copy the very large file, while UDP 
succeeds in copying the same file with the same device/drver. BTW when you say that UDP gave no 
errors, do you mean that from the user program perspective (cp, and then sha256sum) there were no 
errors, or that from both the user and syslog perspective there were no errors? I am wondering if 
you have found a place where the UDP code deals with a bad packet correctly and the TCP version has 
not seen enough (bad environment) testing. Wouldn't happen to have a serial cable around so you can 
capture where the kernel goes bonkers at would you? (note, never done the serial console myself.)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


LyX too complex? ... Re: Automatic page numbering in OpenOffice

2009-09-14 Thread Todd Denniston

Fernando Cassia wrote, On 12/23/-28158 02:59 PM:

On Sat, Sep 12, 2009 at 1:46 PM, Hiisi very-c...@rambler.ru wrote:

From: Fernando Cassia fcas...@gmail.com
On Sat, Sep 12, 2009 at 4:03 AM, Hiisi very-c...@rambler.ru wrote:

If you just want to create quality looking documents and you want it
easy try LyX. It's TeX based document processor

ROFL!! You could also tell him to use vi and type postscript by hand.

Someone is complaining that he finds OpenOffice hard to use and you
refer him to even more obscure applications that only math freaks
love...

FC



I'm not freak. I have a lot of complexes but not a complex of idiot.
...

...
However I am heavily against forcing users to adapt to complex
applications with user-hostile interfaces in the age of modern,
user-friendly apps like OpenOffice.

FC


I should probably let it go... And this does not even attempt to answer the OPs question of how to 
do the thing in OOo...
FC, what is your favorite Word Processing program? (some how I get the feeling that you have at 
least dabbled in other WPs than word a-likes, and I am curious.)
* LyX, Complex as compared to Word/OOo? As long as I am only changing the font size and color, 
Word/OOo MIGHT win.

* I am not a math person.
* I have given up on trying to write anything other than the big (32pt font) red don't open this 
door on penalty of death. signs with word or open office, because I use lists quite often (ugh, I 
am even doing it here :) and doing lists in word/OOo is (to me) only a path to madness (especially 
nested lists).

* have you tried LyX (lately)?

LyX is not vi, and it is not an emacs front end to TeX. Knowledge of (La)Tex is not required for 
normal things. I think that for most things a person could get to creating usable documents by 
typing the text of one of their documents in and then learning what effects choosing other than 
'Standard' in the drop down box has on each line of their text. or take the easy route and read

Help - Introduction
and
Help - Tutorial
... Total of 47 pages if a person reads them all instead of just picking the 
bits of interest.
and if only chapter 2 (7 pages) of the Tutorial was read, the AVERAGE word processor user could 
probably accomplish most of the USEFUL things they do in the average word processor fairly quickly.
Granted I also believe the _average_ word processor user does not read any manual unless some one 
makes them, and I did not read much of the LyX docs until I wanted to do some less than normal things.




BTW thanks to Rex we can `yum install lyx` and have a taste quickly.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Re: Firewall and nfs mounts

2009-08-26 Thread Todd Denniston

Anne Wilson wrote, On 12/23/-28158 02:59 PM:

On Tuesday 25 August 2009 00:16:28 Ed Greshko wrote:

Anne Wilson wrote:

On Monday 24 August 2009 15:44:20 Bill McGonigle wrote:

On 08/24/2009 08:15 AM, Anne Wilson wrote:

What ports are necessarily opened on an nfs server?  Does the client
need any ports opened?

If you can limit yourself to NFSv4 you're much better off in this
department.  I have this on an NFSv4 server:

# NFS
  -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --source
192.168.1.32/27 --dport 2049 -j ACCEPT

and nothing on a working client other than the standard:

  -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

Thanks.  That's something to work on.  Although I have had a working
firewall in the past, I'm not really familiar with iptables setup.  Since
a gui tool was provided I expected it to do the necessary (this is
system-config- securitylevels on CentOS) but it doesn't.  I used
shorewall to set up my firewall long ago, and I'm beginning to think I
might be better of seeing if there's a package for CentOS.  Gui tools
seem nice, but I don't like the fact that they rarely tell you what the
are and aren't doing.

When it comes to a shorewall package for CentOS or RHEL you can enable
the EPEL repository https://fedoraproject.org/wiki/EPEL

Thanks, Ed.  I should be able to get to that tomorrow.  The thing is that I 
only want nfs across the lan.  The router would stop any external attempts to 
use nfs mounting, so it seems to me that trusting the local zone might be all 
that's needed.  I think that is straightforward, IIRC, in shorewall.


Anne


Anne,
If you are using NFS V2/3 instead of 4 (TCP) then the following might be as useful to you as it was 
to me. :)

http://kbase.redhat.com/faq/docs/DOC-3259

Of course if you had time/inclination you would be using something other than the 1-10005 range 
where everyone will now be looking for your NFS, if they could only find a way to get past your 
router. :)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Re: Unable to kill runaway app. -

2009-08-21 Thread Todd Denniston

Rick Stevens wrote, On 12/23/-28158 02:59 PM:

Todd Denniston wrote:

Bob Goodwin wrote, On 12/23/-28158 02:59 PM:
I've added the option soft to the client /etc/fstab which may make it 
possible to interrupt things?


That is, if I have done the right thing in the right place.

Bob




Assuming that after you reboot[1], the situation is better with soft, 
I would suggest going back to hard but use the intr[2] option.

i.e.
server:/usr/local/pub/pub   nfshard,intr

I have seen soft loose data on networks that are some what loaded, 
with out even giving you any error notifications.  The probability 
seemed somewhat proportional with how many times larger the file you 
are writing is than the wsize parameter.


It's lose (as in lost) not loose (as in running wild).  
English lessons aside, 


I sometimes dislike my 'mother' tongue.


did you use TCP instead of the default UDP on that
heavily loaded network?



was not available on the server of that time (Solaris 2.6 or was it 2.5).

[1] so that the process that is currently stuck and CAN NOT be killed 
is finally terminated. :)


[2] man nfs|grep -3  EINTR
or read the man and search for intr



--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Re: Unable to kill runaway app. -

2009-08-20 Thread Todd Denniston

Bob Goodwin wrote, On 12/23/-28158 02:59 PM:
I've added the option soft to the client /etc/fstab which may make it 
possible to interrupt things?


That is, if I have done the right thing in the right place.

Bob




Assuming that after you reboot[1], the situation is better with soft, I would suggest going back to 
hard but use the intr[2] option.

i.e.
server:/usr/local/pub/pub   nfshard,intr

I have seen soft loose data on networks that are some what loaded, with out even giving you any 
error notifications.  The probability seemed somewhat proportional with how many times larger the 
file you are writing is than the wsize parameter.



[1] so that the process that is currently stuck and CAN NOT be killed is 
finally terminated. :)

[2] man nfs|grep -3  EINTR
or read the man and search for intr
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: reliable gigabit NICs for fedora?

2009-08-04 Thread Todd Denniston

Tom Horsley wrote, On 08/03/2009 09:41 PM:

I see just enough complaints about various gigabit network
adapters in various versions of linux that I'm slightly
leery of just buying whatever I can find and slapping it
in the system :-).

Anyone using gigabit (and actually using the bandwidth
too :-) who can recommend some adapters that work well
in fedora 11?

I've got PCI as well as PCIE 1x slots available (PCI
only in some systems though).



suggestion try asking on the drbd list. (or just Google the list a bit)
http://lists.linbit.com/mailman/listinfo/drbd-user

IIRC with at least some of the _earlier_ broadcoms there were issues on that list with the 
offloading functions.


Quick summary of drbd: RAID 1 across a network, i.e., have the network _try_ to keep up with the 
rate you are pushing data to a hard drive. :)


They should know what the current state with respect to the question asked.

http://www.drbd.org/users-guide/re-drbdconf.html#data-integrity
http://www.drbd.org/fileadmin/users-guide/s-integrity-check.html
http://www.google.com/#hl=enq=card+corruption+site%3Alists.linbit.com%2Fpipermail%2Fdrbd-user%2Faq=foq=aqi=fp=-Pw1cEIpNGU
http://www.drbd.org/ - nice drawing of what drbd does.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Autofs issues in F11

2009-07-28 Thread Todd Denniston

Joseph L. Casale wrote, On 07/24/2009 12:15 AM:

suggestion
# cat /etc/auto.music
music   -rw,hard,intr,rsize=8192,wsize=8192  10.0.0.4:/Music


I tried this and -rw,hard,intr with no luck. Must not be my day,
I turned to a couple rhel boxes and set up simple examples right
out of man and they aren't working either?

Bah, time for bed...
Thanks!
jlc



Joseph,
In case you still have not gotten where you want to be.
An assumption I made in my earlier reply was that the problem was in the 
options, not necessarily in other portions of the system.



A common problem with today's distributions is that we try to make them 
secure, i.e., add firewalls and do random port allocations, all of which is 
good, but it means things are not as simple as they once were (in s many 
ways).

Things to think about:
1) does
`mount -orw,hard,intr 10.0.0.4:/Music /mnt`
work?
2) does (1) work if you `service iptables stop` on the server?
3) does (1) work if you `service iptables stop` on the client?
4) does (1) work if you `service iptables stop` on the both server  client?

if you have to resort to (2), (3) or (4) then you need to look at how to 
configure NFS to work with the firewall(s).

suggested starting point:
http://kbase.redhat.com/faq/docs/DOC-3259

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: yum cleanup

2009-07-28 Thread Todd Denniston

Bill Davidsen wrote, On 07/25/2009 08:32 PM:
I have been running yum with keepcache=1 to save rpms I install. Being 
busy I seem to have gotten several versions of some packages in 
/var/cache/yum. Is there a command which will delete anything listed in 
obsoletes without losing my copy of the most recent?  I create a local 
archive of recent rpms to be nice to my network.


Using 'yum clean' does too much. :-(


repomanage -c -k 2 --old path/to/cacheOfRPMs/  removethese.txt
#and then (after sanity checking removethese.txt)
for i in `cat removethese.txt`;do rm $i;done

might get you close.
Note, AFAIK the repomanage command does NOT have to be ran against a YUM repo.

Note 2, using -k 1 keeps 1 vs -k 2 keeping 2.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Autofs issues in F11

2009-07-23 Thread Todd Denniston

Joseph L. Casale wrote, On 07/23/2009 09:20 PM:

I am having some trouble setting up an automount.

# cat /etc/auto.master |grep foo
/foo/etc/auto.music

# cat /etc/auto.music
music   -fstype=nfs,rw,soft,intr,rsize=8192,wsize=8192  10.0.0.4:/Music

# showmount 10.0.0.4 -e
Export list for 10.0.0.4:
/Music 10.0.0.0/24

# service autofs status
automount (pid 4084) is running...


/foo exists, yet it doesn't automount when accessed and messages shows nothing?

Any hints?
Thanks!
jlc



suggestion
# cat /etc/auto.music
music   -rw,hard,intr,rsize=8192,wsize=8192  10.0.0.4:/Music


afaik mount can figure out that it is an nfs mount when it sees 10.0.0.4:/Music
and soft mounts (often) silently ignore problems, hard,intr will give you 
similar enough semantics.

and does it work without the ,rsize=8192,wsize=8192 ?

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Some issues in F11

2009-06-29 Thread Todd Denniston

Bradley wrote, On 06/27/2009 06:16 AM:

On 06/26/2009 02:37 PM, Tom Horsley wrote:

On Fri, 26 Jun 2009 14:15:07 -0500
Bradley wrote:

  

*This means that /Xorg/ is WRONG! *Now, how do I force /Xorg/ to accept
the proposed display setting?
 


If you want to play the game, you'd have to download the source
rpm for the sis driver and look for the place it prints
the illegal horizontal timings message and see what data
it is really checking and where that came from and maybe find
some place that can influence it - loads of fun if you have
nothing better to do :-).

Short of that there might actually be a sis man page that
describes options you can set in xorg.conf to tell the driver
things (like maybe ignore what you imagine to be the horizontal
timing limit).
Ugh! My wife won't like to hear about me spending my time on that. But, 
if I don't have any other choice


Bradley



Another option might be submitting a bugzilla entry against Xorg to inform the 
developers that X has and should work with these settings, and thus Xorg has a 
bug.

They might already know which line to change. :)

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Kernel update broke my system.

2009-06-05 Thread Todd Denniston

Smith, Herb wrote, On 05/29/2009 02:27 PM:

Can't boot into anything when all you get is the GRUB_ prompt.  Wrote to
the help me list to figure out what to do to get my system back.  Once I
get it back I'll be able to try a lot of different things.  From the
respones of some, it seems that it's an issue with GRUB, but it's
unclear that there is an underlying kernel issue or not.  It would seem
that the kernel might be ok, but just that GRUB got hosed in the update
process. 



Which is why I am still curious ...
On an installed system, WHY do we need to reinstall _grub_ when there is a 
kernel UPDATE?

https://www.redhat.com/archives/fedora-test-list/2008-October/msg01189.html
https://bugzilla.redhat.com/show_bug.cgi?id=432555
https://bugzilla.redhat.com/show_bug.cgi?id=472829
https://bugzilla.redhat.com/show_bug.cgi?id=450143

Yes there may be/probably is a problem with grub or the grub reinstall 
process, but to what purpose (besides to keep this set of bugs open) is grub 
being reinstalled for a kernel update.

What is the problem that reinstalling grub with kernel updates is solving?
Granted I am assuming that it is something other than the kernel maintainer is 
just too lazy to remove the grub reinstall calls from either the kernel spec 
file or /sbin/new-kernel-pkg.




Yes, I do realize that the previous kernel is still there, but was also
curious as to what could cause this.  It appears, from the lack of
traffic on the topic that not many have had this issue.  Wondered if it
was a hiccup in the download process that caused an install to go bad,
or if there was something unique to my system that caused it to go
bad...  


Sorry for trying to understand...

Herb Smith


-Original Message-
From: David [mailto:dgbo...@comcast.net] 
Sent: Friday, May 29, 2009 12:49 PM

To: Community assistance, encouragement,and advice for using Fedora.
Subject: Re: Kernel update broke my system.

On 5/29/2009 1:16 PM, David Burns wrote:
Is there a way to test whether my system has this problem 

without rebooting?

Dave


the Updater is doing that job, and it nuked my system too.


You do realize that the kernel that was running when you did 
the update is still installed? This one that broke my 
system.. This one that nuked my system too.. And that you 
can boot into it instead of this new one?


Why don't you do that and report this kernel problem to 
bugzilla? That would surely get the attention of the kernel 
maintainers more effectively than post to a general 'help me' list.


--



--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Frustration with F10/KDE

2009-05-22 Thread Todd Denniston

Clemens Eisserer wrote, On 05/22/2009 07:50 AM:

crash of what?  details?

Plasma of course.

I already filed a bug with a complete stack-trace.
Like I did with all the other crashes I've reported with a full
stack-trace, which haven't been looked at. (Except for the first-level
guys sorting dups out).

- Clemens


and it is bugzilla # what, so that we all know WHICH of the stack traces are 
relevant to this thread?


Thanks.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: How To Create /home on a Network Drive

2009-05-14 Thread Todd Denniston

Anthony Messina wrote, On 05/10/2009 02:39 AM:
no, you're right about that, but i was thinking about this yesterday too.  how 
does one use their linux laptop like some of the coporate folks use their 
windows laptops?  when they're at the office, they use the profile on the 
server; when they're away, they use the roaming copy of the profile.


does such a thing exist for us?  i got to thinking about some crazy rsync 
script that would run just before disconnecting and right after reconnecting 
to the home network, but that's a kludge.


anyone doing something like the linux road warrior?


Another (probably) crazy solution might be coda
http://www.coda.cs.cmu.edu/
http://www.coda.cs.cmu.edu/misc/stability.html
http://www.coda.cs.cmu.edu/maillists/coda-announce/0083.html
I have not used it yet, but it has always looked neat.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Setting up CVS repository and avoiding Selinux issues?

2009-04-29 Thread Todd Denniston

Daniel B. Thurman wrote, On 04/28/2009 10:07 PM:



I am trying to get my CVS repository setup.  Apparently,
it appears that the repository must be in the root directory,
otherwise I get selinux permission denials.

What I tried to do initially was to locate the repository
on a NTFS filesystem for which the context is fusefs
which could not be changed, no matter what I tried.
I got selinux permission errors.



using a non Unix file system on a Unix system for your CVS repo will likely 
cause much hate and discontent while trying to manage permissions.



Giving that up, I moved the repository to a ext3 filesystem
located on a separate drive/partition, mounted on /f-App1,
where the repository is located @ /f-App1/Develop/cvs, and did:

cd /f-App1/Develop/
chown -R cvs:cvs cvs
chcon -R -t cvs_data_t cvs
find cvs -type d -exec chmod 755 {} \;
find cvs -type t -exec chmod 754 {} \;
ln -s /f-App1/Develop/cvs /cvs



Are you looking to use :pserver: here?  Have you considered ssh?


and I got selinux complaining that the files are not /cvs rooted.



Can you give the ACTUAL error(s) from selinux  CVS?


So I did:

cp -a /f-App1/Develop/cvs  /cvs1
rm -f /cvs
ln -s /cvs1 /cvs

And it worked.

How can I place my repository in a non-rooted, non-standard
repository location and avoid the selinux complaints?



I am interested, because I maintain CVS repos on older systems that will 
probably migrate when RHEL 6 comes out, but Dan Walsh's blog site is not 
accessible.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: PCSCD failure

2009-04-27 Thread Todd Denniston

john wendel wrote, On 04/24/2009 11:11 AM:


I'm trying to use a smart card reader, without any luck. I've installed 
pcscd and whatever else yum pilled in and have 2 new services running 
(pcscd and ???). The system log shows the following failure to setup the 
device. I'm stuck.


Any clues appreciated.

Thanks,

John

Apr 22 13:50:58 Godzilla1 pcscd: pcscdaemon.c:498:main() pcsc-lite
1.4.102 daemon ready.
Apr 22 13:50:59 Godzilla1 pcscd: hotplug_libhal.c:342:HPAddDevice()
Adding USB device: usb_device_9c3_8_50108525_if0
Apr 22 13:51:00 Godzilla1 pcscd:
readerfactory.c:1082:RFInitializeReader() Attempting startup of
ActivCard USB Reader 2.0 00 00 using
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so


it looks like you have a ActivCard USB Reader V2,
http://pcsclite.alioth.debian.org/iManufacturer.html
with usb product id 0x0008
http://pcsclite.alioth.debian.org/unsupported.html#0x09C30x0008

Some folks have had luck upgrading the firmware on SOME instances of that 
hardware with the latest firmware from SCM for the SCR-331.

see http://lists.drizzle.com/pipermail/muscle/
If it works then you now have a reader that acts like a
http://pcsclite.alioth.debian.org/supported.html#0x04E60xE001

if it don't work I suspect you have a very light paperweight at the end, and 
then again, that is pretty much what you got now.


Before buying later I would suggest looking more at the pcsclite lists:
http://pcsclite.alioth.debian.org/supported.html
http://pcsclite.alioth.debian.org/section.html

Good luck.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: File server

2009-04-22 Thread Todd Denniston

Arun Shrimali wrote, On 04/22/2009 06:19 AM:

Dear All,

I am planning to set up a server with the following features :

1.File server where users can save their critical data, in their home directory
2.Space allocation for individual user on server (quota for home directory).
3.Users could change their own user password.
4.Client (PC and User) should authenticate from centralized location.
5.No other user / PC should allow to patch in the network.
6.Should work for Windows and Linux clients both.
7.Restrict users to load unwanted software and play with desktops /
screen savers and other files (may be through login script).
8.Centrally updation of antivirus patches (for windows users).
9.Monitor the users and their activity.
10.Authenticate for Squid proxy server also.
11.Should able to chat through lin/win popup

Can anybody suggest me which directory server (and combination) would
be suitable for me.
As I am new to the Linux, it should be a bit user friendly also

regards

Arun



Something I don't see you having in your features/requirements that you should 
be asking yourself:

12.how long do I plan on having this machine in service?
   * if the answer is less than 14 months (until ~July 2010), fedora 11 could 
be a good distro for you[1].
   * if the answer is more on the order of until ~late March 2014, you should 
probably look at RedHat Enterprise Linux[2a], CentOS[2b], or one of the other 
Long Term Support (LTS) distros.
   * if you need an LTS distro, but some of the features you want require 
fedora 11, you should probably be considering (assuming RHEL 6 follows F11 
fairly closely) how and when you could do a cut over from using F11 to 
RHEL/CentOS6 [3].


[1] http://fedoraproject.org/wiki/End_of_life
   http://fedoraproject.org/wiki/LifeCycle
   http://fedoraproject.org/wiki/Releases/11/Schedule

[2a] http://www.redhat.com/security/updates/errata/
[2b] 
http://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d


[3] Oh great and powerful oracle fedora-list, is it possible to do an 
'upgrade' and go from a fedora to an RHEL, and remain sane, with out the 
upgrade being a backup data, wipe and install+restore data? Anyone done it? 
howto URLs?


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: who can introduce me some good redhat linux book and download links

2009-04-21 Thread Todd Denniston

Nathan Huang wrote, On 04/19/2009 12:57 PM:

Hi guys
I am new fan in fedora redhat linux, I am intereted in linux and network 
administration, who can introduce me some execellent ebook, so that I 
can learn linux systematically.

thanks in advance
nathan



It is not an E book, and it is becoming a bit dated (when compared to Fedora, 
but matches up fair with RHEL), but it gives a well rounded look at doing 
Linux system admin and gets you ready for the Linux+ test[1] to boot:


Linux+ Study Guide, 3rd Edition (XKO-002)
by Roderick W. Smith (Author)
# Paperback: 592 pages
# Publisher: Sybex; 3 edition (February 9, 2005)
# Language: English
# ISBN-10: 078214389X
# ISBN-13: 978-0782143898
http://www.amazon.com/Linux-Study-Guide-3rd-XKO-002/dp/078214389X/ref=sr_11_1?ie=UTF8qid=1197930323sr=11-1

I expect a new book will need to come out sometime shortly as CompTIA is 
preparing to update the test to version XK1-003 [2]


[1] http://certification.comptia.org/linux/
[2] http://certification.comptia.org/linux/betainfo.aspx

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 9 and Suse 11.0 ssh do not work together

2009-04-21 Thread Todd Denniston

Dave Feustel wrote, On 04/20/2009 06:32 PM:

I am running 32-bit fedora 9 and 64-bit Suse 11.0 and 64-bit OpenBSD 4.4
on a local net. Ssh does not work between F9 and Suse 11.0. Ssh
from f9 to Suse times out. An ssh connection from Suse to F9 is refused
by F9. Ssh from F9 to OpenBSD works. Ssh from OpenBSD to Suse times out
at login. SSh from OpenBSD to F9 is denied (publickey,gssapi-with-mic).

I was surprised that these 3 system do not talk to each other with their
default config files. Is there a common set of config files with which
all ssh connections work?

Thanks.



Is there a firewall installed on the SUSE machine?
Is the firewall setup to pass SSH?

Are you sure you get (publickey,gssapi-with-mic) when going from BSD to F9?
Because this message would indicate that you are not using the default config 
file on F9, it would also indicate that the F9 firewall is not blocking 
incoming SSH connections, but you should be getting the same message when 
going from SUSE to F9.



BTW (publickey,gssapi-with-mic) means that the sshd on the machine being 
connected TO has been configured to only allow connections authenticated with 
one of publickey or gssapi-with-mic methods.


Also by default Fedora, and probably other distros, usually setup their 
firewalls to block connections to all privileged ports and allow the 
administrator to pick which ports they want to have open, so the install is 
more secure from the start.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: /var/log/messages is empty

2009-04-20 Thread Todd Denniston

Mikkel L. Ellertson wrote, On 04/19/2009 08:53 PM:

Geoffrey Leach wrote:

On 04/19/2009 02:29:38 PM, Joseph L. Casale wrote:
logrotate moves /var/log/messages to /var/log/messages-todaysdate 
once

in a
while.


Thanks, but that's not the problem. I've got several rotated logs
with 

content, and one without.

I think you may have missed the point: If logrotate swapped it,
and nothing new has been logged, it could be empty.

# logger Foo
# tail /var/log/messages

What you get?

r...@pvr[7]-logger Foo
r...@pvr[8]-tail /var/log/messages
r...@pvr[9]-


It sounds like the log file may have been deleted/recreated without
rsyslog being restarted. Try running service rsyslog reload or
service rsyslog restart and see if that helps. It is possible for
a process to keep writing to a file it had open, even if the file
has ben deleter.

Mikkel



Which fedora?
I have seen a symptom like this before.
suggestion, check to see how many sysloger's you have...
rpm -qa |grep syslog
https://bugzilla.redhat.com/show_bug.cgi?id=441664

Though I think Peter fixed it so they should work together now (at least for 
F10).

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Web of Trust (a revolution)

2009-03-30 Thread Todd Denniston

Tim wrote, On 03/30/2009 12:51 PM:

That sort of decision would be based on popularity (a problem you'd like
to see overcome, and could be overcome, given enough of a push, but
whether we have the numbers is another matter), and whether the
certificate authority is effective enough to support (i.e. why add any
root certificate that proves very little).

Then there's trying to convince organisations to use less trust worthy
root certificates.  Who wants their service to be flagged by web
browsers as encrypted but a bit risky?

It's perceptual, and ignoring the fact that existing, apparently better
certificates, are currently used by some services that don't prove who
they are any better than the lesser known root certificates.  But that's
the point of certificates - how things *look* to the casual observer.



It is too bad we can't (as currently implemented) take a slightly less brutal 
tact than Mr. Wolff has suggested.


i.e., sure all the root CA's that the browser producers want to include can 
come in, but they should have trust DBs that allow each user to tick:
* Never trust this key. (and by extension anything it has signed. Perhaps with 
a pop up indicating 'the sig is ok, according to bla, but bla is a known idiot.')
* Marginal trust. (pop up something saying 'the sig is ok, according to bla, 
but you are uncomfortable with bla.')

* Fully trust. (operate as CA's in web browsers since they started getting 
CA's.)

And by default (as released by the browser producers) the keys should be set 
to either Never or Marginal.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Efficient Create Swap File?

2009-03-27 Thread Todd Denniston

Mike McCarty wrote, On 03/27/2009 04:01 PM:

I've seen various recommendations for adding swap files after
system creation, and it occurs to me that the standard technique
may not be the most efficient. I realize that one rarely creates
swap files, but nonetheless on occasion one needs to precreate
some file or other, then do something to it, like mkfs etc.

Anyway, mostly trying to improve my general knowledge of
how best to use the abilities of the system, and my understanding
of the relative merits of doing things one way vs. another,
not trying to speed up rarely performed procedures.

The standard technique is to do something like

$ dd if=/dev/zero of=/path/to/new/file bs=1024 count=524288
$ mkswap /path/to/new/file

to create a 512MB file. The second command may be different,
depending upon the circumstances, but the technique remains
the same. In effect, the new file gets written twice.

It occurs to me that one could, instead, do

$ dd if=/dev/zero of=/path/to/new/file bs=1M seek=511 count=1
$ mkswap /path/to/new/file

and have the same results, requiring only writing the file
once.


SNIP


My guess is that when the swap file with a hole first gets used, there
will be a long(ish?) pause while some part or parts of the sparse file
get filled in. This is not so good for a swap file, but when one
is actually going to rewrite most of the file anyway, and is only
using the file itself as more or less an indicator of the size, then
it might make sense.

Comments?

Mike


This brings up a question for me...
If using the first method, while in use or during the mkswap command, does the 
 bits written to the file end up at the same physical locations as the 0s 
they are replacing?
if they do, then the first method on a disk that is not fragmented, would give 
you a contiguous swap space.

if they don't, then like you say, what is the point of writing all the 0s to 
disk?

So then do we have to think about our file systems?
msdos/vfat would write to the same locations I think.
ext2 would write to the same locations I think.
ext3 without journaling, would write to the same locations I think.???
ext3 with journaling, pathology???
ext4 with/without journaling, I have not used or read about.???
riser???
others???



--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: OS hiccups

2009-03-23 Thread Todd Denniston

Smith, Herb wrote, On 03/23/2009 11:07 AM:

All,

I'm running Fedora 10 and have been very happy with it.  Within the last
week, however, the OS seems to be experiencing momentary hangups of
some sort where all activity stops for 10 or 15 seconds.  The cursor
won't move, web pages won't scroll, etc.  This occurs not only in
Firefox, but generally regardless of what I'm doing. 


Does anyone have any idea what could be causing this?



Home directory on NFS/SAMBA/AFS/other network file system?

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Maple on Fedora

2009-03-20 Thread Todd Denniston

Dave Feustel wrote, On 03/20/2009 04:47 PM:

On Fri, Mar 20, 2009 at 11:41:17PM +0300, Hiisi wrote:

Has anyone experience using Maple on Fedora?
Any comments?

Thanks.

Maple is not open source (free). It was main argument for me to choose  
another symbolic arithmetic program - maxima ( maxima.sourceforge.net ).  
It's brilliant.

--
Hiisi.


I have Maxima, but no hard copy manual. I am looking for a company to
publish the manual as a book to make it easier to read.



Is the Maxima documentation in PDF, or do you know how to get it into that 
state?
http://www.google.com/search?hl=enq=printing.services++pdfbtnG=Search
http://fedex.com/us/office/copyprint/copy/digital_printing.html?lid=Learnmore_printcopyfinish_digitalprinting
http://www.rushprintingservices.com/
http://www.printrunner.com/
...

I am not saying it's cheap, just available.


Also had you noticed:
http://en.wikipedia.org/wiki/Comparison_of_computer_algebra_systems
...wow, it's been a while since I looked for these things, I did not realize 
there were so many open source ones.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: new thing to make people turn crazy

2009-03-17 Thread Todd Denniston

François Patte wrote, On 03/17/2009 04:08 PM:


Bonsoir,

I plugged an usb drive on my computer and, instead of being mounted as
usual, a popup window opened claiming that some application was trying
to mount a device and... I had to enter the root password!!!

What's this mess?

The story is not finished: I discovered a config tool for this in
SystemPrefssystempermission which run the polkit-gnome-authorization.

*As a simple user*, not root, I found a line:

mount file systems from removable drive for which the permission is
set, by default, to: No for everybody.

*as simple user* (again), I changed this permission to yes for everybody

I am wondering what is the meaning of this: either it is something that
everybody can do and no tool is needed, or it is important that only
root can modify some system wide config and, in that case this tool is a
nonsense.




You might also enjoy following this thread:
https://www.redhat.com/archives/fedora-test-list/2009-March/msg00934.html
and these bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=489397
https://bugzilla.redhat.com/show_bug.cgi?id=450304

which discuss some interesting things about PolicyKit and DeviceKit.

Hopefully the reason you could change the mount file systems from removable 
drive permissions was because you first entered the root password for the 
first popup, if however it was not then please open a bug describing that 
problem.  it would be new but related to 450304.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: removing autorun from a flash drive

2009-03-10 Thread Todd Denniston

Bruno Wolff III wrote, On 03/10/2009 05:34 PM:

On Tue, Mar 10, 2009 at 14:38:54 -0500,
  Aaron Konstam akons...@sbcglobal.net wrote:

Well I may be misleading you. I had to do some removal of software when
I originally bought the device. It would not load on Fedora so I removed
some software under XP. Then it would appear in Fedora but still had
some U3 stiff remaining. That is what I removed on my Fedora machine.
Sorry I forgot what I had done originally.


Repartitioning the raw device would probably work. You would then create
a filesystem on the partition.



No, if you repartition the device, you wipe out the ability for the U3 removal 
tool to work, but the fake CD remains IIRC.



DON'T delete the partitions until after removing the tool!

Can I remove U3 technology from my USB drive?
http://www.sandisk.com/Retail/Default.aspx?CatID=1450#Q13
or U3 Launchpad Removal Tool
http://www.sandisk.com/Retail/Default.aspx?CatID=1415

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Label Program reccomendations ??

2009-03-10 Thread Todd Denniston

Tim wrote, On 03/10/2009 12:50 PM:

It all became too much of a pain...  I could, about 80% of the time, get
labels to go through one of my old inkjets, before it died.  But, it
didn't always print in the same place (vertical-wise).  And, thanks to
programming idiots who play silly games with DPI, it was impossible to
print where I wanted.

i.e. On my much older computer and printer, if I said a box started 12
cm down, and 5 cm across, was 3 cm high and 5 cm wide, then it printed
exactly as I specified.

On the newer gear, where it threw away standards, and turned them into
arbitrary unspecified figures, I had to waste paper doing test prints
and making tiny unpredictable adjustments, to get things to print right.

I really hate pinheads who stuff things up until it *seems* to work for
them, without understanding what they're doing.  It stuffs things up for
everyone *else* in an unmanageable way.



Are you speaking of gimp/gutenprint?

IIRC after I had a few discussions with Robert about why my postscript circles 
were coming out as ellipses, he included an option in the new gutenprints so 
that you could turn off the 'shrink to fit'.


It might be better for you now, if you go toggle that option in CUPS.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: How to re-lock ssh private key?

2009-03-03 Thread Todd Denniston

Robert Nichols wrote, On 03/03/2009 02:29 PM:

Todd Zullinger wrote:

Robert Nichols wrote:

The process at the other end of $SSH_AUTH_SOCK is
gnome-keyring-daemon -d -login.  That process gets created when I
log in.  Killing it doesn't strike me as a good idea.  Indeed, other
keyring related stuff breaks if I do that.


You can tell the keyring daemon not to provide ssh-agent services.
Perhaps doing that and using the ssh-agent from openssh (which I
believe is still started automatically if no agent is running
already).

To disable ssh services in gnome-keyring-daemon:

gconftool-2 --set -t bool /apps/gnome-keyring/daemon-components/ssh false

Some very thin documentation on gnome-keyring-daemon's ssh handling is
at: http://live.gnome.org/GnomeKeyring/Ssh


Again, thanks for the effort, but NO-GO!

I tried changing the setting for that boolean to false, both with
gconftool-2 and with the GUI gconf-editor, and also by running
gconftool-2 as root.  No change, nada, zip!  Log out, log back in,
reboot, ..., no change at all.  Unsetting the environment variable
for SSH_ASKPASS (edited /etc/profile.d/gnome-ssh-askpass.sh so that
the variable never gets set) changes nothing.  The only thing that
has an effect is unsetting SSH_AUTH_SOCK, and doing that means that
the passphrase is required _every_time_.

If SSH_AUTH_SOCK is unset or the socket is not present, ssh-add
fails with Could not open a connection to your authentication agent.
Looks like the only options are (a) use gnome-keyring-daemon and
accept that the key is unlocked forever, or (b) use nothing and
enter the passphrase every time.



I am not sure where to modify it now days, but IIRC ssh-agent is started 
before your window manager is going in the xinitrc.

it used to be around line 62 of /etc/X11/xinit/xinitrc-common

My guess is the -t needs applied to THAT instance of ssh-agent.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Mount added drive -

2009-02-26 Thread Todd Denniston

Bob Goodwin wrote, On 02/26/2009 02:45 PM:


Now I'm stuck.  The simplest thing would be to reinstall the system but
bandwidth for updates is killing me.  Wildblue is a satellite service and
I'm limited to 17 Gigs/30 days.  I hate to keep burning up my bw.


Suggestion:
1) in /etc/yum.conf set keepcache=1
2) every so often copy the contents of /var/cache/yum/updates/packages/ (or if 
your on F9 /var/cache/yum/updates-newkey/packages/) to an external media 
(DVDs/USBHD).
3) when you have to reinstall you can copy the rpms back to the packages/ 
directory and yum will see them and know that it does not have to re download 
them. [it still has to get/extract the headers, but they are small.]


This is also a useful trick when you have several machines to update that are 
running nearly the same install, i.e., by copying packages/ from the first to 
later machines, the later machines only have to download the packages that the 
first machine was not running. :)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Flash plugin doesn't show CJK text

2009-02-19 Thread Todd Denniston

·Åºû¤¤ wrote, On 02/19/2009 08:47 AM:

Hello all,

SNIP decent description of problem

Does anyone know how to solve this problem?


Probably. [my bet is on some font path problem]
However you will be more likely to get an answer if you follow:
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines#Starting_a_New_Subject

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Never-ending boot progress

2009-02-10 Thread Todd Denniston

Tim Clarke wrote, On 02/10/2009 08:55 AM:

-Original Message-
From: fedora-list-boun...@redhat.com 
[mailto:fedora-list-boun...@redhat.com] On Behalf Of Tim Clarke

I've just put missing /etc/inittab and /etc/rc.d/rc.sysinit files into
place - no difference.

Then I've amended grub as you suggested: last line is 
Switching to new
root and running init Looks like this is the same clue as 
above ;-) The

init sequence is non-existent!

Tim Clarke


Dang - anyone have any idea how to repair this, please?

Tim Clarke


Original message:
Tim Clarke wrote, On 02/09/2009 11:31 AM:

Hi - can anyone help with an install issue pls?

On reboot after (several repeated!) seemingly good installs I just get
the progress bar at the bottom of the screen that slowly becomes fully
white. On pressing ESC i get four lines saying
reading logical volumes
found vol0...
found vol1...
2 volumes in group vol0 now active
but no disk activity! I've left it overnight but its just hung there.
Any additional diagnosis steps I can perform here?

Tim Clarke



So I take it that the summary of the problem is:
'I do an install and when I reboot the system it just keeps rebooting, because 
the _install_failed_ to install all the stuff init needs to get going.'


[A standard Red Hat\Fedora fault, since RH6, when anaconda blows a fuse.]

Suggestion 1, see if the anaconda log[1] shows anything interesting.

Suggestion 2, see if there are any anaconda bugs that look similar in the 
bugzilla.
Suggestion 2.5, if the anaconda log[1] shows any failures or other interesting 
things, and there are no similar open bugs, consider opening a BZ Bug against 
anaconda and inserting the log in the Bug, or if there is a similar one add 
your comments and log to it.


Suggestion 3, somewhere in this thread you mentioned 'a failure to load 
agpgart', so I suggest trying to install in text mode, and change to X mode 
after install.



[1] IIRC /root/anaconda.log or /var/log/anaconda.[something] of the installed 
system, or /var/log/[something, I think messages] of the install system while 
installing.



--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Firewire HDD causes hard lockups

2009-02-10 Thread Todd Denniston

William M. Quarles wrote, On 02/09/2009 07:57 PM:

Hey all,

I have a Futura Mobile Storage Solution 3.5 External IDE HDD Enclosure 
with USB 2.0 and Firewire support. I'm having problems using it with my 
Firewire connection. I was thinking about submitting a report to 
Bugzilla, but wanted to get some feedback first.



SNIP
The drive is formatted with NTFS, as it was originally inside a Windows 
XP Pro computer, and I am now using it to back up my files on my laptop 
while running Windows XP Pro. I tried repartitioning and reformatting in 
Windows XP, but Fedora 10 installation complained again and the computer 
locked up hard sometime later again.


Any thoughts?



There should probably still be a BZ if this fixes it, and I would have 
expected the same problem using the USB connection, i.e., mention in the bug 
that same drive with USB works fine, either they should both break or both work.


partition the drive with a Linux partitioner.
format the partition NTFS using XP Pro as before, but be VERY careful to make 
the format program use the PARTITION as opposed to the WHOLE DRIVE, which IIRC 
 MS defaults to whole drive.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-09 Thread Todd Denniston

Bill Davidsen wrote, On 02/07/2009 11:13 PM:

Paul-Erik Törrönen wrote:

On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote:

 I'm looking for some morphing software, to take two images, and
generate some  intermediate images to show the effect of a smooth
transition from one to the other.


One such program is the convert-command, which is part of the
ImageMagick-package.

It can do primitive shape morphing, for more information go here:

http://www.imagemagick.org/discourse-server/viewtopic.php?f=1t=11263

I've used convert only to do fade-morph frames between images taken of
the same view, which then are fed to mencoder to produce a video.

I can publish the shell-script which I created to accomplish this if
you're interested?

I Appreciate the offer, and you probably should publish for people 
looking for a fade solution, but I'm really looking for a full shape and 
color morph. I have an old program which I pulled off a Win98 machine 
which did a pretty good job, but it uses gif format, won't run under 
wine, and generally is pretty impractical other than as a proof of concept.


I'm surprised at the lack, I'll keep looking. Search turned up a number 
of things which sounded hopeful but had serious issues between the 
description and the performance.


Thanks for the pointer.



with gimp
load image 1
on image 1's window select File-Open as Layer- pick image 2
Open the Layers dialog
insert a Layer that is background color (call it Clean).
duplicate image 1's layer (Background).
Sort the layers such that you see
 image 2
 Background copy
 Clean
 Background
Delete Background.
on image 1's window select Script-Fu - Animators - Blend
set number of frames, blur and if you want it looped (no loop I think.).
hit OK.

There is probably a way that you don't have to play with the layers as I did 
above, and figuring out how to save each layer (frame) as a frame file is left 
as an exorcise for the reader (involves making successive layers invisible and 
saving a frame).


Also this was with gimp 2.2.12 so the names of the menus and scripts have 
probably been changed to protect the guilty. :)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Primer to explain how to boot a second Test Fedora under Fedora 10 with VM

2009-02-06 Thread Todd Denniston

Leslie Satenstein wrote, On 02/06/2009 07:57 AM:
 It may be off topic, 

Question was not necessarily, way of asking was.
Please see:
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines#Starting_a_New_Subject
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines#No_HTML_Mail.2C_Please
http://www.expita.com/nomime.html#yahoo

Thanks.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Using ext2 on SSD drive

2009-02-05 Thread Todd Denniston

Alan Evans wrote, On 02/05/2009 12:34 PM:
SNIP

Quite separate from your query about ext2 maintenance, you should keep
in mind the gotcha I found with ext2, here:

https://www.redhat.com/archives/fedora-list/2009-January/msg00198.html

My yucky workaround is to change the filesystem in my fstab back to
ext3 before each kernel update and change it back to ext2 afterword.

-Alan



Have you looked at putting a bug in the zilla about this?
Seems like it could bite anyone trying to build a mostly read file system with 
fedora.


https://bugzilla.redhat.com/
The descriptions with the following don't tie in very well to what you are 
seeing.
https://bugzilla.redhat.com/buglist.cgi?quicksearch=mkinitrd+ext2

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Network problems

2009-02-05 Thread Todd Denniston

Frank Cox wrote, On 02/05/2009 04:31 PM:

On Thu, 05 Feb 2009 20:49:38 +
Aaron Gray wrote:


 can ping okay but HTTP and FTP are non functional.


If you can ping, it's working.  If you have no active network connection at
all, you won't be able to ping anything other than yourself (localhost,
127.0.0.1, etc)

Are you pinging a numeric address but attempting to use http and ftp to a
domain name?  If so, you have a problem with your dns settings.



if pinging with a name and http/ftp with a name, then it _could_ be your ISP 
requires you to use their proxy, but does not transparently re-route your 
packets. :)



If you can ping some places but not others, then you have a routing problem.

If you can ping your internal network but nothing outside, then you have a
gateway problem (which is also a routing problem).



--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Side effects of allocating more than 4 Gig FC9 64 bit

2009-02-05 Thread Todd Denniston

Steve West wrote, On 02/05/2009 04:53 PM:

Hello,
I am using FC9 64 bit build. My C service allocates large amount of memory. When the 
service allocates about 6 or 7 Gig the command system(shutdown -r now) does 
not seem to work. If the service allocates around 4 gig everything works fine. Even with 
the system command not working the program seems to run fine. GDB does not offer any 
clues. Other services are able to run the system command just fine while the large 
service is running. Any thoughts?

Steve


and the output of free is?
have you disabled the kernels over-commit-memory capability?
did you read the following thread?
https://www.redhat.com/archives/fedora-list/2009-January/thread.html#01950

or seen:
https://www.redhat.com/archives/fedora-list/2009-January/msg02866.html

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F10 - boot - how to get into interactive boot?

2009-02-03 Thread Todd Denniston

Robin Laing wrote, On 02/03/2009 09:37 AM:

Hello,

Sure, I know to press 'I' but on two machines, it has been a nightmare. 
 One machine it never worked.


With faster machines, there is no time to press the button.

I found it wouldn't work if the normal Fedora splash screen was up on 
the screen.  I had to press escape to get it to work.  If I pressed to 
soon, the keyboard wouldn't work at all.  It all happened so fast.


On the second machine, I never got it to work.

This machine has encrypted partitions and the password prompt makes it 
harder.


I can just get the Esc button pushed in time for the password to be 
requested.  I then press 'I right after pressing 'Enter.'  I get a 
whole bunch of 'I's before and after the notice but it still continues 
into udev and on into a normal boot.  I never could get it to work.


Is there a way to get into interactive mode from grub?

When in the boot process is the keyboard input scanned for the 
Interactive?  Before or after the message to press I?


And is it a I or i?  I have tried both.

I think I have had either work, though all is confusion as when I have to use 
it, for some reason I seem to be in panic/hurry up mode. :)




perhaps edit /etc/rc.d/rc.sysinit and add a `sleep 1` before and after the
 echo -en $\t\tPress 'I' to enter interactive startup.
line.

If that works for you, may I suggest filing a bug against the output of
`rpm -q --whatprovides /etc/rc.d/rc.sysinit` such that the next version of 
that rpm includes the sleeps?



--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: [Fedora] Re: Upgrading old RH server

2009-02-03 Thread Todd Denniston

Kevin Martin wrote, On 02/03/2009 10:25 AM:


Ashley M. Kirchner wrote:

Kevin Kofler wrote:

There's no way to convert the passwords automatically as the hashes
used are
not reversible by design (otherwise it would just be cheap
obfuscation and
add no real security).
  

   Considering the old method seems to work just fine on FC10, what
could I be breaking if I just do that?  Do a clean FC10 install, then
recover the pertinent files from backup, including that /etc/shadow
file which has everyone's current passwords.

   Sooner or later, everyone will have their password expire and it
becomes a moot point, but till then, can I expect things to run fine?


Beware the use of the new password scheme if this is a NIS master server
and you have any NIS clients that aren't RH/Fedora (recent) machines.  I
have a mixed bag of AIX, SunOS (8 and 10), and Linux (old RH and newer
Fedora) and I had to force the use of the old password algorithms as
SunOS 8 and older AIX can't handle the new scheme.

Kevin



Ashley should also be aware that (at least in my experience), 
NIS/yppasswd/passwd will use the type of password last set for the user.
i.e., when we got rid of our last SunOS box, I had to remove each user's 
password and have them immediately set a new one, specifically using the 
`passwd` program to get into the md5sum schema, so it may not be as easy as 
letting everyone's passwords expire.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: C++ noshowbase ignored

2009-02-03 Thread Todd Denniston

Mike -- EMAIL IGNORED wrote, On 02/03/2009 02:47 PM:

In FC7, the line

...
   cout  a = 0x  setfill('0')  hex  noshowbase 
 setw(8)  a  dec  setfill(' ')  endl;
...

results in:

a = 0x0x91a1218

Is there something I can do about this?



Mr. Obvious asked, how 'bout changing the code like so:
...
   cout  a =   setfill('0')  hex  noshowbase 
 setw(8)  a  dec  setfill(' ')  endl;
...

or for more pain
http://www.open-std.org/JTC1/sc22/wg21/docs/lwg-defects.html#183
cout  resetiosflags(ios_base::showbase)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Ideal Swap Partition Size

2009-01-22 Thread Todd Denniston

Patrick O'Callaghan wrote, On 01/22/2009 05:20 PM:

On Thu, 2009-01-22 at 08:57 -0600, Aaron Konstam wrote:

On Thu, 2009-01-22 at 12:39 +, Alan Cox wrote:

On Wed, 21 Jan 2009 17:49:34 -0800 (PST)
Leslie Satenstein lsatenst...@yahoo.com wrote:

Regarding swap files and intel architectures.  I believe swapping is not by pages, but by segment sizes, which is gruesome, because of performance.  

Linux always pages - it doesn't use intel segmentation - in fact nobody
post 286 era does.


Well now that I committed myself , I have question for you Alan,,
because I know you know the real answer.


Normally, when we talk about VM OSs we discuss a memory space and an
address space. VM is supposed to be mapping pages or segments from the
address space to the memory space and reverse. I was surprised at your
saying that segmentation is not being used in Linux. If it is paging
that is being used where is the address space that the pages reside in.


In the memory layout of a process we talk about the code, data and stack
segments, because in the original PDP-11 architecture a segmentation
model was easier to manage than a paging model (the machine could only
have 8 pages in each segment, so there wasn't much point). This use of
the terminology persists today. However as Alan said every modern
machine supports paging so in practice that's what's really happening.
It's convenient to keep the segment terminology because there are
*logical* differences between the three segments, which the kernel uses
in its memory management policy.

The term swap is also a holdback from even before the segmentation
days, since entire processes would be moved (roll-in/roll-out). When
Unix used a segmented model segments were moved instead of whole
processes, but it was still called swapping, and the term swap space
persists even when it's used for paging.

As if you weren't confused enough :-)

poc



If Aaron is not confused enough, then may I suggest looking over at Ulrich 
Drepper's paper on LWN

What every programmer should know about memory,
Part 1 (Introduction  Commodity Hardware Today)
http://lwn.net/Articles/250967/
At the bottom of the Part 1 article there are links to the other parts.
*  Part 2 (CPU caches)
* Part 3 (Virtual memory) http://lwn.net/Articles/253361/
* Part 4 (NUMA systems)
* Part 5 (What programmers can do - cache optimization)
* Part 6 (What programmers can do - multi-threaded optimizations)
* Part 7 (Memory performance tools)
* Part 8 (Future technologies)
* Part 9 (Appendices and bibliography)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Update revisor

2009-01-16 Thread Todd Denniston

Kevin Kofler wrote, On 01/15/2009 09:43 PM:

Terry Polzin wrote:

I'm running F8


Fedora 8 is no longer supported. Please upgrade.

Kevin Kofler


Kevin,
please re read what Terry wrote... upgrading is what he is asking about, 
though he is asking about how to do it with a specific tool.  granted I don't 
know if THAT tool can do the upgrade he is talking about.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: How do I allow automatic non root access to my non standard USB device ?

2009-01-16 Thread Todd Denniston

Linuxguy123 wrote, On 01/15/2009 04:04 PM:

I'm doing some embedded development and my flash programmer has a USB
interface.  Everything works fine if I program the device as root, but
I'd like to be able to do it as a regular user.  I get port permission
errors if I try to run the programmer as a regular user.

$ lsusb

SNIP

Bus 007 Device 006: ID 15ba:0003 Olimex Ltd. OpenOCD JTAG

SNIP


My programmer is the Olimex Ltd. OpenOCD JTAG device on bus 7.

The documentation for the device says it needs access to /proc/bus/usb.

I can allow regular user access by manually issuing a chown command for
the port, but then I'd have to do it every time I reboot or unplug the
programmer.   How do I set it up to happen automatically in F10 ?



suggestion: find the udev|hal rules for allowing the console logged in user to 
use the sound card, and mimic them for your device.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: segmentation error

2009-01-14 Thread Todd Denniston

Patrick O'Callaghan wrote, On 01/14/2009 07:38 AM:

On Thu, Jan 15, 2009 at 4:01 AM, roland rol...@cat.be wrote:

On Tue, 13 Jan 2009 13:05:57 +0100, Michael Schwendt mschwe...@gmail.com
wrote:

Follow the instructions at

 http://fedoraproject.org/wiki/StackTraces

and then post the detailed backtrace here. tar uses several
libraries. It can be anything, even unstable hardware (such as bad RAM
chips).


This is the output I get:

[r...@tbred roland]# gdb /bin/tar
GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh)

(gdb) run --cvzf buXXX b*
Starting program: /bin/tar --cvzf buXXX b*
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x0806d4e6 in ?? ()
(gdb) Quit
(gdb)


I do not see much of a story here. I hope you do.


Run:

debuginfo-install tar

and repeat

poc



and don't forget to issue 'bt' to get a back trace before quiting.
even with out debug symbols it can sometimes be useful, but is always more 
useful than you got above.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Wifi indicator LED (was Re: Netbook wifi, wlan0 and inet6 address (F10) )

2009-01-13 Thread Todd Denniston

Anne Wilson wrote, On 01/13/2009 03:29 AM:

On Monday 12 January 2009 18:56:34 Anne Wilson wrote:

Does anyone know how to get the wifi indicator working on the Acer Aspire
One?   I've done a lot lof work with the wifi today, then suddenly, an hour
or so ago, I saw the signal bars drop from 4 to 1.  Then I lost the
connection.

Nothing has changed, in terms of location or additional equipment in the
room, and attempting to re-start the connection tells me that it has been
disconnected.  I've tried fiddling with that switch again, but there is no
way of knowing whether it is active or not.


sigh I hate mysteries.  This morning the netbook connected to the wireless 
router at bootup.  I've still no idea what went wrong yesterday, or why I 
couldn't scan for a connection.  It's as though something turns wifi off and 
it can't be turned back one.


Personally I think it's another form of rsibreak :-)

Anne



As we all use computers here, we could all occasionally benefit from an rsi 
time out. :}


Assuming you shut the machine down last night after the net stopped working, 
_perhaps_ it would be useful keep track of what the room/computer temperature 
and uptime is each time it stops working (from a cold boot) ... It could be 
that a component is getting hot, or saturated in another way that has a 
hysteresis curve.


Did you also shutdown the router last night too?

Have you done anything to see if someone else may be attempting to use/abuse 
your router, like look at it's recent IDS logs?


Might try transferring a couple of fedora install DVD isos across it into 
/dev/null, or some other throw away storage on the machine, to see if it can 
only handle so many bits before needing reset.


Just ideas.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


free memory use [was: Re: (no subject)]

2009-01-13 Thread Todd Denniston

Rick Stevens wrote, On 01/12/2009 06:14 PM:

  free reports the high-water mark of swap (the
highest usage), not how much is being used NOW.  It won't be reset until
a reboot occurs.



While I agree with pretty much everything else you wrote, the above seems wrong.

I have a program used just to suck up memory, it uses every byte it allocates, 
and here is some output that makes me thing your above comment is at least not 
*fully* correct:


Before sucking memory:
$ free
 total   used   free sharedbuffers cached
Mem:514496 505936   8560  0  66156 139176
-/+ buffers/cache: 300604 213892
Swap:  1052248   99281042320

At maximum suckage:
$ free
 total   used   free sharedbuffers cached
Mem:514496 509396   5100  0   5368  13528
-/+ buffers/cache: 490500  23996
Swap:  1052248 521616 530632

Just after releasing all sucked memory:
$ free
 total   used   free sharedbuffers cached
Mem:514496  70536 443960  0   5360  14516
-/+ buffers/cache:  50660 463836
Swap:  1052248 191564 860684

After some other applications were called for, i.e., bring Thunderbird back to 
the foreground and start this reply:

$ free
 total   used   free sharedbuffers cached
Mem:514496 188460 326036  0   6504  51892
-/+ buffers/cache: 130064 384432
Swap:  1052248 189392 862856


As I recall updatedb will cause similar effects.
and _if_the_machine_has_sufficient_main_memory_ so that swap is not needed at 
the current time, issuing

/sbin/swapoff -a
/sbin/swapon -a
would reset the values free shows for swap usage, and
/sbin/swapon -s
could be educational before and after the above commands.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: sanDisk sansa View (16G mp3 video player) issues

2009-01-13 Thread Todd Denniston

Kevin Kempter wrote, On 01/12/2009 06:08 PM:

Hi all;

I bought a sanDisk sansa view (16G model).  When I plug it into my Fedora 16 
(x86_64) box and do a dmesg I see this:


usb 2-2: new high speed USB device using ehci_hcd and address 3
usb 2-2: configuration #128 chosen from 1 choice
usb 2-2: New USB device found, idVendor=0781, idProduct=74b0
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-2: Product: Sansa View
usb 2-2: Manufacturer: SanDisk
usb 2-2: SerialNumber: 03534453443136478010790e6b00893f
Initializing USB Mass Storage driver...
scsi6 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 2-2: reset high speed USB device using ehci_hcd and address 3
usb 2-2: reset high speed USB device using ehci_hcd and address 3
usb 2-2: USB disconnect, address 3
scsi 6:0:0:0: Device offlined - not ready after error recovery



Any thoughts on how to correct or should I return it for something else?


Thanks in advance




fully charged battery?
USB hub capable of sustaining the current required to charge the device?
I ask because when I was preparing to put data on a 4GB one using a Dell 
windows computer the other day it did something similar ... then I realized 
(found that the optical mouse also on that hub did not work anymore) that the 
current draw had burned out the power in the hub (in Dell monitor hub).
So I suggest first charging it (with a non computer USB charger) or using a 
very powerful USB hub.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: sanDisk sansa View (16G mp3 video player) issues

2009-01-13 Thread Todd Denniston

Mikkel L. Ellertson wrote, On 01/13/2009 10:36 AM:

Todd Denniston wrote:

I ask because when I was preparing to put data on a 4GB one using a Dell
windows computer the other day it did something similar ... then I
realized (found that the optical mouse also on that hub did not work
anymore) that the current draw had burned out the power in the hub (in
Dell monitor hub).


That sounds like a poorly designed hub - the port that is drawing
too much is supposed to shut down, and leave the rest of the ports
working.


Come to think of it, I did not power cycle the hub after the problem started 
(IIRC it does have power going into it external to USB connection).


I just rebooted the computer and when I realized that the mouse was just 
momentarily flashing when it was pluged back into that hub, I moved the mouse 
to directly plug into the computer and started waiting for the two sansa's to 
charge using the external charger.


the weird thing at the time was that the keyboard continued to work in that 
hub, while the mouse and sansa would not.


Thanks for the thought about it shutting down for self protection ... perhaps 
I can just power cycle it and get it working for the mouse _and_ keyboard again.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Network Manager, Firefox and more on FC10

2009-01-12 Thread Todd Denniston

McGuffey, David C. wrote, On 01/12/2009 12:36 PM:

I almost hate to bring this topic up again because it was beaten to
death earlier.  However...I'm having a problem with NetworkManager
scribbling a bizarre netmask into my *SUPPOSEDLY* static address info
for eth0.

 


I get it configured, and it works for a while, then I end up with dns
lookup failures.  When I go to NetworkManager I find it has duplicated
the gateway address (192.168.1.1) into the netmask entry also.

 


Getting static addressing to work under NetworkManager has been nothing
short of a hair-pulling experience.  The folks working NetworkManager
need to understand that not *ALL* linux boxes will travel...some are
single-purpose boxes on networks that have a security policy that
mandates static addressing.  When one checks the static address button,
NetworkManager must absolutely stop scribbling in places it
shouldn't



The responses I have seen to this problem in this list and the fedora-test 
list summarize as follows:


1) the *CURRENT* NM does not do a (non DHCP) static configuration very well or 
at all, but they are working on it for a future version, and occasionally DHCP 
and NM are fun.


2) if your computer does not roam and/or does not use wireless networks, then 
do the following UNTIL the static network version of NM is ready:


service NetworkManager stop
/sbin/chkconfig NetworkManager off
/sbin/chkconfig network on
service network start
system-config-network #configure as you
# # always have in the past.
reboot #if you're feeling frogy.

3) the biggest unfortunate thing about the above is that it may or may not be 
possible to configure a kickstart postscript to do 2 while installing on a 
mess of machines in an automated way.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Network Manager, Firefox and more on FC10

2009-01-12 Thread Todd Denniston

McGuffey, David C. wrote, On 01/12/2009 04:36 PM:

Todd Denniston wrote, On Mon, 12 Jan 2009 13:14:16 -0500



McGuffey, David C. wrote, On 01/12/2009 12:36 PM:

SNIP

lookup failures.  When I go to NetworkManager I find it has

duplicated


the gateway address (192.168.1.1) into the netmask entry also.




Getting static addressing to work under NetworkManager has been

nothing


short of a hair-pulling experience.  The folks working

NetworkManager


need to understand that not *ALL* linux boxes will travel...some are



single-purpose boxes on networks that have a security policy that



mandates static addressing.  When one checks the static address

button,


NetworkManager must absolutely stop scribbling in places it



shouldn't




The responses I have seen to this problem in this list and the

fedora-test


list summarize as follows:




1) the *CURRENT* NM does not do a (non DHCP) static configuration very



well or



SNIP

Thanks.  I'll give this a try later today when I get back to the lab.
The lab is small, and I'm not using kickstart.

 


David,
do you think you can modify your client so it A) does not use HTML (and no RTF 
as well), and B) if possible change you're client  so it does not do the 
quoted-printable formatting...

OR
just trim off pretty much anything you are replying to because by the time 
your client gets done mangling it, the previous poster's information is pretty 
much unreadable.



A) 
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines#No_HTML_Mail.2C_Please


Thanks.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


powering off USB port after eject. was Re: Ipod issues

2009-01-09 Thread Todd Denniston

Kevin Kofler wrote, On 01/08/2009 10:39 PM:

Todd Zullinger wrote:

The iPod should be sent an eject rather than just a umount.


Well, really it's the iPod being weird. It doesn't make sense to eject a
USB device.

I'm pretty sure it's actually safe to disconnect the iPod once it is
unmounted, even if the firmware doesn't understand this.

Kevin Kofler



On a somewhat related note...
Am I just working with too old a fedora here (F8, and no wise crack about it 
being EOL) to see it, or has the Linux kernel still not started powering off 
USB devices when 'ejected'?
when I 'safely remove' a USB stick from a windows 2K|XP machine it appears 
that the power is removed from the the stick, i.e., the LED goes out and stays 
out on the stick.
when I issue `eject` on a Linux machine the file system gets unmounted but the 
device still appears powered.


Or is there just some trick that MS is playing with the devices that tells the 
device 'shut off the LED'???


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: ntpd sync fails on boot

2009-01-09 Thread Todd Denniston

Mike -- EMAIL IGNORED wrote, On 01/09/2009 01:43 PM:

On my FC7 system, on boot up:
   ntpd: Synchronizing with time server:
always fails.  However, after the boot,
if I log on and restart ntpd, the sync
always succeeds.

I note that the time server it uses is
right next door, on my LAN on the same
hub.

Thanks for your suggestions. (Yes I know
FC7 is old; might that be the problem?)

Mike.



any ntpd messages in /var/log/messages during boot? If ntpd detects what the 
problem is, it often gives a clue there.


do you see any messages on boot where network is being delayed?

Is it only the ntpdate failing or is ntpd also not finding hosts on boot?
if only ntpdate, then I would suspect the /etc/ntp/ntpservers or 
/etc/ntp/step-tickers to have a bad name.
if it is both ntpdate and ntpd failing, then I would suspect some problem with 
DNS, but that usually leaves traces in /var/log/messages.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: df hangs -- nfs related problem

2009-01-08 Thread Todd Denniston

Patrick O'Callaghan wrote, On 01/07/2009 10:16 AM:

That would depend on which is worse, potentially losing data or having
a client machine hang because the server is (perhaps temporarily)
unavailable. It depends totally on the specific application scenario.
To quote nfs(5):

quote
A  so-called  soft  timeout can cause silent data corruption in
certain cases. As such, use the soft option only when client
responsiveness is more important than data integrity.  Using NFS over
TCP or increasing the value of the retrans option  may  mitigate some
of the risks of using the soft option.
/quote

IOW there is no right answer to this.

poc



I agree that there is no `right answer to this`, but from experience I have 
found that the best answer to using NFS without data loss and without 
_permanent_ application lockup is to use:

hard,intr

'soft' on the other hand has lost me much data and caused many a bottle of 
administrator headache remedy to be used.  Now a LART is called for anytime I 
find someone on my network using soft... even if they have not yet told me 
they are having problems with NFS data loss.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Why Fedora 10 still uses openssl pkg from 2007, 4 releases old?

2009-01-08 Thread Todd Denniston

Frantisek Hanzlik wrote, On 01/08/2009 05:42 PM:

After upgrading from F7 to F10 it's unable (for me, but on several sites)


I wonder if I can be the first in this thread to ask you to read the following:
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines#Starting_a_New_Subject

BTW what bugzilla number?
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fingerprint authentication when desktop locked

2009-01-06 Thread Todd Denniston

Nicolae Ghimbovschi wrote, On 01/06/2009 11:05 AM:

Hello,

Last week I successfully configured PAM (in Fedora 10) to provide
fingerprint authentication
(http://www.reactivated.net/fprint/wiki/Pam_fprint).
Everything works great.

Except when my desktop is locked, to unlock it I'm asked only for my password.
Why it does not use the pam_fprint module for authentication ?

Below is the listing of my system-auth

$ cat /etc/pam.d/system-auth


Pam is sufficiently confusing to me that I could be wrong here...

but I think you also need to modify /etc/pam.d/xlock and|or 
/etc/pam.d/xscreensaver if those do not inherit from /etc/pam.d/system-auth.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Network interfaces refusing to start on boot: F10

2009-01-06 Thread Todd Denniston

Craig White wrote, On 01/06/2009 02:46 PM:

I agree that it's much easier to just disable it and then dismiss it as
broken than it is to actually figure out what it's good for and how to
live with it.

I would bet dollars to doughnuts that everyone who dismisses
NetworkManager out of hand also disables SELinux too.

Craig



You loose. :)

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 7 date display in ls -al

2008-12-19 Thread Todd Denniston

Todd Zullinger wrote, On 12/19/2008 09:41 AM:

denise.ago...@dana.com wrote:

I have a Fedora 7 install in which the date displayed by default in
an ls -al command as follows:

-rw--- 1 root root   6582 2008-12-19 04:25 maillog

On other Fedora and RedHat versions, the date is displayed by
default as follows:
-rw--- 1 root   root1105372 Dec 19 08:38 maillog

Can anyone please tell me if there is there a way to change the way
the date in the ls -al command is displayed in Fedora 7 so that it
is the written month and numeric day as is the usual display?


You could use the --time-style option to specify any format you wanted
or you could set LC_TIME=C, which will get you the POSIX locale
format, which is like your latter example.



or if you just want a fairly consistent full output of time on files use 
--full-time which is like -l --time-style=full-iso.




--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Whoa! Need help resolving Yum issues

2008-12-17 Thread Todd Denniston

N. James Bridge wrote, On 12/17/2008 01:55 PM:

On Wed, 2008-12-17 at 10:40 -0800, Dan Thurman wrote:

I get this error from Yum...

ERROR:dbus.proxies:Introspect error on
:1.31:/org/freedesktop/PackageKit: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.AccessDenied: A security policy in place
prevents this sender from sending this message to this recipient, see
message bus configuration file (rejected message had interface
org.freedesktop.DBus.Introspectable member Introspect error name
(unset) destination :1.31)

I cannot seem to be able to get my yum updates working. It
is showing all sorts of dependency errors and I removed:

+ kadu
+ gyachi

and finally the only one left is:

fuse-emulator

for which I cannot remove.

What can I do to kick-start my yum updates so that
I can later add back in the above removed packages?

Thanks!
Dan



This was the subject of animated discussion recently: as I recall, an
update to dbus broke the automatic updates. I know the bug has been
fixed and I think that all that is necessary is to do yum update dbus.



perhaps a bit more than that... like a reboot.
please see Paul Frields email:
https://www.redhat.com/archives/fedora-announce-list/2008-December/msg00012.html

granted the `yum update dbus` might be needed in Dan's case if other packages 
than dbus are preventing the yum update from finishing.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Evolution with mapi plugin?

2008-12-17 Thread Todd Denniston

Christopher A. Williams wrote, On 12/17/2008 06:15 AM:

I guess you have the privilege of not having to deal with the great
unwashed who routinely send and want to receive HTML e-mail. They also
don't know that the business norm (imposed originally bu MS Outlook) of
top-posting is also bad email etiquette. Hope you don't have to deal
with them either, but most of the one I deal with have titles that start
with the letter C or V - and they write very big checks. They are
less inclined to write one with your name on it if you openly refuse to
communicate in the language and style they are accustomed to...


Except when the CIO of the community you are talking about has decided that 
from a security standpoint having an email client render RTF and HTML have 
become unsafe.


 Some businesses have now intentionally modified their email clients to NOT 
render RTF and HTML, and have made it such that to enable them is a firing 
violation of company policy.


i.e. don't count on being able to say the blue text in bullet three is the 
important part anymore.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: adjusting window sizes in Gnome

2008-12-16 Thread Todd Denniston

fred smith wrote, On 12/15/2008 08:55 PM:

Another question re F10 on my eeepc 901:

I've got most stuff adjusted to my liking. But there are a few apps whose
default window size is  the 600 pixels of my screen. I know I can drag
the entire window around with ALT-DRAG--that works fine. 


SNIP

There must be a Gnome setting somewhere for this, but so far I haven't
found it.

This is irritating, the only way I can then resize a window to be taller
than the screen is by dragging the BOTTOM off the screen and stretching 
from the top. Since I'm usually doing this because the row of buttons at

or near the bottom has been obscured, that means I then have to drag the
bottom off the screen, stretch the top, then drag the top off the screen
so I can access the bottom, rather than just enlarging it from the bottom.

Suggstions welcome.

Thanks!



you might see if some of the offending applications obey the X or Xt lib 
'-geometry' setting, i.e, on the command line try:

bigprog -geometry 512x600

from the X man page
-geometry WIDTHxHEIGHT

Then modify the buttons (in menus) you click to pass the '-geometry' setting 
of your choice.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Bastille on F10?

2008-12-15 Thread Todd Denniston

Kevin Fenzi wrote, On 12/13/2008 07:56 PM:

On Thu, 11 Dec 2008 11:06:54 -0500
david.c.mcguf...@saic.com (McGuffey, David C.) wrote:


Anyone tested the Bastille hardening process on F10?  In a few days
I'll be building an F10 box and plan to lock it down.  Would be nice
to start with Bastille rather than having keep tweaking old scripts.


I have never been too clear about the reason for the existance of
Bastille. If there are improvements to be made in Fedora's security out
of the box, perhaps we could just make them? 


In any case if you have selinux enabled, apply updates in a timely
manner and use a firewall you should be in pretty good shape. 



Certain paranoid (they are out to get us :) organizations have rules that 
indicate that: if certain capabilities of a computer system are not needed to 
accomplish the job assigned for that computer, then 
remove|block|disable|destroy that capability.


i.e., if the job does not need USB capability, remove USB capability from the 
OS or put hotglue in the ports.


Bastille has been getting upgrades lately to check and set things in the Linux 
based OSs to the standards of some of those organizations, leaving the 
hardware available for use if the machine gets repurposed.



Dave McGuffey
Principal Information System Security Engineer // NSA-IEM, NSA-IAM
SAIC, IISBU, Columbia, MD


kevin





--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Volgroup00 not found

2008-12-15 Thread Todd Denniston

Timothy Murphy wrote, On 12/13/2008 10:37 AM:

Braden McDaniel wrote:


I'm probably out of my depth,
but what happens if you boot with Knoppix or some other Linux CD,
and say sudo vgchange -a y ?

I don't have a live CD handy; but doing that from rescue mode didn't
seem to have any effect. Of course, by the time I'm in rescue mode,
the filesystems have been located and mounted under /mnt/sysimage. If
any of the logical volumes weren't marked as available, they wouldn't
be locatable during rescue, would they?


As I said, I'm not sure if I am talking sense,
but my impression is that vchange -a y will tell you
what LVM volumes can be found,
and make available any that are not already available.

I found during a long saga preupgrading from F-9 to F-10 on a SCSI machine
that for some reason my LVM partitions were not found at one point,
and vgchange brought them to light.

Actually, I have had a few problems with LVM during system upgrades,
and have reluctantly decided to withdraw from the LVM world.
The advantages are greatly outweighed by the disadvantages, in my case.


If vchange -a y does not do it, IIRC I had to a vgscan -v and then 
vchange -a y VOLNAME that vgscan showed.


Unless a person is running a 1 PB monster drive or a system where they play 
about with VMs and new file systems, I have decided that the trouble in 
maintenance modes completely outweighs any benefit of LVM.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Yum repos

2008-12-15 Thread Todd Denniston

Girish Venkatasubramanian wrote, On 12/15/2008 08:53 AM:

Hello,
I have been using yum on FC5 (I know I should upgrade - but I don't
have that option - due to the specifications at work) without any
issues till about a couple of weeks ago. For the last couple of weeks,
every time I try to install something via yum I end up getting the
message Error: Cannot find a valid baseurl for repo: core


What are you installing on FC5 via yum anymore?



I have tried the following suggestions that I found on different forums.
1) Ensure that my network is not acting up - I am able to ping google.com
2) Did yum clean all
3) Tried uncommenting the baseurl line in all my /etc/yum.repos.d/*repos files
4) Did (3) and commented ot the mirrorlist
5) Tried to browse to the baseurl as well as the mirrorlist sites -
they were not up and running.

My conf files look like
-
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
file:///etc/pki/rpm-gpg/RPM-GPG-KEY
-
(I don't have any other mirrors listed)

1) Are there any mirrors that are working for FC5? If so - how do I add them?


Finding a working (and trust-able) FC5 repo at this point may be a trick, 
google has been my friend in the past when needing some really old FC stuff.
If you find one, I suggest (if we can't convince you to upgrade to SOMETHING 
that is secure) don't add that to your yum.repos.d files, but mirror it 
(rsync|wget) to local media.



2) If there are no mirrors - can I host a mirror? How do I go about doing that?

rsync|wget
once you have it change the yum.repos.d files so that mirrorlist is commented 
and use

baseurl=file:///path/to/my/mirror/fedora/linux/core/$releasever/$basearch/[os|updates]/


3) Short of upgrading to a newer version - is there any solution for
this problem?
change all the yum.repos.d files enabled=1 to enabled=0 [This is probably the 
best place to start for you anyway seeing as you will likely not need anything 
more from the base and updates repositories on those machines anyway.]



start planning the upgrade ... and put those machines behind a firewall that 
does not allow them to see anything called the internet, i.e., air gap them 
with a real air gap.


If you have to have something that is nearly that old in production, may we 
suggest looking at RHEL 5.2 or Centos?  If you need something that will be 
supported for more than 13 months in the future, may we suggest looking at 
RHEL 5.2 or Centos?


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: No gdb?

2008-12-12 Thread Todd Denniston

Linuxguy123 wrote, On 12/12/2008 01:15 PM:

On Fri, 2008-12-12 at 18:03 +, dexter wrote:

2008/12/12 Linuxguy123 linuxguy...@gmail.com:

gdb without *debuginfo* is also useless to a bug report and they get
big pretty quick so I say no gdb for normal folk.

How big is big ?  Hard drives are cheap these days, right ?

true, but bandwith  media sizes are also a factor.


Yes and no... 


Bandwidth: most of us with broadband connections will pay the same gdb
or no.  For Fedora, I understand that server bandwidth might be an
issue, but I think most of Fedora is served via mirrors.

Media sizes: DVDs don't cost a lot more than CDs.   I am VERY excited
about installing on USB sticks.  4GB sticks are pretty affordable. 





I think you missed the point about the *debuginfo*
kernel-2.6.27.7-134.fc10.i586.rpm   08-Dec-2008 14:0719M
kernel-debuginfo-2.6.27.7-134.fc10.i586.rpm 08-Dec-2008 14:19   249M

kdebase-4.1.3-2.fc10.i386.rpm   25-Nov-2008 14:53   5.6M
kdebase-runtime-4.1.3-1.fc10.i386.rpm   25-Nov-2008 14:53   5.7M
kdebase-debuginfo-4.1.3-2.fc10.i386.rpm 25-Nov-2008 14:5327M
kdebase-runtime-debuginfo-4.1.3-1.fc10.i386.rpm 25-Nov-2008 14:5414M

Now how many packages did you install?
how many are giving you trouble that you need to debug them?

I understand the convince thing of having gdb+debuginfo already installed, but 
for folks who are:

a) happy running a system that never gives them a problem
b) just into running their system and will not be bothered to put in a BZ
or
c) are rarely running into problems that would kick an error where 
gdb+debuginfo is useful


having *_ALL_* of the debuginfo's installed is a waste of their machine's hard 
drive and sometimes memory, update bandwidth, and always their time away from 
wesnoth waiting for the download.


What would probably be useful is:
a) have the KDE applet which spit out Anne's it couldn't create a bug report, 
as gdb is not installed., get some _more_ intelligence added such that it 
might suggest (on a fedora system)
'please execute as root `yum install gdb kdeThingThatBroke-debuginfo`, so that 
next time this happens we can provide a full bug report.'

[Note, I believe Anne already knew about that, but other folks could benefit.]

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: infrastructure modest proposal

2008-12-12 Thread Todd Denniston

Jeff Spaleta wrote, On 12/12/2008 05:21 PM:

On Fri, Dec 12, 2008 at 1:03 PM, Anne Wilson an...@kde.org wrote:

How often has this happened?  In the real scheme of things, what percentage of
packages have caused problems like this?  I'm not denying the problems that
some people have had, but is there, perhaps, some over-reaction?


How often has what happened? An accidental push to stable meant for
testing? I don't think we could get an accurate count on that.


SNIP


Also keep in mind that every legitimate security update which does not
go to updates-testing presents a similar breakage risk because it
short-circuiting a QA process for the sake of rushing the security fix
to users.

-jef



While looking at LWN's coverage of the current issues[1] I noticed among the
comments a link to an update policy development page for fedora[2], which then
points to a  Package Maintainer Responsibility Policy[3] as the current policy.

Perhaps folks should look at these before making some of their comments. [Not 
aimed at JS, this just happened to be last message in the thread when I began 
the reply.]


[1] http://lwn.net/Articles/311146/
[2] http://fedoraproject.org/wiki/UpdatesPolicy
[3] https://fedoraproject.org/wiki/PackageMaintainers/MaintainerResponsibility
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


OT: mice size Re: asus w5f Intel sound on Fedora 10

2008-12-11 Thread Todd Denniston

Tim wrote, On 12/10/2008 09:13 PM:

On Wed, 2008-12-10 at 19:16 +0100, Nigel Henry wrote:
The dog's not too good on the keyboard. Paws too big for 
picking out individual keys.


You could always teach it to use the mouse...  ;-)  But a rat might be
more practical.  Yes, there is such a thing as a computer rat - it's a
larger computer mouse.



You would not happen to have the maker and some model names handy would you?
I have not found a 'mouse' that fit my paw very well since they stopped making 
the Logitech MouseMan, and even it *seems* a bit small. :)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 10 ypbind error

2008-12-10 Thread Todd Denniston

Ralf W. Grosse-Kunstleve wrote, On 12/09/2008 02:38 PM:

Hi Dave,

I think you are correct, the invalid source port is indeed unrelated.


You're not very specific. I am guessing that NIS is not working? Can you nudge 
it into making more error
messages, maybe execute 'ypcat passwd'? Result of '/etc/init.d/ypbind status'?


# /etc/init.d/ypbind start
SIOCADDRT: File exists
Starting NIS service:  [  OK  ]
Binding NIS service: ...   [  OK  ]

# ypcat passwd
No such map passwd.byname. Reason: Can't bind to server which serves this domain




Q1: network up before starting NIS? (watch out for NetworkMangler^H^H^H^Hager 
starting only after someone logs in.)

Q2: can you ping the NIS server or its backups?
Q3: portmapper running?
chkconfig --list portmap
http://www.mail-archive.com/[EMAIL PROTECTED]/msg75448.html

another command to add to your yp test suite: ypwhich

Please keep us posted... some of us still have to deal with that system a bit 
longer.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: I need Miredo for F10

2008-12-10 Thread Todd Denniston

Robert Moskowitz wrote, On 12/10/2008 08:08 AM:

Todd Denniston wrote:


A further option considering Miredo is an open-source Teredo IPv6 
tunneling software for...[1], would be to snag a copy of the source 
to Miredo[2] and build it on F10... of course that assumes that the 
software has something sort of nice like a configure script to let the 
OP know that they need more 'devel' packages and that the OP 
understands what the configure script is asking for.


And there is the crux of the problem. If it is not a plug-n-pay build, 
it will take me a day to pull off, and I have other fish to fry on this 
project right now. I will try and reach the builder and get them to look 
into this.




As I don't have need for Miredo nor do I have an F10 install setting around 
yet, there is no point in me pulling Miredo sources and trying... BUT
Often if you pull the source of a project, untar it, and type ./configure; it 
will either fully configure and be ready for  a `make;make install` or spew 
out a 'could not find package BLAA' [which means you need to do `yum install 
BLAA-devel`] and have it figured out in less than an hour.  If Miredo uses 
pretty much standard libraries, it is unlikely that you will even need to 
install any extra devel packages.


i.e., give it a go ... I think you could be lucky :)




[1] http://en.wikipedia.org/wiki/Miredo
[2] http://www.remlab.net/files/miredo/?C=N;O=D







--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 10 ypbind error

2008-12-10 Thread Todd Denniston

Ralf W. Grosse-Kunstleve wrote, On 12/10/2008 10:58 AM:

Q1: network up before starting NIS? (watch out for NetworkMangler^H^H^H^Hager 
starting only after someone logs in.)



Yes. -- I had another machine in the past where this was a problem. NIS didn't 
work after boot, but when I manually restarted ypbind it started working. No 
such luck this time.


Q2: can you ping the NIS server or its backups?


Yes.


Q3: portmapper running?
chkconfig --list portmap


No, but it looks like portmap was superseded by rpcbind, which is running:

  # /etc/init.d/rpcbind status
  rpcbind (pid 2828) is running...

Also, rpcinfo reports several portmapper services.


another command to add to your yp test suite: ypwhich


# /etc/init.d/ypbind status
SIOCADDRT: File exists
ypbind (pid  22270) is running...
# ypwhich
ypwhich: Can't communicate with ypbind

This doesn't change if I stop both iptables and ip6tables (and then restart 
ypbind).

Another thing I tried: /etc/init.d/portreserve stop and chkconfig portreserve 
off
but that didn't make a difference either.

I also ran yum install ypserv, without actually turning it on. No luck still.

Ralf


top of a google[ ypwhich: Can't communicate with ypbind ]
http://docs.sun.com/app/docs/doc/802-3884/6i7ogkaot?a=view

I think you are at the NIS Service Is Unavailable stage of the document...
try the following, even if `/etc/init.d/ypbind status` returns a pid:
ps aux | grep ypbind

`/etc/init.d/ypbind status` may be reading a file from /var instead of 
checking for a physically running program.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: I need Miredo for F10

2008-12-09 Thread Todd Denniston

Kevin J. Cummings wrote, On 12/09/2008 05:55 PM:

Robert Moskowitz wrote:
And 
http://rpmfind.net/linux/rpm2html/search.php?query=miredosubmit=Search+...system=arch= 
only finds it for F9.  So I download that anyway and try to do a yum 
localinstall and it needs:


libcap.so.1

And libcap.so.2 is installed, what to do?


Well, one of number of things things:

1)  If the API for libcap.so.2 is backward compatible enough for 
what you need it for, just put a in symlink linking libcap.so.1 - 
libcap.so.2.


2)  If the API for libcap.so.2 is incompatible with what your 
application needs, then you will need to find a .src.rpm for building 
libpcap.so.1, build it yourself, and install it locally.


3)  Find an old RPM and install it and hope that it works.

Sometimes there are compatibility versions of libraries available in one 
or more of the repos, but a yum search libcap.so.1 for me doesn't find 
anything.




A further option considering Miredo is an open-source Teredo IPv6 tunneling 
software for...[1], would be to snag a copy of the source to Miredo[2] and 
build it on F10... of course that assumes that the software has something sort 
of nice like a configure script to let the OP know that they need more 'devel' 
packages and that the OP understands what the configure script is asking for.



[1] http://en.wikipedia.org/wiki/Miredo
[2] http://www.remlab.net/files/miredo/?C=N;O=D

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Supporting printer portion of MF-4270, was:[Re: Document Scanners that work with F9]

2008-12-01 Thread Todd Denniston

Jeff Maxwell wrote, On 11/26/2008 04:14 PM:


Ok.  I can understand the reasoning for that.  But, why would I only
have access to the printer/scanner when signed on as root and not as a
local user?  This is the problem that I am running into.  Every time I
wish to use the scanner, I need to switch users to root.  


Jeff,
try Tim Waugh's suggestion (I think he is taking you through the gnome menue 
to the troubleshooter):

System-Administration-Printing, then Help-Troubleshoot.  It automates
log capture and can even diagnose some simple problems.  If it fails to
identify the problem, you can see the diagnostic output including the
relevant portions of the log files.  If the diagnostic output is too
cryptic to understand but you think there is a bug in the software, file
a bug report about your problem and attach the troubleshoot.txt file.


If the menus don't get you the application, I think you could run 
system-config-printer in a terminal, and then select Help-Troubleshoot to get 
where Tim was pointing.


However I am expecting you to need to look at /var/log/cups/ files access_log 
 error_log to figure this out, ... because it WORKS as ROOT but not as 
NONROOT users.  But do try the Troubleshoot first, as it might just cover this 
case, and if it does not then file the bug Tim mentioned and file another one 
against the system-config-printer Help-Troubleshoot to cover your case (so 
future folks might figure it out easier.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: 100% CPU usage...

2008-11-24 Thread Todd Denniston

Tom Horsley wrote, On 11/22/2008 03:13 PM:

On Sat, 22 Nov 2008 22:20:21 +0300
Waleed Harbi [EMAIL PROTECTED] wrote:


Have you checked top command results? (top)
Try look at TOP results which process utilize the CPU to 100%





`top -b -n1 |grep -A2 -e Cpu -e %CPU`
might have been useful to figure out what was going on.


I'm pretty sure I remember the pcscd that shipped with F8
having a bug that pegged it at 100% all the time.



It was not a bug in pcscd, but a strange interaction with ifd-cyberjack.bundle 
and the ccid bundle.
If someone is having problems with pcscd pulling 100% and they need pcscd, 
then I would suggest making sure that:

 if they don't have a device served by ifd-cyberjack,
  then they issue:
   `rpm -e ifd-cyberjack` and `service pcscd restart`
  else if they do have an ifd-cyberjack
then track down the other ifd's and the ccid package and remove them.



chkconfig --level 2345 pcscd off

put a stop to that (which isn't a problem unless you actually
use a smart card reader for authentication).



If it is not needed, then that would be reasonable.

BAH, I need to stop writing logic programs.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Document Scanners that work with F9

2008-11-17 Thread Todd Denniston

Bill Davidsen wrote, On 11/15/2008 09:35 PM:

Dave Feustel wrote:

I'm looking for a document scanner that works well with F9.
Any suggestion?

Thanks.

Epson CX7400 printer and scanner work with FC6, using the driver from 
the vendor. As of FC8 or early FC9 the driver wasn't updated. Since I 
can keep FC6 running safely behind a firewall, as a device controller, I 
can live with that, although I would like to upgrade o/s at some point.




http://www.openprinting.org/show_printer.cgi?recnum=Epson-Stylus_CX7400
http://www.sane-project.org/cgi-bin/driver.pl?manu=epsonmodel=cx7400bus=anyv=p=

looks like you need:
gutenprint 5.something
sane epkowa 2.12.0

not sure which versions are in F10 but it looks like at least the printing 
functions may be supported in F9, and I have never investigated how hard it is 
to use an updated sane back-end with fedora.


BTW there are nice databases that have been put together for devices that work 
with Unix:

http://www.linuxfoundation.org/en/OpenPrinting/Database/DatabaseIntro
http://www.openprinting.org/printer_list.cgi
http://www.sane-project.org/sane-supported-devices.html
http://www.sane-project.org/cgi-bin/driver.pl

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Problems with F9

2008-11-14 Thread Todd Denniston

Richard Hughes wrote, On 11/14/2008 08:52 AM:

On Fri, 2008-11-14 at 13:41 +, Croombe F. Pensom wrote:

I wonder if anyone else has had similar troubles. My main objection is
that, to use Add/Remove Software F9 always goes onto the web for a
mirror and this chews up connect time (for which I am charged through
the nose after a certain limit has been passed).


Right. It wants to show you the latest versions of everything. Fedora is
a fast moving distro.


Does anyone know if it is possible to get ALL Fedora applications etc.
(i.e. a complete repository) on DVD thus obviating the need to consume
connect time?


You'll be downloading about 80Gb of data, that almost instantly will
become stale.



That is a little inflated, if what Croombe actually means is he wants 
everything for only his arch.


The following numbers are a bit small, because I do not mirror the debug 
packages:
13G releases/9/Everything/i386/
3.3Mupdates/9/i386
7.6Gupdates/9/i386.newkey
21G total

however ~3.2GB of the Everything can be gotten from the install ISO.

What Croombe is looking for is a local mirror of the repositories,
having the Everything would solve most of the issues, and you could rely on 
the net for updates versions, or you could mirror both with the understanding 
that you will be pulling updates for many things that you might never install.


http://mirrors.fedoraproject.org/publiclist/Fedora/9/
there are 5 sites in CA, when I looked.


http://fedoraproject.org/wiki/Infrastructure/Mirroring
http://fedoraproject.org/wiki/Infrastructure/Mirroring#How_can_someone_make_a_private_mirror.3F

They only talk about using rsync (which works well), but some folks have to 
work inside networks where the policies do not allow rsync, so I use wget to 
do my pulls.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: advice for data recovery

2008-11-13 Thread Todd Denniston

Dave Stevens wrote, On 11/10/2008 04:56 PM:

Hello All,

I am trying to recover .jpgs that were on a SATA drive that was formatted by 
mistake. No backup of course. Foremost has done a wonderful job of recovering 
several tens of thousands of files. Unfortunately many of them are either 
irrelevant (cached web fragments, etc.) or damaged. The most common type of 
damage is shown when trying to view them in Nautilus, when I get a message 
saying, unsupported marker type.


It seems about 30% - 40% of the files recovered are damaged in this way.



Assuming that all the data is really there but you have extra on the end, then 
you might be able to use convert to read the input and only output picture data.


identify might be able to help you sort images from not images, and corruption.

They aren't my images and I am not able to gauge what is worthwhile or not but 
I would like to do some triage by only considering those of a certain minimum 
size (easy to do) and not damaged (no idea.)


So does anyone know of a program I can use to only copy files that are not 
damaged? I can sort out the teenies, but don't see how to proceed after that.  



man ImageMagick
man identify
man convert



--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Supporting printer portion of MF-4270, was:[Re: Document Scanners that work with F9]

2008-11-07 Thread Todd Denniston

Jeff Maxwell wrote, On 11/07/2008 10:51 AM:

This is great information.  I do not know if my question fits this
thread or not, but,
It would probably be best to start another thread, with a fully new (not reply 
to this one) message.



 I have an issue where I have been able to install
and access an HP parallel OfficeJet printer via the root sign on but I
am not able to access the printer via a local user sign on.  Any
suggestions would be much appreciated.


take a look in /var/log/cups/ at page_log, error_log and access_log and see if 
there is something that make sense there, before starting your new thread.


If there is no info there, then you may have to (backup first and) edit 
/etc/cups/cupsd.conf to set LogLevel to debug instead of info, then `service 
restart cups`. (hopefully a restorecon /etc/cups/cupsd.conf will not be needed)

try a few prints and check the logs again.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Document Scanners that work with F9

2008-11-06 Thread Todd Denniston

Sam Varshavchik wrote, On 11/05/2008 06:35 PM:
I, personally, use the Cannon MF-4270. I had to hack some bugs out of 
sane's pixma driver, but once I did that, it worked fine. The fixes went 
upstream, they should be in the next version of sane, so until then 
you'll have to pull them out of CVS and temporarily build your own driver.


The MF-4270 is really a multifunction scanner/copier/printer/fax 
machine. AFAIK, there is no support for the printer part of it, in CUPS, 
but I don't need the printer+fax functionality. It works fine for me as 
a scanner+copier. Supports both the flatbed and the document feeder, for 
scanning.




The actual printer _device_ driver for CUPS is often gutenprint[1].
I have seen a far amount of traffic on the gutenprint list[2] where some folks 
are trying to support some of the cannon equipment.  And as you don't seem to 
be adverse to working out of a dev repository, perhaps you might want to take 
a look and see if your multifunction device is already supported or if you 
could give them the few needed pointers to get it supported.



[1] http://gimp-print.sourceforge.net/

[2] https://lists.sourceforge.net/lists/listinfo/gimp-print-devel

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Document Scanners that work with F9

2008-11-06 Thread Todd Denniston

Dave Feustel wrote, On 11/06/2008 11:50 AM:

I am the OP for this thread. I am looking for a high resolution document
scanner only, (no printer, no copier (I have a laser printer already)
functions) with a usb or scsi interface. Years ago I had an HP C2
scanner which worked very well but it was big and slow. Plus I only had
windows drivers for it.



Sorry for kind of hijacking your thread.

To kind of get back on subject, I think for most of us you would need to 
define what you mean by:

high resolution document scanner.
The reason you need to define it is that for me, scanning text (~8-12 point 
Helvetica|Arial|TimesNewRoman|Palatino)  anything at or over 150DPI is going 
to be considered high resolution, which almost every scanner today can do.
If on the other hand you were scanning the dead sea scrolls (granted scanning 
with the light sources that scanners today use would probably destroy them), 
no one would be happy if you did not scan at  3600DPI.


What kind of resolution did the C2 have?

The best luck I have had with picking out scanners is, go to
http://www.sane-project.org/cgi-bin/driver.pl
pick a bus you like
http://www.sane-project.org/cgi-bin/driver.pl?manu=model=bus=usbv=p=
and look at the Status column and find manufacturers that seem to have a 
large percentage of their products that are listed as complete and good.
These manufactures have been either feeding the developers data on how to talk 
to their devices, or have been keeping a reasonably stable interface to the 
device, so even if none of the listed devices are currently available for new 
purchase they have a reasonable _likelihood_ of working especially if the new 
device is in the same family.



--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Supporting printer portion of MF-4270, was:[Re: Document Scanners that work with F9]

2008-11-06 Thread Todd Denniston

Sam Varshavchik wrote, On 11/06/2008 06:29 PM:

Todd Denniston writes:

SNIP

The actual printer _device_ driver for CUPS is often gutenprint[1].


I already have gutenprint installed. I'm not sure how gutenprint is 
supposed to interface with CUPS, but when I try to select the printer, 
this Canon model is not listed.




Often times the driver is supported by a similar models driver so you could 
either pick one that seems similar and try it, or you could ask on the list

https://lists.sourceforge.net/lists/listinfo/gimp-print-devel

SNIP


Well, I still don't see this Canon model listed as supported in the 
documentation in the latest, a fairly recent, release.
Although you are correct in that gutenprint does not seem to support the 
device... go rummaging for Linux printer information ...

http://www.linuxfoundation.org/en/OpenPrinting
indicates:
http://www.openprinting.org/show_printer.cgi?recnum=Canon-MF4270
there is a binary driver for it on one of canon's websites

Sorry to confuse you, by trying to lead you towards getting an Open Source 
driver going.




The only reason I could hack sane is because its supported for the 
scanner was already there, it just had some bugs. A complete absence of 
support for the entire printer is quite a different beast.
again, printer families often use the same or similar control protocol, and a 
similar driver might at least 'work' but not give nice results, and knowing 
that would help the devs know what they would need to change. however for this 
device there is a working (closed source) solution from the manufacturer, at 
least until Fedora upgrades to a point where it can't find a old library.


It is too bad so few folks know about the nice databases that have been put 
together for devices that work with Unix:

http://www.linuxfoundation.org/en/OpenPrinting/Database/DatabaseIntro
http://www.openprinting.org/printer_list.cgi
http://www.sane-project.org/sane-supported-devices.html
http://www.sane-project.org/cgi-bin/driver.pl

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: [Off-topic]cvs hangs due a dangling nfs.

2008-10-31 Thread Todd Denniston

Rick Stevens wrote, On 10/30/2008 07:04 PM:

Marcelo M. Garcia wrote:

Hi

I use automount to share a partition via NFS so every machine can 
mount this share. For example, the machine abc has a partitio /abc 
and other machines mounts /users/abc.


One the machines was removed (retired), but now a few clients can't 
use the CVS server. After the command cvs history..., it simply sits 
and wait.




Please tell us that your $CVSROOT contains :pserver:|:ext:|:extssh: and not a 
:fork:|:local:|direct pointer to the file system...


because using CVS across a Network File System (including smb|cif) has been 
the recipe for corrupted repository data for a very long time.

http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=corrupt+nfssubmit=Search%21idxname=info-cvsmax=20result=normalsort=score
http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=corrupt+network+submit=Search%21idxname=info-cvsmax=10result=normalsort=score
http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=%7Bnetwork+file+system%7Dsubmit=Search%21idxname=info-cvsmax=20result=normalsort=score

If you do use cvs across nfs, may I suggest you investigate the use of 
verify_repo running on what ever machine now physically hosts the repository.


verify_repo A perl script to check an entire repository for corruption.
Contributed by Donald Sharp [EMAIL PROTECTED].
http://cvs.savannah.gnu.org/viewvc/ccvs/contrib/validate_repo.pl?revision=1.4root=cvsview=markup


I know that the problem is in accessing the retired machine because of 
the command strace cvs history.


Is there a way to find where is this reference to the old machine? 
Something like /etc/mtab?


Part II (Really Off-topic)
Is there a way to find which machines are client of a NFS share? So 
that before the shutdown I could umount in the clients?


showmount -d or showmount -a on the NFS server should give you a
list of the clients that have made a mount request.  There's no
guarantee that they STILL have a valid mount...if a client doesn't issue
an umount command (e.g. simply goes tits up), the server will still
think there's a valid mount.  See man showmount for details.

You should make sure the clients mount soft.  That way if the server
goes away, any request made by the client should eventually time out.
If they do a hard mount, the request will hang until the server comes
back.


I would like to respectfully disagree with the suggestion to use the soft 
mount option, or at least suggest only using it if you understand and can live 
with the implications.

*soft   If an NFS file operation has a major timeout then report
an  I/O error to the calling program.
and some programs don't deal with the error well, by that I mean I have seen**:
 cp and tar when writing large (1MB) files across the net introduce multiple 
faults in the file being copied (i.e. the md5|sha1 sums do NOT match 
afterwards) with out issuing a fault message at all.
 gnome  Firefox (on account initialization), create a sort-of 
filedirectorylink combination (it was supposed to be a directory to hold 
files, but it turned into a monster NODE that was interesting to remove from 
the server even AS root).
These kinds of errors stopped immediately after changing clients to hard,intr, 
and would return if we changed back to soft.


The better option most times is hard,intr which will continue retrying 
indefinitely but  then  allow signals to interupt the file operation and 
cause it to return EINTR  to  the  calling program.


*see man nfs for quoted material. :)
**on a network with over 30 folks using nfs for home, project work, and 
included other network traffic at moderate to high volume (10 to 75% of 100Mb 
links).


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: ktorrent screen size?

2008-10-30 Thread Todd Denniston

Gene Heskett wrote, On 10/30/2008 09:38 AM:

Greetings;


SNIP question I don't have an answer for
Is this a known bug?  Their bugzilla needs an account and password, which 
makes reporting a bug difficult if not impossible since I didn't paint it on 
the wall 5 years ago.  I am also subscribed to their kde mailing list and get 
several msgs a day, but my posts just bounce cuz I'm not subscribed.


Hints please.

Thanks.



Gene,
Have you checked the kde bugzilla and mailing list sites for their get a 
password reminder options?


for example if you go to
https://www.redhat.com/mailman/listinfo/fedora-list
scroll to the bottom and put your (subscription) email address in the box next 
to the Unsubscribe or edit options and press that button, you will be taken 
to a page that has a Remind button on it which will cause a password 
reminder to be sent to your subscription address.

Used it just yesterday don't you know. :)
Hope this helps.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Remote Rescue - PXE, SSH, and a remote console?

2008-10-30 Thread Todd Denniston

Ryan Wilson wrote, On 10/30/2008 04:16 PM:

Hi,

I've got a Linux server at my parent's house. It had some hardware troubles
and I shipped them a new computer and asked them to move the hard drive
over. That worked out great, except now Fedora 8 won't boot. I think I know
why (I think I need to rebuild my initrd), but how can I do that from
remote? 

SNIP


Is there a way to have the kernel reboot the system automatically if it
can't mount the root filesystem? I'm not 100% sure where the system is
hanging, but I think nash gives up when it can't find the filesystem and
just hangs. Can I specify that the kernel reboot on panic on the command
line? My setting in /etc/sysctl.conf doesn't get run because the root
filesystem isn't mounted yet!


http://www.google.com/search?hl=enq=kernel+reboot+on+panicbtnG=Google+Searchaq=foq=
http://www.cyberciti.biz/tips/reboot-linux-box-after-a-kernel-panic.html
says you can
add panic=10 to the kernel command line, it will have exactly the same effect.
as setting kernel.panic = 10 in /etc/sysctl.conf


Is there something I can use to trigger remote reboots? Like a wake-on-lan
packet that reboots the system when hung?

Is there a linux distro (preferably Fedora or one of its variants) that I
can boot a rescue session from using PXE? I'd like to build a setup with
grub, pxelinux, etc... (if possible) where it boots into the main OS and on
reboot, it will switch back-and-forth to a rescue distro. 

SNIP

https://www.redhat.com/archives/fedora-test-list/2008-September/msg00353.html
https://bugzilla.redhat.com/show_bug.cgi?id=159287
suggests that a rescue mode image (initrd) might be setup as a grub target.
Perhaps you should add to that bug, with some ideas from your experience.

And if you are adventuresome you might try this idea from the same thread:
https://www.redhat.com/archives/fedora-test-list/2008-September/msg00380.html

Still seems a bit scary having a machine up on the net with the non protected 
rescue environment. I hope you get it fixed quickly.



Of course with your situation, it MIGHT be easier to have them express the 
hard drive to you and work on it locally. :)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: OT: find command permissions: how to exclude dir?

2008-10-29 Thread Todd Denniston

Patrick O'Callaghan wrote, On 10/29/2008 07:04 PM:

(Does anyone else think .gvfs is a PITA?)



+1

And wondering how much grief it is going to cause me while administrating an 
NFS|AFS|SMB server for home directories that I need to back up.

I suppose I have a little while before RHEL gets infected with this.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: flash and firefox again

2008-10-28 Thread Todd Denniston

Ed Greshko wrote, On 10/23/2008 08:15 PM:

Todd Denniston wrote:

Frank Cox wrote, On 10/20/2008 10:50 PM:

On Mon, 20 Oct 2008 20:10:57 -0500
Richard Shaw [EMAIL PROTECTED] wrote:


I didn't find anything helpful with a quick Google search for flash 10
multitheaded but maybe it is an issue with multi-core machines? 

That's a thought.  I have never been able to watch CNN videos on this
dual-core
machine, even with Flash 10, but they work on the single-core machine
that's
sitting beside it.  Both running F8.



have you considered/ever tried forcing flash | the browser | X
processes to operate only on one processor (core) with taskset, just
to see if it may be a context switching/processor cache bashing problem?


I have noticed on the dual Xeon 1.50GHz W/512MB I use, that if I lock
X to the second processor, when visiting animated sites like
http://www.intellicast.com/National/Radar/Current.aspx?animate=true
The whole system is smother and the animation is less glitchy.
[with out locking X pulls ~85%cpu (of combined cpus),
  with locking X pulls ~10-50%cpu (of combined cpus), on that page
after it self reloads.]


Other than in the Advertisement area I don't see any other flash on
http://www.intellicast.com/National/Radar/Current.aspx?animate=true .

When you were talking about less glitchy were you talking about the
radar animation or some other aspect of that page?  The radar animation
is part of javascript.



Sorry.
You are correct that I was less than clear...
I don't have flash on my systems, as it has to be upgraded too often for 
security holes.


I meant that the animations were less glitchy, and that the whole X session 
was less glitchy.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: help with old BSD mail commands

2008-10-21 Thread Todd Denniston

Dave Encisco wrote, On 10/20/2008 05:42 PM:

Hi,

I just migrated an old Solaris server to a new machine running Fedora.

Unfortunately one of my users is blind and dependent on using the BSD
mail command. Fortunately that still works for him, but he also was used
to using the BSD from command that lists newly arrived mail and/or the
nfrm command that was part of elm. Can someone point me to the
equivalent for Linux. My user is dependent on line-command and Mutt and
Pine do not work for him.

Any suggestions would be greatly appreciated...and save me a lot of time.

Sincerely,
Dave



http://en.wikipedia.org/wiki/Elm_email_client
has a link at the bottom to a copy of the source.

and/or you could grab an src.rpm from
http://rpmfind.net/linux/rpm2html/search.php?query=elm
and then build that on fedora.

Elm Millennium Edition might be interesting for you
http://freshmeat.net/projects/elmme/
and they include a src.rpm
http://freshmeat.net/redir/elmme/28280/url_rpm/elm-2.4ME+124-1.mdk7.2.src.rpm


I don't and have not used elm, but apparently resources are still out there if 
you know where to look.


If you want the 'BSD from command' you would have to have more information 
on it to do a search that finds anything. (your email is the first thing that 
that comes up in a 
http://www.google.com/search?hl=enq=from.command+nfrm+bsd+mail+btnG=Search

search.)



Please note: Emails authored under this address do not reflect the
opinions of my employer unless otherwise stated.



Come now, do they even then? :)
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
Even when this disclaimer is not here, 
the opinions expressed by me are not necessarily sanctioned by and 
do not necessarily represent those of my employer. 
Also even when this disclaimer is not here, I DO NOT have authority to 
direct you in any way to alter your contractual obligation 
and my email can NOT be used as direction to modify a contract.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: hwclock can cause system lockup

2008-10-17 Thread Todd Denniston

Chris wrote, On 10/17/2008 06:46 AM:

First of all, thanks for all the replies. Some useful suggestions in there
which I'll be trying this morning.

2008/10/17 Mikkel L. Ellertson [EMAIL PROTECTED]


runs /sbin/hwclock --utc --hctosys to sync the hardware clock to
the system clock.

But this is syncing the system clock to the hardware clock, not the
hardware clock to the system clock. This has me confused as to what



Sorry, my mistake. I meant to say to sync the system clock to the hardware
clock. As Todd Denniston pointed out, the hardware clock can be
significantly more accurate than the system clock. Our application requires
accurate time but some users are not net-connected so can't use NTP. If NTP
is in use we sync the hardware clock to the system clock once per hour. If
NTP is NOT in use, we sync the system clock to the hardware clock once per
hour.



1) you don't need to call hwclock while NTP is running to keep the hardware 
clock synced to system time, the kernel hackers helpfully put a sneak 
circuit in the ntp implementation in the _kernel_ such that if NTP declares a 
good sync with the external source, then the kernel will every 11 minutes 
write the system time to the hardware clock.

2) (1) messes up /etc/adjtime in two ways
	a) the bios time has been set independent of the hwclock use of /etc/adjtime, 
so the time since last set is wrong.
	b) because of (a) the amount the clock needs adjusted for drift each time 
hwclock --adjust is called is now wrong.


You can kind of work around the problem by having your script that calls 
hwclock -systohc monitor either the adjtime drift or ntp's connectedness to a 
real server and keep the drift the same while ntp has sync, i.e, have the 
script keep the original adjtime drift if either the call is being made when 
ntp is known to be synced or the drift changes too much towards 0.


I have toyed with the idea of trimming that out* of my kernels, but it would 
mean a recompile every time a kernel update happened.


*or at least making it some kind of boot configurable item, and try to get 
that patch in the kernel tree.



The reason to sync the hardware clock to the system clock when using NTP is
to ensure that the difference never gets too great, so if there is a power
outage or unclean shutdown, the hardware clock is reasonably accurate when
it comes back up.



it is not needed for syncing time to the hwclock (see above), but some tricks 
are needed so that when the box comes back up the hwclock --adjust call does 
not wack the good time.


Chris wrote, On 10/17/2008 08:54 AM:

2008/10/17 Todd Denniston [EMAIL PROTECTED]


Not if you are sane enough to disable that in the halt script.
(search this or the fedora-test list for ntp and me to see why I say this)I
would suggest two things:



Strangely I can't find anything, I googled ntp denniston site:
www.redhat.com/archives/fedora-list/ and the same for fedora-test-list but
no results were found.


bizarre.
slightly different search:
http://www.google.com/search?hl=enq=ntp+denniston+site:www.redhat.comstart=10sa=N
And the following is the message I was referring to:
http://www.redhat.com/archives/rhl-list/2008-August/msg00101.html
and of course it was sent to the fedora-list... apparently google 
can't/doesn't archive https or there is a robots.txt that is being obeyed.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: hwclock can cause system lockup

2008-10-17 Thread Todd Denniston

Ian Burrell wrote, On 10/17/2008 02:40 PM:

Todd Denniston Todd.Denniston at ssa.crane.navy.mil writes:
1) you don't need to call hwclock while NTP is running to keep the hardware 
clock synced to system time, the kernel hackers helpfully put a sneak 
circuit in the ntp implementation in the _kernel_ such that if NTP declares a 
good sync with the external source, then the kernel will every 11 minutes 
write the system time to the hardware clock.

2) (1) messes up /etc/adjtime in two ways
	a) the bios time has been set independent of the hwclock use of /etc/adjtime, 
so the time since last set is wrong.
	b) because of (a) the amount the clock needs adjusted for drift each time 
hwclock --adjust is called is now wrong.


You can kind of work around the problem by having your script that calls 
hwclock -systohc monitor either the adjtime drift or ntp's connectedness to a 
real server and keep the drift the same while ntp has sync, i.e, have the 
script keep the original adjtime drift if either the call is being made when 
ntp is known to be synced or the drift changes too much towards 0.


I have toyed with the idea of trimming that out* of my kernels, but it would 
mean a recompile every time a kernel update happened.


*or at least making it some kind of boot configurable item, and try to get 
that patch in the kernel tree.




Why don't you just use the ntpd local clock driver?  The Fedora /etc/ntp.conf
has the following lines commented out:

#server 127.127.1.0 # local clock
#fudge  127.127.1.0 stratum 10  


Uncommenting those causes ntpd to use the local hardware clock as a backup time
source.  ntpd will keep track of the drift and record it in the drift file to
use when starting.  It should keep fairly accurate time as long as it
occasionally is connected to the network.

 - Ian


1) because in Chris's case you are not using ntp on the machine in question to 
get time from elsewhere, there is no elsewhere, i.e., no network.  This is not 
a `fall back while still disciplined to the local clock`, this is a `we will 
never see a _true_ stratum (ntp referenced from a reference clock) anything at 
this physical location`.


2) Because the BIOS clock can be looked at under certain circumstances (such 
as a box running 24X7X365) as slightly ovenized* and independent of processor 
and IO load.


ntpd local clock is subjected to changes due to system processor load and IO 
load, i.e., missed interrupts.



*in an air conditioned office space, an on-all-the-time machine should have 
temp fluctuations of less than 10F day to day. each day you might see a swing 
that is 30F in that day, but when each day is compared the temps at the same 
time of the day is much closer, and hwclock does not calculate new drifts in 
time spans of less than 1 day.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: DISCOVERY Re: Why is Firefox such a beast??

2008-10-08 Thread Todd Denniston

Beartooth wrote, On 10/08/2008 12:49 PM:

On Wed, 24 Sep 2008 15:03:44 +, I Beartooth wrote:


I'm running Firefox under F8 and F9 on five different machines, and it's
a pain on every one of them, albeit in slightly different ways; but the
differences differ, too.

The first thing they have in common is that it takes forever to
launch -- when it does launch. The second is that it mostly doesn't. It
will try, and the little blue dots will circle for a while, and the
window list on the panel will show a mark for it -- for a while.
Sometimes one or another window will flash up and disappear, usually too
fast even to identify.

[...]



SNIP
	There are two things I've long made a practice of moving from 
machine to machine, either with scp or by sneakermail, whichever seemed 
easier at the time : FEBE, and my collection of desktop background 
pictures (aka wallpaper, I believe).


	I had noticed a new problem with the pix, but hadn't thought to 
check for it with FEBE : a lot of files a/o folders would show up in 
nautilus with a padlock emblem. Lo and behold, the extension folders, and 
some others, were littered all over with those blasted padlocks.




do the 'padlocks' indicate read only? [I never use those GUI file manglers on 
anything but MS.]


	I had also discovered that I could clear away the padlocks by 
right-clicking a parent folder, choosing Properties, going to the 
Permissions tab, and making changes. 

	(Why should there *be* permissions trouble with a file or folder, 
belonging to user btth on one machine, burned to CD by that user, 


Assumption, you burned the file to the CD with out putting it into an archive 
file, i.e., you did not use tar or zip.
When you copied the files you (or the GUI file mangler) told it to keep the 
permissions it had on the source media, and a CD is _ALWAYS_ read only if you 
are not using UDF(??), so the files at the destination are read only.


use tar or zip to create an archive of multiple files which then goes on the 
CD|DVD|USBdrive which you move around, it will give you less surprises.

or learn to use `chmod u+w -R my_moved_dir`

inserted into another machine, then dragged and dropped by the same user 
into some folder belonging to that user?? Is this yet another betise of 
SELinux?? It didn't use to happen.)


	Anyway, I applied the same method to the padlock-littered firefox 
folders in my user's .mozilla -- several times, from the firefox folder 
itself on down -- and the various installs of firefox on F8 and F9 did at 
least start launching better than before.



SNIP


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: automatic ssh agent

2008-10-08 Thread Todd Denniston

Mike -- EMAIL IGNORED wrote, On 10/08/2008 11:57 AM:

Could you please remind me of the name of
the file that creates an ssh agent on
start?

Thanks,
Mike.



used to be /etc/X11/xinit/xinitrc-common around line 62.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: SSH Access Issues

2008-10-08 Thread Todd Denniston

[EMAIL PROTECTED] wrote, On 10/08/2008 12:57 PM:

In the properties for the user, what shell do they have?
(cat /etc/passwd)

If it's /sbin/nologin, then that is part of the problem.



or if /etc/nologin exists, only root can login, but that would affect normal 
logins too.



HTH

-Greg



Hi List,



I have several F8 and F9 boxes in an internal network.  I can ssh between
them all happily as root, but not as individual other users.  After prompting
me for a password, it says: Permission denied.  In /etc/ssh/sshd_config
I have the lines:



   PasswordAuthentication yes
   ChallengeResponseAuthentication no
   UsePAM yes
   X11Forwarding yes



but I can't seem to move forward.  Any ideas?



Jonathan









--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Reboot every 1 hour, 19 seconds

2008-10-07 Thread Todd Denniston

Rodolfo Alcazar Portillo wrote, On 10/07/2008 11:00 AM:

Am Dienstag, den 07.10.2008, 09:48 -0500 schrieb Arthur Pemberton:

When was the last time you dismantled and cleaned the machine?


Arthur:

Three monts ago? Seems clean, though. 
- I changed the memory DIMMs. 


Before or after the rebooting started?

- Disconnected the machine electrig plug. 
- Pushed RESET button for about a minute. 


I repeat: since the power outage, it reboots every 1.00.19, approx.



tried coming up in single user mode and running something like:
e2fsck -y -c -k -v -C 0 /dev/rootdevice

yes, normally ext3 does not have problems with power drops and such, but it 
can over time build up some things that need cleaned up, and at a minimum a 
read-only media check can be a good thing {read-write is better, but takes a 
long time}.


Tim: 


could not be a cron issue, that would lead to exactly 1 hour rebooting.
Every 3 reboots means 3 hours and a minute (look my previous logs).


How long does it to reboot? ~19 seconds?
How long does it take for the program that is getting started at 1 hour after 
the machine comes up, to use enough power|memory to cause a fault? ~19 seconds?


BTW been here and bought the tee shirt... My machine had a problem of using a 
little more current than the wires supplying it could carry, while trying to 
get cron.daily done and doing it's other work.


suggestion: bring the box up in runlevel 3 and come back to it about 58 
minutes after you boot it, you might actually see the kernel give an OOPS or 
panic. [If you don't have the patience to do that, there is the option of 
setting up a serial console to another machine and logging the console there.]

reason for runlevel 3: so you see console messages instead of GDM.



# ls -l /etc/cron.hourly/
total 0


Means little, as if the machine has not been able to complete .daily or 
.weekly or .monthly in that time period, then it will start running those at 
~1 hour after boot.


try:
 ls -ltr /var/spool/anacron/



# at -l
# uname -r
2.6.26.5-45.fc9.i686


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: id_rsa.pub

2008-09-25 Thread Todd Denniston

David Hláèik wrote, On 09/25/2008 07:35 AM:

Hi guys, i have reinstalled my laptop with Fedora 9.

I have my RSA private key in .ssh/id_rsa . How to generate public key
which i can use from private RSA key? (to have .ssh/id_rsa.pub).

Thanks!


ssh-keygen -t rsa -b512 -C 'a test key' -N 'junkme'
mv id_rsa.pub id_rsa.pub.orig


ssh-keygen -f id_rsa -e SECSHpkff
ssh-keygen -i -f SECSHpkff  SECSHpkff.ossh

cat id_rsa.pub.orig ;echo  ;cat SECSHpkff.ossh
ssh-rsa 
B3NzaC1yc2EBIwAAAEEA2B/62aUjcZW4kZJRnL/mS0pNIuIt6BCVc6y2V24trV6H90qqud1Jy3mOT4ZuRru53LYtURENZPVXBPqzqYJ7QQ== 
a test key


ssh-rsa 
B3NzaC1yc2EBIwAAAEEA2B/62aUjcZW4kZJRnL/mS0pNIuIt6BCVc6y2V24trV6H90qqud1Jy3mOT4ZuRru53LYtURENZPVXBPqzqYJ7QQ==



Visual diff indicates a delta in the comment portion, but otherwise the same.
...
So
ssh-keygen -f id_rsa -e SECSHpkff
ssh-keygen -i -f SECSHpkff  id_rsa.pub
should get your public side back. There is probably an easier way, but this 
worked.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Important Check this out

2008-09-24 Thread Todd Denniston

Alan Evans wrote, On 09/24/2008 12:31 PM:

On Wed, Sep 24, 2008 at 9:24 AM, Kam Leo [EMAIL PROTECTED] wrote:

I hate playing Fllow this URL.  Get to the point and provide a
synopsis. If this has to do with a kernel update breaking Intel
chipset internet interfaces then say so.


I skimmed it for you. The e1000e module in kernel 2.6.27 contains a
bad bug that can corrupt EEPROM. I think the latest F9 updates are
kernel 2.6.26, so it's not a Fedora issue at present. Move along.



However, if you are on F10, or rolling your own kernel... it might make for a 
good read.


https://bugzilla.redhat.com/show_bug.cgi?id=459202
http://bugzilla.kernel.org/show_bug.cgi?id=11382
http://lwn.net/Articles/299787/

pay special attention to this comment:
https://bugzilla.redhat.com/show_bug.cgi?id=459202#c5


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Software: Barcode printing

2008-09-24 Thread Todd Denniston

Renich Bon Ciric wrote, On 09/24/2008 12:41 PM:

Anybody knows any barcode label printing program available in fedora?


TeX using:
http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-barcode/

Probably not exceptionally user friendly, but it exists.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Todd Denniston

Andrea Mastellone wrote, On 09/24/2008 11:12 AM:

Hi,

I have a broken solid state disk, in facts badblocks has found about a 
hundred of damaged blocks. The most shortcoming is that I have lost the 
partition table too, and I suspect that some bad blocks are in relation 
with the partition table data since testdisk can not write the recovered 
partition table to the disk. Now, I need to rescue a 10 GB ext3 
partition (that is the last one on device).


So, I would like to use dd (or dd_rescue) to physically transfer the 
partition in a file on an ext3 USB disk, and then mount the file as an 
ext3 partition (like an iso file by means of loopback device, is it 
possible ? how ?).


Since I am poor experienced with the CHS and LBA notations, someone can 
me confirm this: testdisk signals that the partition begins at 6403, 1 
,1 and ends at 7798, 254, 63 in CHS notation. Since the disk has 255 
heads and 63 sectors, the corrispective LBA addresses would be 102864258 
and 125290810, isn't it ?


And, what of these data can I pass to dd (or dd_rescue) in order to 
transfer the partition ?


Or can you suggest a better way to rescue the partition ?

Thanks in advance,

Andrea



If I were in your situation and had enough GB on a spare disk to hold the 
whole SSD, I would do something like the following:

dd if=/dev/whole_solid_state_disk \
   of=/path/to/spareGB/SSD.image \
   conv=noerror bs=512

And then I MIGHT try some tricks to find the ext3 super blocks of the image, 
and/or dd about the last 10GB out of the image as a second image to do 
e2fsck's and loop mounting on.


if I had less space (and no time to buy an extra USB hard drive) and could 
translate the CHS to bytes/blocks of disk space, I would do something like:

assume 512 blocks, and HeadSector size of 7697074bytes
bc of 7697074*6402/512 yields 96243491 which is probably completely wrong.
(is this roughly a 55GB device?)

dd if=/dev/whole_solid_state_disk \
   of=/path/to/spare11GB/SSD.image \
   seek=96243491 conv=noerror bs=512


And remember, the device is already failing... you MIGHT only get one more 
read, so take that into consideration when choosing the method for getting the 
image.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Todd Denniston

Andrea Mastellone wrote, On 09/24/2008 01:10 PM:

Todd Denniston wrote:

Andrea Mastellone wrote, On 09/24/2008 11:12 AM:

Hi,

if I had less space (and no time to buy an extra USB hard drive) and 
could translate the CHS to bytes/blocks of disk space, I would do 
something like:

assume 512 blocks, and HeadSector size of 7697074bytes
bc of 7697074*6402/512 yields 96243491 which is probably completely 
wrong.

(is this roughly a 55GB device?)



Yes, it is about 55 GiB device. Can i proceed so  with this ?



No warranties, you get to keep the broken chunks.

I was just playing about with the math based on the info that fdisk puts out 
in the 'p' information, which for my disk was:

Units = cylinders of 16065 * 512 = 8225280 bytes
and I was guessing was:
Units = cylinders of 15033 * 512 = 7697074 bytes
based on you indicating the partition in question was 10GB and THAT partition 
having 7798-6403=1395 cylinders

10*1024*1024*1024/1395=7697074
So these are VERY round about numbers... If you are not going to capture the 
whole disk, then I would capture significantly more than the calculations show 
and then trim that down to work with.


If I _/HAD/_ to capture less than 55GB of the device, with only the 
insufficient data I have now, I would do a something more like setting seek to 
the order of 7697074*6000/512=90200085 and then start looking for filesystem 
headers in the data.


My preference though would be capture the whole device, because it gives you a 
lot more chances to come up with the correct data.  One example of more 
chances, would be to 'fix' the partition table in a copy of the image, i.e, 
you know the partition ran from 6403 to 7798 and something like Partitioned 
loopback devices[1] MIGHT be able to help.


Granted we are already WAY outside my comfort zone in giving advise about 
recovering data from a device that I don't own.   If it is really important, 
there are folks who will do the whole job for a fee.


Again no warranties, you get to keep the broken chunks.


dd if=/dev/whole_solid_state_disk \
   of=/path/to/spare11GB/SSD.image \
   seek=96243491 conv=noerror bs=512



Andrea



And remember, the device is already failing... you MIGHT only get one 
more read, so take that into consideration when choosing the method 
for getting the image.






[1] http://lwn.net/Articles/110468/
http://lwn.net/Articles/251908/
http://lwn.net/Articles/274113/

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Installation weirdness

2008-09-24 Thread Todd Denniston

[EMAIL PROTECTED] wrote, On 09/24/2008 04:07 PM:

Only sent it once, Dude.


On Wed, 2008-09-24 at 14:33 -0400, [EMAIL PROTECTED] wrote:

Downloaded i386 installation DVD. Went to install, but installation is
calling for a 'Disc 1'. What 'Disc 1'? Isn't the installation DVD
sufficient?

Any reason you sent this three times?

What I tell you three times is true -- Lewis Carroll, The Hunting of
the Snark.

poc


I'm mostly with POC on this, check the archive.
https://www.redhat.com/archives/fedora-list/2008-September/author.html#02830

You might not have sent multi copies, but your client|email subsystem|ISP did.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: gui editor latex under gnome

2008-09-23 Thread Todd Denniston

Bruno Wolff III wrote, On 09/23/2008 09:12 AM:

On Tue, Sep 23, 2008 at 11:12:38 +0200,
  Adel ESSAFI [EMAIL PROTECTED] wrote:

Hi list
I need a GUI editor for latex. Particulary i want to ask if there is a
feature that permits an instant visualization of the result as in latex
editor (http://www.latexeditor.org/)
Thanks for help
Adel


lyx might do what you want.



+1 lyx
LyX is a document processor that encourages an approach to writing based on 
the structure of your documents (WYSIWYM), and not simply their appearance 
(WYSIWYG).


it does not instantly do a TeX render, but it gives you an idea of what the 
document will look like while writing (it hides most of the tags and gives a 
rendering of what they do, _similar_ to a WYSIWYG editor), and you can do a 
full render when you need to know exactly what it will look like.


And full La|Tex (AKA ERT in lyx speak) can be put in _as_needed_ (which is not 
often for most of us) for more control.


http://www.lyx.org/
The users list can be of moderate volume, but very helpful:
http://www.lyx.org/MailingLists

And IIRC you can `yum install lyx` to get it with fedora.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: encrypted swap question

2008-09-23 Thread Todd Denniston

DanMitton wrote, On 09/21/2008 01:18 AM:
So, is it possible to read the passphrase from a USB drive at boot time??   :-? 


Thanks.



An alternative to the Red Hat way[0] is to use tuxonice[1].
If you do not have a smartcard, you can store a keyfile on external media 
such as a cd-rom or usb thumb drive.[2]


Tech Note that I have not as _yet_ attempted either Chris's or Alon's method, 
so salt as desired.  I will eventually have to use one of them.


Bias Note: for ssh-agent with DoD smart card, I have only been able to get 
Alon's method working, and am not happy about fedora not including it or 
enough documentation to get their method working.


[0] i.e., what Chris Snook was indicating.  I suspect some of the pieces may 
already be there in fedora, but it seems at times there is a bit of friction 
between RH folks and anything Alon BarLev is involved with, so you will 
probably have to follow all the tuxonice build directions if you go that route.

[1] http://wiki.tuxonice.net/EncryptedSwapAndRoot
[2] 
http://wiki.tuxonice.net/EncryptedSwapAndRoot#head-4e7474b9357309c5f8be5563c0970e72f5483aed


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: spec file for rpms

2008-09-22 Thread Todd Denniston

David Hláèik wrote, On 09/22/2008 11:54 AM:

Hi guys,

i am new at this.

I want to make a rpm from a program source. It does not contain rpm spec
file by default so i need to create one.

Is there any way to make creation of spec files easier? some tools etc ... ?

Thanks in advance!

David




http://freshmeat.net/projects/checkinstall/

I have used checkinstall, and it will make a 'get you going' spec file, but 
the produced spec file is not very nice.


I took the one it made for me (for the software I wanted to package) and 
compared it to the one that comes with the kernel from fedora, and made 
changes that seemed sane.  {I understand reasonably how to do the kernel 
compile by hand, so seeing how they did it in the spec file gave me clues to 
how to do what I wanted.}


such changes as:
-BuildRoot: /var/tmp/XALTPlcbbmBlCXeZdMMaE/package
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

just before the %files entry.
+%clean
+rm -rf $RPM_BUILD_ROOT




Also the fedora guidelines may point you towards filling in some things you 
might not have thought about, and if you follow them might get what ever 
package you are making the spec for accepted in fedora faster.

https://fedoraproject.org/wiki/Packaging/Guidelines

and in particular
https://fedoraproject.org/wiki/Packaging/Guidelines#Writing_a_package_from_scratch
https://fedoraproject.org/wiki/Rpmdevtools

{Todd: wonders if seeing those last two links would have made life easier...}

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


  1   2   >