file system overhead
by Wolfgang S. Rupprecht
What is the filesystem overhead percentage supposed to be for FC4
systems? I have 2 200GB disks attached to the system and I let FC4 do
its thing and claim all of the space for itself. When I do a df(1) I
see that only 279 x 1024^3 bytes are available after overhead. That
comes out to only 71% of the original disk space. Over 128GB is being
lost. Is there really supposed to be that much overhead used?
In contrast, on a BSD system under I see only about 5% overhead when
looking at df(1). Thats more in line with what I'd expect for the
space taken by inodes.
$ fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 24321 195254010 8e Linux LVM
Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 24321 195358401 8e Linux LVM
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
279074448 243021012 21648624 92% /
/dev/sda1 101086 15086 80781 16% /boot
/dev/shm 2024208 0 2024208 0% /dev/shm
-wolfgang
--
Wolfgang S. Rupprecht http://www.wsrcc.com/wolfgang/
Direct SIP URL Dialing: http://www.wsrcc.com/wolfgang/phonedirectory.html
18 years, 2 months
Re: needed help on MINICOM
by Tod Merley
>
>
> Date: Thu, 02 Feb 2006 14:32:49 +0900
> From: Gowri Satish Adimulam <gowri(a)bitel.co.kr>
> Subject: Re: needed help on MINICOM
> To: For users of Fedora Core releases <fedora-list(a)redhat.com>
> Message-ID: <1138858369.2845.32.camel(a)localhost.localdomain>
> Content-Type: text/plain
>
>
> iam logged on as superuser.
>
> I have pasted the permissions for all ttyS0 ..s3
>
> crw-rw---- 1 root uucp 4, 65 Feb 2 14:11 ttyS1
> [root@localhost dev]# ls -lrt ttyS2
> crw-rw---- 1 root uucp 4, 66 Feb 2 2006 ttyS2
> [root@localhost dev]# ls -lrt ttyS3
> crw-rw---- 1 root uucp 4, 67 Feb 2 2006 ttyS3
> [root@localhost dev]# ls -lrt ttyS0
> crw-rw---- 1 root uucp 4, 64 Feb 2 14:30 ttyS0
>
>
> I have also tried to ttys1 and ttys0 , but same result .
>
> do any of you have sample DF1 file , iy yes please send it to me.
>
> reagards
> Gowri
>
>
> On Wed, 2006-02-01 at 23:20 -0600, Mike McCarty wrote:
> > Gowri Satish Adimulam wrote:
> > > Hi ,
> > > Iam try to use minicom as simple com-port, it is connected to embedded
> > > system board via RS 232 cable.
> > >
> > >
> > > in minicom ->serial port setup i have set as
> > >
> > > ttyS3,
> > > baud rate 57600 8n1 which in acordance with embedded system.
> > >
> > >
> > >
> > > When my embedded systme boots up , there should be some messages
> > > displayed on my com port , but unfortunately its not happening.
> > >
> > > i have verified the same setup in windows using hyperterminal it is
> > > working fine.
> > >
> > > do i need to do any thing more in the setup.
> > >
> > > Thanks in Advance.
> >
Hi Gowri!
A couple of thoughts. When it is connected with Hyperterminal, look into
the hyperterinal com port settings. The baud rate, data bits, parity, stop
bits, hardware flow control, and software flow control settings. In minicom
these appear to be under ^A P for the baud rate, stop bits. and parity - and
a ^A O selecting Serial Port Setup to set the hardware and software flow
control.
Good hunting!
Tod
18 years, 2 months
Re: iptables rules to connect through a linux firewall.
by Tod Merley
>
>
> Date: Wed, 25 Jan 2006 13:27:44 +0000
> From: Dan Track <dan.track(a)gmail.com>
> Subject: iptables rules to connect through a linux firewall.
> To: For users of Fedora Core releases <fedora-list(a)redhat.com>
> Message-ID:
> <9d5ddd1f0601250527y26981a0fifa9ca379fd2910bb(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I'm trying to connect a windows XP client to a remote pptp server. I'm
> using
> windows XP at home on my home network which connects to the internet via a
> fedora linux firewall using iptables with nat.
>
> What iptables rules do I need to insert to allow this to happen. I guess I
> just need to forward packets.
>
> Thanks in advance for your help.
>
> Dan
>
Hi Dan!
Check out 48.5 in the webpage referenced below:
http://www.ecst.csuchico.edu/~dranch/LINUX/TrinityOS/cHTML/TrinityOS-c-48...
In Ubuntu Breezy, BTW, the ppp files are .ko rather than .o if you get into
wanting to run it in Linux.
Enjoy!
Tod
18 years, 2 months
FC4 - Does Fedora recognizes memory?
by Hoffmann
Hello:
In the future, I intend to add more memory to my
machine. Does Fedora (automatically) recognizes the
new memory, as Windows does?
Thanks,
Hoffmann
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
18 years, 2 months
lyx RPMs
by Globe Trotter
Does anyone know where I can get lyx RPMs for FC4?
Many thanks!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
18 years, 2 months
I lost my system tray with the klipper in it.
by ron
Hello,
I seem to have lost my system tray with the klipper in it. Can anyone
help me.
Also can you point me to documentation on how to configure files for the
menulist. I am having problems with where and how to configure kde.
--
ron
18 years, 2 months
Re: Problems with KDevelop
by Mark Thomas
From: Arthur Pemberton <pemboa(a)gmail.com>
Subject: Re: Problems with KDevelop
To: For users of Fedora Core releases <fedora-list(a)redhat.com>
Message-ID:
<16de708d0602011313u431b35bbh9d051a864c58bcdb(a)mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On 2/1/06, Mark Thomas <thomamd(a)interlynx.net> wrote:
>
> Is the FC4 DVD installation of KDevelop complete? The ony C/C++ program
> that I can get to successfully compile is the Konsol version of "Hello
> World." The GUI version aborts with a status 77 (which I assume is that it
> cannot find the comiler (based on the config.log). The KDE Framework
> sample does not compile because it reports missing headers. To try and fix
> the problem, I did a re-install everything, but the errors persist. It is
> not that I miss-typed something because I am rusing the included example.
> While on the web looking at KDE tutorials and stuff, all the pages assume
> that it works, although there is no mention of Fedora and instead mentions
> other Linux versions.
>
Did you install the X and Qt devel pacakages?
Also, I would be interested in hearing about good links and lists devoted to
> Linux programming with C/C++.
>
I would like that too.
For some reason, things are starting to work now. The remaining problem (which I am not overly concerned about) is the the simple WIN32 Hello program does not compile. The reason is that FC4 is packaged with qt-3.3 and not 3.2 which the program wants.
I guess now I have a lot of reading to do. I hope that I read where I can get a hardcopy of the manual
18 years, 2 months
iptables rules to connect through a linux firewall.
by Dan Track
Hi,
I'm trying to connect a windows XP client to a remote pptp server. I'm using
windows XP at home on my home network which connects to the internet via a
fedora linux firewall using iptables with nat.
What iptables rules do I need to insert to allow this to happen. I guess I
just need to forward packets.
Thanks in advance for your help.
Dan
18 years, 2 months
Spamassassin emails have wrong perms
by Justin Willmert
I am hoping somebody can help me solve a problem I am having with
procmail and spamassassin (specifically spamd). When spamassassin has
marked a message as spam, it gets sorted to a Junk folder, but the
problem is that it is owned by root:mail when it should be owned by the
user. When this happens, dovecot will not serve the email to the user. I
sort other emails into folders with simple matching rules and those work
fine. Spamassassin is the only rule that is piped out to a program.
Here is the relevant portion my procmailrc file:
DROPPRIV=yes # Make this run as a normal user. If
you need
# root privileges for something, do
it before
# this line.
# Send mail through spamassassin
:0fw
| spamc -u $LOGNAME
# Now that we've tagged the spam, put in the appropriate folder
:0
* ^X-Spam-Status: Yes
.Junk/
I've tried taking the -u $LOGNAME portion out too and that doesn't work.
Following is a maillog sample.
Jan 29 17:47:11 netserv sendmail[19847]: k0TNlAig019847: Milter add:
header: X-Virus-Scanned: ClamAV 0.88/1257/Sun Jan 29 09:15:47 2006
on mydomain.com
Jan 29 17:47:11 netserv sendmail[19847]: k0TNlAig019847: Milter add:
header: X-Virus-Status: Clean
Jan 29 17:47:11 netserv spamd[19654]: connection from mydomain.com
[127.0.0.1] at port 57905
Jan 29 17:47:11 netserv spamd[19654]: handle_user: unable to find
user 'justin'!
Jan 29 17:47:11 netserv spamd[19654]: Still running as root: user
not specified with -u, not found, or set to root. Fall back to nobody.
Jan 29 17:47:11 netserv spamd[19654]: processing message
<BAY107-F2792E57045186E9EED3A038A160(a)phx.gbl> for justin:99.
Jan 29 17:47:11 netserv spamd[19654]: cannot write to
/etc/mail/bayes/bayes_journal, Bayes db update ignored: Permission
denied
Jan 29 17:47:13 netserv spamd[19654]: clean message (1.7/5.0) for
justin:99 in 1.5 seconds, 1076 bytes.
Jan 29 17:47:13 netserv spamd[19654]: result: . 1 -
BAYES_50,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER
scantime=1.5,size=1076,mid=<BAY107-F2792E57045186E9EED3A038A160(a)phx.gbl>,bayes=0.499999999735837,autolearn=no
Jan 29 17:47:13 netserv sendmail[19849]: k0TNlAig019847:
to=<justin(a)mydomain.com>, delay=00:00:02, xdelay=00:00:02,
mailer=local, pri=30995, dsn=2.0.0, stat=Sent
As you can see, I've also got a problem with not being able to access
the bayes_journal. I've put it in it's own directory and made them owned
by nobody:staff and still nothing. Anyway, here is my local.cf file:
# These values can be overridden by editing
~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)
# How many hits before a message is considered spam. The lower the
number, the
# more sensitive it is.
required_hits 5
# Encapsulate spam in an attachment (0=No, 1=Yes in message/rfc822,
# 2=Yes in text/plain)
report_safe 0
# Text to prepend to subject of spam
rewrite_header Subject [SPAM]
# Enable the Bayes System
use_bayes 1
# Enable Bayes auto-learning
bayes_auto_learn 1
# Mail using languages used in these country codes will not be
marked as being
# possibly spam in a foreign language.
ok_languages en
I'd be happy to send along any other information you need. Thanks for
help in advance.
Justin Willmert
18 years, 2 months
Re: Spamassassin emails have wrong perms -- CC'ed to selinux list
by Justin Willmert
Ivan Gyurdiev wrote:
>
>> I'm cc-ing this to the fedora-selinux-list. I think some of the
>> problems may be applicable there.
>>
>> OK, after some more testing, when I disable SELinux, many of the
>> errors go away. First of all, I get rid of the error message saying
>> user can not be found and with it the 'still running as root' error.
>> Second, it is able to access the bayes_journal file (as long as
>> normal unix permissions are right, which I've figured out). So I
>> guess the problem is an SELinux issue which I can't solve. I'd attach
>> some avc error messages, but I can't seem to find any. I've looked in
>> maillog, secure, and messages, but nothing.
> Have you looked in the audit log, where all such messages are usually
> found ?
> /var/log/audit.log
>
Below is what showed up in audit/audit.log when I sent a message through
spamassassin. I'm _*really*_ rusty on SELinux...it's the one thing I
have to deal with quite often that I haven't been able to learn how to
use...it's so foreign to me. I've never looked in audit.log before: the
avc messages used to show up in messages, but now as far back as my logs
go, I don't have a single avc message. This all looks like jibberish to
me, so I need your guy's help.
Thanks,
Justin
type=AVC msg=audit(1138596151.681:104174): avc: denied {
name_connect } for pid=23796 comm="spamd" dest=389
scontext=root:system_r:spamd_t
tcontext=system_u:object_r:ldap_port_t tclass=tcp_socket
type=SYSCALL msg=audit(1138596151.681:104174): arch=40000003
syscall=102 success=no exit=-13 a0=3 a1=bfb2dc20 a2=1229cb8 a3=7
items=0 pid=23796 auid=600 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0
sgid=0 fsgid=0 comm="spamd" exe="/usr/bin/perl"
type=SOCKADDR msg=audit(1138596151.681:104174):
saddr=02000185C0A801940000000000000000
type=SOCKETCALL msg=audit(1138596151.681:104174): nargs=3 a0=7
a1=9b1fe80 a2=10
type=AVC msg=audit(1138596153.220:104175): avc: denied {
name_connect } for pid=23796 comm="spamd" dest=389
scontext=root:system_r:spamd_t
tcontext=system_u:object_r:ldap_port_t tclass=tcp_socket
type=SYSCALL msg=audit(1138596153.220:104175): arch=40000003
syscall=102 success=no exit=-13 a0=3 a1=bfb2dc20 a2=1229cb8 a3=7
items=0 pid=23796 auid=600 uid=0 gid=0 euid=99 suid=0 fsuid=99
egid=99 sgid=0 fsgid=99 comm="spamd" exe="/usr/bin/perl"
type=SOCKADDR msg=audit(1138596153.220:104175):
saddr=02000185C0A801940000000000000000
type=SOCKETCALL msg=audit(1138596153.220:104175): nargs=3 a0=7
a1=9b6a6f0 a2=10
type=AVC msg=audit(1138596160.388:104176): avc: denied {
name_connect } for pid=23797 comm="spamd" dest=389
scontext=root:system_r:spamd_t
tcontext=system_u:object_r:ldap_port_t tclass=tcp_socket
type=SYSCALL msg=audit(1138596160.388:104176): arch=40000003
syscall=102 success=no exit=-13 a0=3 a1=bfb2dc20 a2=1229cb8 a3=7
items=0 pid=23797 auid=600 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0
sgid=0 fsgid=0 comm="spamd" exe="/usr/bin/perl"
type=SOCKADDR msg=audit(1138596160.388:104176):
saddr=02000185C0A801940000000000000000
type=SOCKETCALL msg=audit(1138596160.388:104176): nargs=3 a0=7
a1=9b20050 a2=10
type=AVC msg=audit(1138596164.032:104177): avc: denied {
name_connect } for pid=23797 comm="spamd" dest=389
scontext=root:system_r:spamd_t
tcontext=system_u:object_r:ldap_port_t tclass=tcp_socket
type=SYSCALL msg=audit(1138596164.032:104177): arch=40000003
syscall=102 success=no exit=-13 a0=3 a1=bfb2dc20 a2=1229cb8 a3=7
items=0 pid=23797 auid=600 uid=0 gid=0 euid=99 suid=0 fsuid=99
egid=99 sgid=0 fsgid=99 comm="spamd" exe="/usr/bin/perl"
type=SOCKADDR msg=audit(1138596164.032:104177):
saddr=02000185C0A801940000000000000000
type=SOCKETCALL msg=audit(1138596164.032:104177): nargs=3 a0=7
a1=9b84af0 a2=10
18 years, 2 months