HELP

jagannar at mskcc.org jagannar at mskcc.org
Mon Sep 22 19:06:29 UTC 2008


Sorry, I was trying to get the unsubscribe command and did not realize my message went to the list. :-)
I am no longer using Fedora, so was trying to unsubscribe myself from the list.

Thanks,
Ravi.
-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com] On Behalf Of fedora-list-request at redhat.com
Sent: Monday, September 22, 2008 1:57 PM
To: fedora-list at redhat.com
Subject: fedora-list Digest, Vol 55, Issue 189

Send fedora-list mailing list submissions to
	fedora-list at redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
	https://www.redhat.com/mailman/listinfo/fedora-list
or, via email, send a message with subject or body 'help' to
	fedora-list-request at redhat.com

You can reach the person managing the list at
	fedora-list-owner at redhat.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of fedora-list digest..."


Today's Topics:

   1. HELP (jagannar at mskcc.org)
   2. Re: HELP (Jonathan Dieter)
   3. Re: HELP (wwp)
   4. Video card (Dan Steele)
   5. Re: lvm2 problem (Chris Snook)
   6. Re: Video card (Chris Tyler)
   7. Re: encrypted swap question (Chris Snook)
   8. What DHCP command to use,  to get DNS (Jim)
   9. Re: lvm2 problem (Chris Tyler)
  10. Re: can't mount dvd, thumb drives, etc (Dr. Michael J. Chudobiak)
  11. Re: What DHCP command to use,  to get DNS (Mikkel L. Ellertson)
  12. Re: HELP (Mikkel L. Ellertson)
  13. Re: What DHCP command to use,  to get DNS (Jim)
  14. Re: spec file for rpms (Phil Meyer)
  15. Re: spec file for rpms (Todd Denniston)
  16. Re: Script help (James Pifer)


----------------------------------------------------------------------

Message: 1
Date: Mon, 22 Sep 2008 12:06:04 -0400
From: jagannar at mskcc.org
Subject: HELP
To: fedora-list at redhat.com
Message-ID:
	<50485078D9769640B2D3326C6C1DC06D2BD588 at SMSKPEXMBX10.MSKCC.ROOT.MSKCC.ORG>
	
Content-Type: text/plain; charset="us-ascii"

 


 
     =====================================================================
     
     Please note that this e-mail and any files transmitted with it may be 
     privileged, confidential, and protected from disclosure under 
     applicable law. If the reader of this message is not the intended 
     recipient, or an employee or agent responsible for delivering this 
     message to the intended recipient, you are hereby notified that any 
     reading, dissemination, distribution, copying, or other use of this 
     communication or any of its attachments is strictly prohibited.  If 
     you have received this communication in error, please notify the 
     sender immediately by replying to this message and deleting this 
     message, any attachments, and all copies and backups from your 
     computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.redhat.com/archives/fedora-list/attachments/20080922/a8d3ded1/attachment.html

------------------------------

Message: 2
Date: Mon, 22 Sep 2008 19:14:10 +0300
From: Jonathan Dieter <jdieter at gmail.com>
Subject: Re: HELP
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <1222100050.32631.1.camel at jdlaptop>
Content-Type: text/plain; charset="us-ascii"

On Mon, 2008-09-22 at 12:06 -0400, jagannar at mskcc.org wrote:
>  
<snip legal stuff>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

/me throws life preserver

Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://www.redhat.com/archives/fedora-list/attachments/20080922/a6ab8738/attachment.bin

------------------------------

Message: 3
Date: Mon, 22 Sep 2008 18:14:33 +0200
From: wwp <subscript at free.fr>
Subject: Re: HELP
To: fedora-list at redhat.com
Message-ID: <20080922181433.5ee7370b at free.fr>
Content-Type: text/plain; charset="us-ascii"

Hello jagannar at mskcc.org,


On Mon, 22 Sep 2008 12:06:04 -0400 jagannar at mskcc.org wrote:

>  
> 
> 
>  
>      =====================================================================
>      
>      Please note that this e-mail and any files transmitted with it may be 
>      privileged, confidential, and protected from disclosure under 
>      applicable law. If the reader of this message is not the intended 
>      recipient, or an employee or agent responsible for delivering this 
>      message to the intended recipient, you are hereby notified that any 
>      reading, dissemination, distribution, copying, or other use of this 
>      communication or any of its attachments is strictly prohibited.  If 
>      you have received this communication in error, please notify the 
>      sender immediately by replying to this message and deleting this 
>      message, any attachments, and all copies and backups from your 
>      computer.

lol, we can't help you asking for help!


Regards,

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://www.redhat.com/archives/fedora-list/attachments/20080922/c4bfae8f/signature.bin

------------------------------

Message: 4
Date: Mon, 22 Sep 2008 09:19:04 -0700
From: "Dan Steele" <dan.steele.d at gmail.com>
Subject: Video card
To: fedora-list at redhat.com
Message-ID:
	<c2b312de0809220919x2b346938ib7594da14ffc2912 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

What is the least amount of memory needed on a video card to take advantage
of all the 3D effects offered by Fedora 9??


Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.redhat.com/archives/fedora-list/attachments/20080922/5cb79888/attachment.html

------------------------------

Message: 5
Date: Mon, 22 Sep 2008 12:31:14 -0400
From: Chris Snook <csnook at redhat.com>
Subject: Re: lvm2 problem
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <48D7C852.8000103 at redhat.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Bogdan Sarandan wrote:
> Hello,
> 
> 
> I want to know if there is any way to recover data from a damage lvm2
> partition. The case is like this. We had a fedora core 7 server and i ran the
> command fsck when the disk was mounted and running. I was not able to boot
> the disk anymore after I typed fsck. Now that disk is in another computer
> running linux. I am not able to mount that partition anymore. The error is
> like this:
> 
> rds:/ # mount /dev/sdb2 /mnt/sdb2 mount: unknown filesystem type
> 'LVM2_member'
> 
> Can you please tell me a way to recover my data from that lvm2 type partition
> ?
> 
> Thanks,
> 

You need to add it to an LVM2 volume group, and then fsck the logical volume. 
Your best chance is to use a backup superblock (see man e2fsck) but if the fsck 
completed, it's probably wiped out.

-- Chris



------------------------------

Message: 6
Date: Mon, 22 Sep 2008 12:35:28 -0400
From: Chris Tyler <chris at tylers.info>
Subject: Re: Video card
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <1222101328.32009.97.camel at localhost6.localdomain6>
Content-Type: text/plain


On Mon, 2008-09-22 at 09:19 -0700, Dan Steele wrote:
> What is the least amount of memory needed on a video card to take
> advantage of all the 3D effects offered by Fedora 9??
> 
> 
> Dan


Hi Dan,

I've run Compiz on 64MB cards. I suspect you could go lower as long as
the memory was at least several times the size of the framebuffer.

Chipset support is really the issue -- almost any contemporary video
card with at least tens of megabytes of RAM should be able to support
Compiz (or kwin's effects) *if* the driver for the card's chipset
supports the COMPOSITE extension.

-Chris




------------------------------

Message: 7
Date: Mon, 22 Sep 2008 12:39:39 -0400
From: Chris Snook <csnook at redhat.com>
Subject: Re: encrypted swap question
To: Dan_Mitton at Bigfoot.com, "Community assistance, encouragement,	and
	advice for using Fedora." <fedora-list at redhat.com>
Message-ID: <48D7CA4B.3000108 at redhat.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

DanMitton wrote:
> So, is it possible to read the passphrase from a USB drive at boot time??   :-? 

The proper way to do it is to read a *key* from a USB drive at boot time.  In F8 
it didn't take too much hacking in /etc/rc.sysinit to load the USB storage 
modules, wait a few seconds to detect the drive, mount it, and then do the luks 
magic to unlock the LVM partition.  I haven't tried in F9.  It would be really 
nice to have this supported by the installer.

-- Chris



------------------------------

Message: 8
Date: Mon, 22 Sep 2008 12:38:59 -0400
From: Jim <mickeyboa at sbcglobal.net>
Subject: What DHCP command to use,  to get DNS
To: Fedora-Maillist <fedora-list at redhat.com>
Message-ID: <48D7CA23.4030407 at sbcglobal.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

FC8
What dhcp command do I use to get DNS number from ISP ?



------------------------------

Message: 9
Date: Mon, 22 Sep 2008 12:45:16 -0400
From: Chris Tyler <chris at tylers.info>
Subject: Re: lvm2 problem
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <1222101916.32009.110.camel at localhost6.localdomain6>
Content-Type: text/plain


On Mon, 2008-09-22 at 12:31 -0400, Chris Snook wrote:
> Bogdan Sarandan wrote:
> > Hello,
> > 
> > 
> > I want to know if there is any way to recover data from a damage lvm2
> > partition. The case is like this. We had a fedora core 7 server and i ran the
> > command fsck when the disk was mounted and running. I was not able to boot
> > the disk anymore after I typed fsck. Now that disk is in another computer
> > running linux. I am not able to mount that partition anymore. The error is
> > like this:
> > 
> > rds:/ # mount /dev/sdb2 /mnt/sdb2 mount: unknown filesystem type
> > 'LVM2_member'
> > 
> > Can you please tell me a way to recover my data from that lvm2 type partition
> > ?
> > 
> > Thanks,
> > 
> 
> You need to add it to an LVM2 volume group, and then fsck the logical volume. 
> Your best chance is to use a backup superblock (see man e2fsck) but if the fsck 
> completed, it's probably wiped out.
> 
> -- Chris
> 

The specific commands you need are vgscan and vgchange; access to the
logical volume will be through /dev/mapper/yourVGname-yourLVname
(or /dev/yourVGname/yourLVname) and not /dev/sdb* (which is the raw
partition containing a PV).

(Although the context is different, there are some examples of
vgscan/vgchange usage here:
http://dailypackage.fedorabook.com/index.php?/archives/159-.html )

-Chris



------------------------------

Message: 10
Date: Mon, 22 Sep 2008 12:52:42 -0400
From: "Dr. Michael J. Chudobiak" <mjc at avtechpulse.com>
Subject: Re: can't mount dvd, thumb drives, etc
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <48D7CD5A.9020603 at avtechpulse.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Dr. Michael J. Chudobiak wrote:
> When I insert a dvd into my drive, or a usb thumb drive into the usb 
> port, the volumes are not auto-mounted. They appear in Nautilus under 
> "Computer", but right-click>mount doesn't work (no error messages appear).

Some follow-up: running "gnome-mount -v -d /dev/sr0" as root works fine. 
However, Nautilus still can't mount the drive as a normal user.


- Mike



------------------------------

Message: 11
Date: Mon, 22 Sep 2008 11:52:54 -0500
From: "Mikkel L. Ellertson" <mikkel at infinity-ltd.com>
Subject: Re: What DHCP command to use,  to get DNS
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <48D7CD66.50703 at infinity-ltd.com>
Content-Type: text/plain; charset="iso-8859-1"

Jim wrote:
> FC8
> What dhcp command do I use to get DNS number from ISP ?
> 
I think you will have to give more details about what you are trying
to do. Normally, you will get the name server information as part of
the DHCP lease. The information will be put in /etc/resolv.conf

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : https://www.redhat.com/archives/fedora-list/attachments/20080922/89839ddf/signature.bin

------------------------------

Message: 12
Date: Mon, 22 Sep 2008 11:49:38 -0500
From: "Mikkel L. Ellertson" <mikkel at infinity-ltd.com>
Subject: Re: HELP
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <48D7CCA2.8060300 at infinity-ltd.com>
Content-Type: text/plain; charset="iso-8859-1"

wwp wrote:
> Hello jagannar at mskcc.org,
> 
> 
> lol, we can't help you asking for help!
> 
> 
> Regards,
> 
> 
Sure we can. :) See:

http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
http://www.catb.org/~esr/faqs/smart-questions.html

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : https://www.redhat.com/archives/fedora-list/attachments/20080922/93e2e443/signature.bin

------------------------------

Message: 13
Date: Mon, 22 Sep 2008 13:13:08 -0400
From: Jim <mickeyboa at sbcglobal.net>
Subject: Re: What DHCP command to use,  to get DNS
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <48D7D224.4020208 at sbcglobal.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Mikkel L. Ellertson wrote:
> Jim wrote:
>   
>> FC8
>> What dhcp command do I use to get DNS number from ISP ?
>>
>>     
> I think you will have to give more details about what you are trying
> to do. Normally, you will get the name server information as part of
> the DHCP lease. The information will be put in /etc/resolv.conf
>
> Mikkel
>   
I know how to make all settings change, I just want to get the DNS # .

Thank you



------------------------------

Message: 14
Date: Mon, 22 Sep 2008 11:50:54 -0600
From: Phil Meyer <pmeyer at themeyerfarm.com>
Subject: Re: spec file for rpms
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <48D7DAFE.80703 at themeyerfarm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

David Hláèik wrote:
> 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

Both vim and emacs will create a basic spec for you by simply editing a 
non existant spec file.

$ vim new.spec

will create a basic spec file if new.spec does not exist in the current 
directory.

However, creating good spec files is a bit of a black art, I am afraid 
to say.

You will need to install:

rpmdevtools

and run:

/usr/bin/rpmdev-setuptree

That creates your rpmbuild directory tree.

 From there, you will find the field is broad, and the sky is the limit. :)

There are tools to watch 'make install' to discover what happens and 
duplicate it for a %files section for a spec file, but using those tools 
is a separate art form in itself.

I have found that most apps using 'configure' (automake) tools will have 
fairly easy to read install: sections in the generated Makefile. 

The rpm spec file: %files section allows for directories, making it easier.

So basically, make a generic .spec file, copy the source tarball to 
~/rpmbuild/SOURCES, try: rpmbuild -ba my.spec, and watch for errors, 
like the naming of the tar ball has to match the versioning specified in 
the spec file.  Also the directory that the tar ball is extracted into 
should match the version.

That is the simplest form.

You will want some references:

http://www.rpm.org/max-rpm/index.html

http://docs.fedoraproject.org/drafts/rpm-guide-en/
Look for the section called: Creating the spec file

One last piece of advice:
Always run rpmbuild as your user, and NOT root.  If your .spec file 
needs root to do something, you are doing it wrong. :)

Good Luck!





------------------------------

Message: 15
Date: Mon, 22 Sep 2008 13:55:15 -0400
From: Todd Denniston <Todd.Denniston at ssa.crane.navy.mil>
Subject: Re: spec file for rpms
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <48D7DC03.6040704 at ssa.crane.navy.mil>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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



------------------------------

Message: 16
Date: Mon, 22 Sep 2008 13:56:00 -0400
From: James Pifer <jep at obrien-pifer.com>
Subject: Re: Script help
To: "Community assistance, encouragement,	and advice for using
	Fedora." <fedora-list at redhat.com>
Message-ID: <1222106160.32638.39.camel at storage.obrien-pifer.com>
Content-Type: text/plain

> Point... just that the OP never stated that the files were in 
> exactly one dir and that duplicate file names were  or were not possible.
> Yes close timestamps are also an issue (see stat).

Hi. OP here. Files are all in the same dir. Duplicates obviously not an
issue. Everything is working. Thanks to everyone.

James



------------------------------

--
fedora-list mailing list
fedora-list at redhat.com
https://www.redhat.com/mailman/listinfo/fedora-list

End of fedora-list Digest, Vol 55, Issue 189
********************************************






More information about the fedora-list mailing list