Re: Configuring GW to DSL Internet

2010-01-06 Thread Didar Hossain
On Wed, Jan 6, 2010 at 1:15 PM, j.halifax .  wrote:
> Hi All,
>
> Pleaase help me in configuring FC12_64 as DHCP & FW & GW to ADSL Internet.
>
> I have:
> - eth0 (xxx.39.189.92) connected to one port of the DSL router, eth0 
> configured with DSN' of ISP
> - eth2 (10.255.250.37) connected to the local LAN, eth2 configured with DNS' 
> of ISP
> - DNS' of ISP are defined also in resolv.conf
> - named is running
> - dnsmasq running for eth0 (connected to DSL router port)
> - iptables running
> - FW has dns ports (53) open
> - FW has eth2 (to internal LAN) as trusted interface
> - Internet is accessible in that box (via eth0), websites in internal LAN as 
> well (via eth2).
>
> >From another box in the LAN:
>> ping 10.255.250.37
>    responds normal way
>> host isp.com 10.255.250.37
>   doesn't respond
>   (in the 10.255.250.37 box the tcpdump shows requests coming in port 53, but 
> they are not forwarded to superior ISP DNS and SUGHUP1 to dnsmasq reports 0 
> requests received/answered/failed/retried/sent)
>
> My question is: What is it incorect in my configuratins?

Maybe you need to -
echo 1 > /proc/sys/net/ipv4/ip_forward

and

iptable -t nat -A POSTROUTING -s 10.255.250.0/24 -j SNAT --to xxx.39.189.92


Regards,
Didar

-- 
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: Configuring GW to DSL Internet

2010-01-06 Thread Didar Hossain
On Wed, Jan 6, 2010 at 2:15 PM, Didar Hossain  wrote:
> On Wed, Jan 6, 2010 at 1:15 PM, j.halifax .  wrote:
>> Hi All,
>>
>> Pleaase help me in configuring FC12_64 as DHCP & FW & GW to ADSL Internet.
>>
>> I have:
>> - eth0 (xxx.39.189.92) connected to one port of the DSL router, eth0 
>> configured with DSN' of ISP
>> - eth2 (10.255.250.37) connected to the local LAN, eth2 configured with DNS' 
>> of ISP
>> - DNS' of ISP are defined also in resolv.conf
>> - named is running
>> - dnsmasq running for eth0 (connected to DSL router port)
>> - iptables running
>> - FW has dns ports (53) open
>> - FW has eth2 (to internal LAN) as trusted interface
>> - Internet is accessible in that box (via eth0), websites in internal LAN as 
>> well (via eth2).
>>
>> >From another box in the LAN:
>>> ping 10.255.250.37
>>    responds normal way
>>> host isp.com 10.255.250.37
>>   doesn't respond
>>   (in the 10.255.250.37 box the tcpdump shows requests coming in port 53, 
>> but they are not forwarded to superior ISP DNS and SUGHUP1 to dnsmasq 
>> reports 0 requests received/answered/failed/retried/sent)
>>
>> My question is: What is it incorect in my configuratins?
>
> Maybe you need to -
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> and
>
> iptable -t nat -A POSTROUTING -s 10.255.250.0/24 -j SNAT --to xxx.39.189.92

Assuming, you set up 10.255.250.0 as class C - not right, but, people
do it sometimes.

Didar

-- 
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: Gnome applications and .bash_profile

2009-11-01 Thread Didar Hossain
On Sun, Nov 1, 2009 at 1:57 PM, Didar Hossain  wrote:
> On Sun, Nov 1, 2009 at 8:04 AM, Mikkel  wrote:
>> Jonathan Ryshpan wrote:
>>> It looks like environment variables set in .bash_profile are visible
>>> to applications started in gnome but not via a shell.  For example
>>> evolution knows when I modify LC_COLLATE.
>>>
>> It depends on the type of shell. Only a login shell reads
>> .bash_profile. If you are starting a (x)terminal, and launching the
>> program from there, the default is not to run your as a login shell.
>
> Stuff that you need defined irrespective of the type of shell should go in
> ~/.bashrc

Correction: ~/.bashrc is for non-login shells *only*. So, you will need to put
the stuff in both ~/.bashrc and ~/.bash_profile

Didar

-- 
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: Gnome applications and .bash_profile

2009-11-01 Thread Didar Hossain
On Sun, Nov 1, 2009 at 8:04 AM, Mikkel  wrote:
> Jonathan Ryshpan wrote:
>> It looks like environment variables set in .bash_profile are visible
>> to applications started in gnome but not via a shell.  For example
>> evolution knows when I modify LC_COLLATE.
>>
> It depends on the type of shell. Only a login shell reads
> .bash_profile. If you are starting a (x)terminal, and launching the
> program from there, the default is not to run your as a login shell.

Stuff that you need defined irrespective of the type of shell should go in
~/.bashrc

Didar

-- 
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 list this data -

2009-11-01 Thread Didar Hossain
On Sun, Nov 1, 2009 at 1:24 PM, Joachim Backes
 wrote:
> On 10/31/2009 07:41 PM, Bob Goodwin wrote:
>>
>> I can extract the following usage data from the Wildblue html usage
>> screen.
>> I would like to have them in a file that would put the data on a
>> horizontal line separated by some white space perhaps.
>>
>> My objective being to keep a record of daily bandwidth usage. [35% or
>> 6.0 gB is my current usage, 17.0 the 30 day download allotment, the
>> other numbers for upload usage.]
>>
>> [b...@box9 ~]$ cat /home/bobg/usg.txt
>>
>> 35 %
>> 6.0
>> 17.0
>> 8 %
>> 0.4
>> 5.0
>>
>> I've been puzzling over this since yesterday, I'm sure there must be a
>> simple solution but I just haven't found it.
>>
>> Can someone point me in the right direction?
>>
>> Bob
>>
>>
>>
>> .
>>
>
> With bash only: cat /home/bobg/usg.txt | tr "\n" " "

Complete shell "in-process" implementation -

$ echo `< usg.txt`

or


$ echo $(< usg.txt)


Didar

-- 
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 Num lock on by default

2009-10-10 Thread Didar Hossain
On Sun, Oct 11, 2009 at 12:01 PM, Didar Hossain  wrote:
> Use `setled' if in runlevel 3 or `xset -led' (RTFM) under X.

Typo - setleds

Didar

-- 
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 Num lock on by default

2009-10-10 Thread Didar Hossain
On Sun, Oct 11, 2009 at 11:32 AM, Hiisi  wrote:
> 2009/10/11 Kam Leo :
>> On Sat, Oct 10, 2009 at 10:46 PM, Hiisi  wrote:
>>> 2009/10/11 suvayu ali :
 Hi everyone,
> <--SNIP-->
>  But it seemed to me that only
 works in runlevel 5.
> <--SNIP-->
>>
>> NumLockX may not help you in runlevel 3.  You might have to run the
>> script listed at  http://www.userlocal.com/tips/activatingnumlock.php
>>
> It seems to me the OP asked how to set Num on by default not in
> runlevel: 5 either

Use `setled' if in runlevel 3 or `xset -led' (RTFM) under X.

HTH,
Didar

-- 
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: libvirtd and public access to guests

2009-10-10 Thread Didar Hossain
On Sat, Oct 10, 2009 at 2:26 PM, Didar Hossain  wrote:
> On Thu, Oct 8, 2009 at 3:32 PM, Pavel Lisy  wrote:
>> Hello
>>
>> I've started playing with libvirt and I have question?
>>
>> What is proper way to make guest accessible from net.
>>
>> I have mode=nat /var/lib/libvirt/network/default.xml.
>>
>> libvirtd makes this rules in FORWARD chain
>>
>> -A FORWARD -d 192.168.231.0/24 -o virbr0 -m state --state 
>> RELATED,ESTABLISHED -j ACCEPT
>> -A FORWARD -s 192.168.231.0/24 -i virbr0 -j ACCEPT
>> -A FORWARD -i virbr0 -o virbr0 -j ACCEPT
>> -A FORWARD -o virbr0 -j REJECT --reject-with icmp-port-unreachable
>> -A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-unreachable
>> -A FORWARD -j REJECT --reject-with icmp-host-prohibited
>>
>> If I add
>> iptables -I FORWARD -i eth0 -o virbr0 -j ACCEPT
>> guests are accessible
>>
>> My question is:
>> Is is possible write this somewhere to configuration?
>>
>> I've tried to put it in /etc/sysconfig/iptables but it libvirtd put his
>> rules before mine.
>>
>>
>> I've found two directories
>> /var/lib/libvirt/iptables/filter
>> /var/lib/libvirt/iptables/nat
>
> I was hoping someone with more experience would help you on this issue.
>
> It is better to write your own rules than messing with these files
> (/var/lib/libvirt).
>
> The default network mode of libvirt is a private network behind NAT.
> The guests are provided
> an IP address via DHCP. If you want a guest to be accessible from the
> Internet then you will
> have to configure static IP in your guest, ensure that you give an IP
> in the 192.168.231.0/24
> range.
>
> Then you will have to set up DNAT iptable rules. AFAIK, to prevent
> libvirt from overriding your
> rules, you should be using "-I" (INSERT) instead of "-A" (APPEND). Put
> your rules in the file
> /etc/sysconfig/iptables
>
> This is the theory. I *do not* use libvirt. I use VDE for my
> networking with command line KVM.
>
> HTH,
> Didar
>

Forgot to add - you have to "INSERT" the rules in reverse order so
that the correct sequence
of rules are put in place.

Didar

-- 
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: libvirtd and public access to guests

2009-10-10 Thread Didar Hossain
On Thu, Oct 8, 2009 at 3:32 PM, Pavel Lisy  wrote:
> Hello
>
> I've started playing with libvirt and I have question?
>
> What is proper way to make guest accessible from net.
>
> I have mode=nat /var/lib/libvirt/network/default.xml.
>
> libvirtd makes this rules in FORWARD chain
>
> -A FORWARD -d 192.168.231.0/24 -o virbr0 -m state --state RELATED,ESTABLISHED 
> -j ACCEPT
> -A FORWARD -s 192.168.231.0/24 -i virbr0 -j ACCEPT
> -A FORWARD -i virbr0 -o virbr0 -j ACCEPT
> -A FORWARD -o virbr0 -j REJECT --reject-with icmp-port-unreachable
> -A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-unreachable
> -A FORWARD -j REJECT --reject-with icmp-host-prohibited
>
> If I add
> iptables -I FORWARD -i eth0 -o virbr0 -j ACCEPT
> guests are accessible
>
> My question is:
> Is is possible write this somewhere to configuration?
>
> I've tried to put it in /etc/sysconfig/iptables but it libvirtd put his
> rules before mine.
>
>
> I've found two directories
> /var/lib/libvirt/iptables/filter
> /var/lib/libvirt/iptables/nat

I was hoping someone with more experience would help you on this issue.

It is better to write your own rules than messing with these files
(/var/lib/libvirt).

The default network mode of libvirt is a private network behind NAT.
The guests are provided
an IP address via DHCP. If you want a guest to be accessible from the
Internet then you will
have to configure static IP in your guest, ensure that you give an IP
in the 192.168.231.0/24
range.

Then you will have to set up DNAT iptable rules. AFAIK, to prevent
libvirt from overriding your
rules, you should be using "-I" (INSERT) instead of "-A" (APPEND). Put
your rules in the file
/etc/sysconfig/iptables

This is the theory. I *do not* use libvirt. I use VDE for my
networking with command line KVM.

HTH,
Didar

-- 
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: USB wireless broadband modem from Vodafone on F11 HOW TO CONNECT?

2009-10-10 Thread Didar Hossain
On Thu, Oct 8, 2009 at 7:27 PM, L  wrote:

>
>
> On Thu, Oct 8, 2009 at 11:13 PM, L  wrote:
>
>>
>> thanks, my modem is E620 too. after activated, i was give
>>
>> account number 4000x
>> MSISDN 0451xx  alike mobile number
>> pin xx
>>
>> which of these is phone, password and username in wvdial,conf
>>
>> thanks for your help
>>
>> fater put this
>
> phone = *99#
> username = 0451xx
> password=
>
> in the wvdial.conf
>
> I get this messege
>
>
>
>
>> YATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> OK
>> --> Modem initialized.
>> --> Cannot get information for serial port.
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> OK
>> --> Modem initialized.
>> --> Sending: ATDT*99#
>> --> Waiting for carrier.
>> ATDT*99#
>> CONNECT
>> --> Carrier detected.  Starting PPP immediately.
>> --> Starting pppd at Fri Oct  9 00:52:53 2009
>> --> Pid of pppd: 6947
>> --> pppd: H[1b]< `[19]<
>> --> Using interface ppp0
>> --> pppd: H[1b]< `[19]<
>> --> pppd: H[1b]< `[19]<
>> --> Authentication (CHAP) started
>> --> pppd: H[1b]< `[19]<
>> --> pppd: H[1b]< `[19]<
>> --> Authentication (CHAP) started
>> --> pppd: H[1b]< `[19]<
>> --> pppd: H[1b]< `[19]<
>> --> Authentication (CHAP) successful
>> --> pppd: H[1b]< `[19]<
>> --> pppd: H[1b]< `[19]<
>> --> pppd: H[1b]< `[19]<
>> --> pppd: H[1b]< `[19]<
>> --> pppd: H[1b]< `[19]<
>> --> pppd: H[1b]< `[19]<
>> --> Disconnecting at Fri Oct  9 00:52:58 2009
>> --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
>> --> man pppd explains pppd error codes in more detail.
>> --> Try again and look into /var/log/messages and the wvdial and pppd man
>> pages for more information.
>> --> Auto Reconnect will be attempted in 20 seconds
>> --> Cannot get information for serial port.
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
>> OK
>>
>
Does it not connect at all. Error 16 means modem hang-up. It happened to me
once, but, I could connect after wvdial redialed.

Regards,
Didar
-- 
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: USB wireless broadband modem from Vodafone on F11 HOW TO CONNECT?

2009-10-08 Thread Didar Hossain
On Wed, Oct 7, 2009 at 3:46 PM, L  wrote:

>
>
> On Tue, Oct 6, 2009 at 1:09 AM, kalinix wrote:
>
>>  On Mon, 2009-10-05 at 19:09 +1100, L wrote:
>>
>> Hi,
>>
>> I plan to get a USB wireless Broadband modem from 
>> Vodafonehttp://www.vodafone.com.au/personal/mobilebroadband/mobile-broadband-prepaid.htm
>>
>> The deal seems attractive. any of you have this USB modem work on
>> Fedora 11 via NM?
>>
>> I am happy to hear you experiences with Vodafone USB wireless modem.
>>
>> Y
>>
>>
>>
>> I do, and it works ok both from NM and cli (through wvdial).
>>
>> However there is also https://forge.betavine.net/
>>
>>
>>
>> Could you show some steps? after plug this USB modem in, I got message
> usb 2-1: new full speed USB device using uhci_hcd and address 5
> usb 2-1: New USB device found, idVendor=12d1, idProduct=1001
> usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=1
> usb 2-1: Product: HUAWEI Mobile
> usb 2-1: Manufacturer: ���
> usb 2-1: SerialNumber: ���
> usb 2-1: configuration #1 chosen from 1 choice
> option 2-1:1.0: GSM modem (1-port) converter detected
> usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
> option 2-1:1.1: GSM modem (1-port) converter detected
> usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
> option 2-1:1.2: GSM modem (1-port) converter detected
> usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
> usb-storage: probe of 2-1:1.3 failed with error -1
>
> NM does not show any response.
>

That one is the Huawei E620 USB modem (grep -i huawei -A 5
/var/lib/misc/usb.ids)

As root, you will need to run "wvdialconf" - this will create a
"/etc/wvdial.conf" file.
You will just need to update the "Phone", "Username" and "Password" entries.

Here is how my "/etc/wvdial.conf" looks -

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Phone = 
Password = xxx
Username = 
Stupid Mode = On

I had to put in the "Stupid Mode = On" line myself. The other lines were put
in by `wvdialconf'.
Note: I am using the Huawei EC1260 USB modem, so your "Init1" and "Init2"
strings may come
out different.

I am using an older NM (Network-Manager) where dialup is broken, so can't
help you there.

Regards,
Didar
-- 
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 Accessible User Directories

2009-10-07 Thread Didar Hossain
On Tue, Oct 6, 2009 at 11:48 PM, Manish Kathuria
 wrote:
> Hello,
>
> Is there any way to make the user home directories on a Linux system
> accessible through a  password protected web interface ?  I am looking for
> ways to make users access the data lying in their respective directories
> through a web browser. A simple option is to run a ftp server and use the
> FTP protocol through a web browser, which however, is the last choice.
>
> Alternatively, is there any application which can authenticate users and
> make their designated directories (which may or may not be under home
> directories) accessible through a web interface ?
>
> I would appreciate some suggestions or pointers.

You could try out WebDAV. (Apached + mod_dav).

I also got a few results for specialized file manager WebApps by doing a search
for "web file manager".

Regards,
Didar

-- 
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: Any Recommendations for Fedora11 'N' Wireless PCI Cards

2009-09-14 Thread Didar Hossain
On Sat, Sep 12, 2009 at 3:52 AM, Randy Gordey  wrote:
> I am really looking for success stories with your particular manufacturer's
> card(s). But if you only speak chipsets thats fine too. Recognized under the
> current Kernel without much tweeking is optimal. Think large company
> standardization.

I would give my thumbs up for Intel wireless - although, last I
checked it required a binary blobs. My current wireless card works
with Windows drivers using `ndiswrapper' (Atheros wireless chipset if
you are curious)

Didar

-- 
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: pseudo terminals

2009-09-10 Thread Didar Hossain
On Thu, Sep 10, 2009 at 1:51 PM, Didar Hossain  wrote:
> On Thu, Sep 10, 2009 at 8:42 PM, devi  wrote:
>> Hi,
>>        I think , I have not explained it correctly, in the first mail.  I 
>> mean

[pedantic]
Also, please continue with the thread that you start.
[/pedantic]

Didar

-- 
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: pseudo terminals

2009-09-10 Thread Didar Hossain
On Thu, Sep 10, 2009 at 8:42 PM, devi  wrote:
> Hi,
>        I think , I have not explained it correctly, in the first mail.  I mean
> that
> "echo "service httpd status" > /dev/pts/2", is executed in first
> terminal(/dev/pts/1),  and the output is redirected to the /dev/pts/2.
> Here /dev/pts/2 is the terminal of another machine to which we are
> connnected and is a virtual machine.
> But the output directed here is a command, so what happens is that,
> the output of the first terminal, is actually executed as a command in
> the /dev/pts/2 terminal, because the output is redirected directly to
> the terminal.
>
> And I know the pty of the first terminal, I got it by command "tty".
>
> Now, my requirement is that, after the command "service httpd status" is
> executed on the /dev/pts/2.  I want to redirect or get the output on the
> first terminal(/dev/pts/1).

Use `ssh' to accomplish what you are doing.

Didar

-- 
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: SELinux Exim Problem

2009-09-10 Thread Didar Hossain
On Thu, Sep 10, 2009 at 7:52 AM, Gordon Messmer  wrote:
> Right.  IIRC, because some elements of the path may be symlinks or bind
> mounts, statvfs will stat() the path argument, and then stat() each
> filesystem in /proc/mounts.  It will compare the st_dev elements of each
> filesystem listed to the st_dev from the path in order to determine which fs
> actually contains the path argument.
>
> The question I'd ask is why exim is using statvfs() instead of statfs().

>From statfs(2):

CONFORMING TO
   Linux-specific.  The Linux statfs() was inspired by the 4.4BSD one (but
   they do not use the same structure).

NOTES
   The  kernel  has  system  calls  statfs(),  fstatfs(),  statfs64(), and
   fstatfs64() to support this library call.

   Some  systems  only  have  ,   other   systems   also   have
   ,  where  the  former  includes  the latter.  So it seems
   including the former is the best choice.

   LSB has deprecated the library calls statfs() and fstatfs()  and  tells
   us to use statvfs(2) and fstatvfs(2) instead.

So, using statvfs is the POSIX-ly right thing to do.

I think this discussion should really be had with upstream regarding
this problem.

Didar

-- 
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: SELinux Exim Problem

2009-09-08 Thread Didar Hossain
On Wed, Sep 9, 2009 at 4:02 AM, John Horne wrote:
> On Mon, 2009-09-07 at 06:38 -0400, Daniel J Walsh wrote:
>>
>> Probably some api that exim is calling is looking at the mounted file
>> systems which is causing it to look at /boot.
>>
>> I think we can allow this for now.
>>
> Okay, I've done some investigating of this and can see what is happening
> now.
>
> Exim has 4 config options which check for disk space or inodes when a
> message arrives. These are unset by default, but I had set one of them
> ('check_spool_space').
>
> Exim checks the space/inodes by calling statvfs, which in turn looks
> at /proc/mounts for mounted partitions. It then checks the mounted
> partitions.
>
> In my case I have 3 other partitions, and was receiving the same selinux
> errors for those. I reset their selinux context to that of /usr (since
> there is nothing of particular importance in those partitions). This
> stopped selinux reporting about those partitions.
>
> However, I still get errors about /boot, and obviously cannot reset its
> context. I removed the exim config option (mentioned above), but it
> seems that exim will also check on available space if a sending mail
> server sends a message and uses the SIZE option to the SMTP MAIL
> command. (I tested this and it is correct.) There is no way to disable
> this.
>
> So, the problem comes down to exim checking disk space/inodes to ensure
> it can accept a message, and this is perfectly reasonable. To do this
> the system checks the currently mounted partitions.

Agreed.

> However, and I don't
> know why, selinux objects when exim checks the /boot partition. I
> suspect an selinux boolean may be required to allow exim to look
> at /boot.

But, why check "/boot"? As far as I understood from the statvfs(2), it
accepts a path to get the information. "/boot" is not something that
Exim will use as a spool directory. Or am I missing something!?

> (When I installed F11 I used ext4 for the root partition, so I had to
> create a separate /boot partition using ext3.)
>
>
>
> John.
>
> --
> John Horne, University of Plymouth, UK
> Tel: +44 (0)1752 587287    Fax: +44 (0)1752 587001
>
> --
> 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
>

-- 
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: SELinux Exim Problem

2009-09-08 Thread Didar Hossain
On Mon, Sep 7, 2009 at 4:08 PM, Daniel J Walsh wrote:
> On 09/07/2009 04:34 AM, Didar Hossain wrote:
>> On Sat, Sep 5, 2009 at 9:45 PM, Frank Chiulli wrote:
>>> On F11 when exim attempts to retrieve mail from my ISP, I get the following:
>>
>> How are you pulling the mail from your ISP?
>>
>>
>>> Summary:
>>> SELinux is preventing exim (exim_t) "getattr" boot_t.
>>>
>>> Detailed Description:
>>> SELinux denied access requested by exim. It is not expected that this
>>> access is required by exim and this access may signal an intrusion
>>> attempt. It is also possible that the specific version or
>>> configuration of the application is causing it to require additional
>>> access.
>>>
>>> Allowing Access:
>>> You can generate a local policy module to allow this access - see FAQ
>>> (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can
>>> disable SELinux protection altogether. Disabling SELinux protection is
>>> not recommended.  Please file a bug report
>>> (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this
>>> package.
>>>
>>> Additional Information:
>>> Source Context                system_u:system_r:exim_t:s0
>>> Target Context                system_u:object_r:boot_t:s0
>>> Target Objects                /boot [ dir ]
>>> Source                        exim
>>> Source Path                   /usr/sbin/exim
>>> Port                          
>>> Host                          flinux
>>> Source RPM Packages           exim-4.69-10.fc11
>>> Target RPM Packages           filesystem-2.4.21-1.fc11
>>> Policy RPM                    selinux-policy-3.6.12-80.fc11
>>> Selinux Enabled               True
>>> Policy Type                   targeted
>>> MLS Enabled                   True
>>> Enforcing Mode                Enforcing
>>> Plugin Name                   catchall
>>> Host Name                     flinux
>>> Platform                      Linux flinux 2.6.29.6-217.2.16.fc11.i686.PAE 
>>> #1
>>>                              SMP Mon Aug 24 17:16:21 EDT 2009 i686 athlon
>>> Alert Count                   327
>>> First Seen                    Sun 12 Jul 2009 05:09:10 PM PDT
>>> Last Seen                     Sat 05 Sep 2009 09:05:41 AM PDT
>>> Local ID                      c330c7e2-7fd7-45ae-8ebb-8de1def6e145
>>> Line Numbers
>>>
>>> Raw Audit Messages
>>> node=flinux type=AVC msg=audit(1252166741.77:28): avc:  denied  {
>>> getattr } for  pid=2279 comm="exim" path="/boot" dev=sda1 ino=2
>>> scontext=system_u:system_r:exim_t:s0
>>> tcontext=system_u:object_r:boot_t:s0 tclass=dir
>>>
>>> node=flinux type=SYSCALL msg=audit(1252166741.77:28): arch=4003
>>> syscall=195 success=no exit=-13 a0=bfbe1292 a1=bfbe1688 a2=756ff4 a3=0
>>> items=0 ppid=1489 pid=2279 auid=4294967295 uid=93 gid=93 euid=93
>>> suid=93 fsuid=93 egid=93 sgid=93 fsgid=93 tty=(none) ses=4294967295
>>> comm="exim" exe="/usr/sbin/exim" subj=system_u:system_r:exim_t:s0
>>> key=(null)
>>>
>>> =
>>>
>>> Other information:
>>> RPMs:
>>> exim-4.69-10.fc11.i586
>>> selinux-policy-3.6.12-80.fc11.noarch
>>> selinux-policy-targeted-3.6.12-80.fc11.noarch
>>>
>>> The mail does get through but I get an SELinux error for each message.
>>>
>>> I've looked for '/boot' in exim config files but came up empty.
>>>
>>> I installed F11 but kept my home directory which is on a different disk.
>>>
>>> Since I have not heard anyone else complaining about this, I figure
>>> that it's my configuration.  I just don't know where else to look.
>>>
>>> Frank
>>>
>>> --
>>> 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
>>>
>>
> Probably some api that exim is calling is looking at the mounted file systems 
> which is causing it to look at /boot.

Do you think we need a Bug filed for this? An MTA doing a "getattr" on
/boot seems a little unnecessary to me.

> I think we can allow this for now.

-- 
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: SELinux Exim Problem

2009-09-07 Thread Didar Hossain
On Sat, Sep 5, 2009 at 9:45 PM, Frank Chiulli wrote:
> On F11 when exim attempts to retrieve mail from my ISP, I get the following:

How are you pulling the mail from your ISP?


> Summary:
> SELinux is preventing exim (exim_t) "getattr" boot_t.
>
> Detailed Description:
> SELinux denied access requested by exim. It is not expected that this
> access is required by exim and this access may signal an intrusion
> attempt. It is also possible that the specific version or
> configuration of the application is causing it to require additional
> access.
>
> Allowing Access:
> You can generate a local policy module to allow this access - see FAQ
> (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can
> disable SELinux protection altogether. Disabling SELinux protection is
> not recommended.  Please file a bug report
> (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this
> package.
>
> Additional Information:
> Source Context                system_u:system_r:exim_t:s0
> Target Context                system_u:object_r:boot_t:s0
> Target Objects                /boot [ dir ]
> Source                        exim
> Source Path                   /usr/sbin/exim
> Port                          
> Host                          flinux
> Source RPM Packages           exim-4.69-10.fc11
> Target RPM Packages           filesystem-2.4.21-1.fc11
> Policy RPM                    selinux-policy-3.6.12-80.fc11
> Selinux Enabled               True
> Policy Type                   targeted
> MLS Enabled                   True
> Enforcing Mode                Enforcing
> Plugin Name                   catchall
> Host Name                     flinux
> Platform                      Linux flinux 2.6.29.6-217.2.16.fc11.i686.PAE #1
>                              SMP Mon Aug 24 17:16:21 EDT 2009 i686 athlon
> Alert Count                   327
> First Seen                    Sun 12 Jul 2009 05:09:10 PM PDT
> Last Seen                     Sat 05 Sep 2009 09:05:41 AM PDT
> Local ID                      c330c7e2-7fd7-45ae-8ebb-8de1def6e145
> Line Numbers
>
> Raw Audit Messages
> node=flinux type=AVC msg=audit(1252166741.77:28): avc:  denied  {
> getattr } for  pid=2279 comm="exim" path="/boot" dev=sda1 ino=2
> scontext=system_u:system_r:exim_t:s0
> tcontext=system_u:object_r:boot_t:s0 tclass=dir
>
> node=flinux type=SYSCALL msg=audit(1252166741.77:28): arch=4003
> syscall=195 success=no exit=-13 a0=bfbe1292 a1=bfbe1688 a2=756ff4 a3=0
> items=0 ppid=1489 pid=2279 auid=4294967295 uid=93 gid=93 euid=93
> suid=93 fsuid=93 egid=93 sgid=93 fsgid=93 tty=(none) ses=4294967295
> comm="exim" exe="/usr/sbin/exim" subj=system_u:system_r:exim_t:s0
> key=(null)
>
> =
>
> Other information:
> RPMs:
> exim-4.69-10.fc11.i586
> selinux-policy-3.6.12-80.fc11.noarch
> selinux-policy-targeted-3.6.12-80.fc11.noarch
>
> The mail does get through but I get an SELinux error for each message.
>
> I've looked for '/boot' in exim config files but came up empty.
>
> I installed F11 but kept my home directory which is on a different disk.
>
> Since I have not heard anyone else complaining about this, I figure
> that it's my configuration.  I just don't know where else to look.
>
> Frank
>
> --
> 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
>

-- 
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


Where is the torrent for the F11 netinst.iso

2009-08-27 Thread Didar Hossain
Hi,

I could not find the torrents for the F11 "netinst.iso" anywhere on
http://torrents.fedoraproject.org/

Trying to download the ISO images using plaing FTP/HTTP is impossible;
I get 20 B/s and stalled/broken connections from my nearest mirror.

Why are torrents not available for the netinst.iso images? Any specific reasons?

Didar

-- 
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: Samba 3 and changepasswd

2009-08-23 Thread Didar Hossain
On Fri, Aug 21, 2009 at 3:54 PM, Arun Shrimali wrote:
> On Fri, Aug 21, 2009 at 1:39 PM, Didar Hossain wrote:
>> On Wed, Aug 19, 2009 at 5:06 PM, Arun Shrimali wrote:
>>> On Wed, Aug 19, 2009 at 2:53 PM, Didar Hossain 
>>> wrote:
>>>> On Wed, Aug 19, 2009 at 2:01 PM, Arun Shrimali wrote:
>>>>> Dear All,
>>>>>
>>>>> I have recently setup a standalone Samba 3.32 server on Fedora 11,
>>>>> which is working fine. Now I want my users to change their password
>>>>> through browser interface.
>>>>>
>>>>> Is there any web based utility through which users can change their
>>>>> password in tdbsam ?? as samba 3 uses tdbsam
>>>>>
>>>>> I have tried changepasswd with smbpasswd
>>>>> (http://changepassword.sourceforge.net/), but it change system
>>>>> password as well as samba password), where as I want to change only
>>>>> smbpasswd, and there is no option to avoid system password to change
>>>>> which is giving error ??
>>>>
>>>> I believe, you will have to write your own web front-end to change SMB
>>>> passwords in this case.
>>>>
>>>> Didar
>>>>
>>>> --
>>>> 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
>>>>
>>>
>>> But I don't know the tdbsam, can anybody help me out 
>>>
>>> Arun
>>
>> I meant writing a PHP script as a wrapper around `smbpasswd' - you do
>> not have to worry about manipulating the tdbsam file youself. If you
>> want an example script then let me know.
>>
>> Didar
>>
>> --
>> 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
>>
>
> Dear Didar,
>
> I am not an PHP expert, can you please help me, may be it would
> helpful for lots of other people like me.

I have sent you the script off-list; I do not have any place to host
it on the net for the time being. You may publish it if you like.

Didar

-- 
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: Samba 3 and changepasswd

2009-08-21 Thread Didar Hossain
On Wed, Aug 19, 2009 at 5:06 PM, Arun Shrimali wrote:
> On Wed, Aug 19, 2009 at 2:53 PM, Didar Hossain wrote:
>> On Wed, Aug 19, 2009 at 2:01 PM, Arun Shrimali wrote:
>>> Dear All,
>>>
>>> I have recently setup a standalone Samba 3.32 server on Fedora 11,
>>> which is working fine. Now I want my users to change their password
>>> through browser interface.
>>>
>>> Is there any web based utility through which users can change their
>>> password in tdbsam ?? as samba 3 uses tdbsam
>>>
>>> I have tried changepasswd with smbpasswd
>>> (http://changepassword.sourceforge.net/), but it change system
>>> password as well as samba password), where as I want to change only
>>> smbpasswd, and there is no option to avoid system password to change
>>> which is giving error ??
>>
>> I believe, you will have to write your own web front-end to change SMB
>> passwords in this case.
>>
>> Didar
>>
>> --
>> 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
>>
>
> But I don't know the tdbsam, can anybody help me out 
>
> Arun

I meant writing a PHP script as a wrapper around `smbpasswd' - you do
not have to worry about manipulating the tdbsam file youself. If you
want an example script then let me know.

Didar

-- 
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: Samba 3 and changepasswd

2009-08-19 Thread Didar Hossain
On Wed, Aug 19, 2009 at 2:01 PM, Arun Shrimali wrote:
> Dear All,
>
> I have recently setup a standalone Samba 3.32 server on Fedora 11,
> which is working fine. Now I want my users to change their password
> through browser interface.
>
> Is there any web based utility through which users can change their
> password in tdbsam ?? as samba 3 uses tdbsam
>
> I have tried changepasswd with smbpasswd
> (http://changepassword.sourceforge.net/), but it change system
> password as well as samba password), where as I want to change only
> smbpasswd, and there is no option to avoid system password to change
> which is giving error ??

I believe, you will have to write your own web front-end to change SMB
passwords in this case.

Didar

-- 
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 convert from mbox delivery to maildir?

2009-07-29 Thread Didar Hossain
On Wed, Jul 29, 2009 at 1:31 PM, Neil Bird wrote:
>
>  I had a problem in another thread in which it was suggested I use maildir
> instead of mbox as a spool store.  I've had a good old google around, and I
> can't for the life of me find any one place that really tells me anything.
>
>  Does anyone have any pointers?
>
>
>  For ref., I have a fetchmail -> sendmail -> procmail set up (although the
> sendmail/procmail are pretty much the default install), which dump incoming
> mail to /var/spool/mail/ [I have spamassassin in the equation as well,
> with one proc recipe to dump spam into a sep. spool mbox].
>
>  I then use dovecot with IMAP/POP locally to get that mail into ThunderBird,
> and also serve it up (that that's still in the spool) from squirrelmail.
>
>  I plan to fully move all incoming mail accesses to IMAP, with users (well,
> the family :) ) filing from the IMAP Inbox to local folders as and when,
> with no POP fetching or auto copying frmo the IMAP folder into Local/Inbox.
>  For that, it'd be good to have a reliable mail store, which sounds like I
> need to bin the spool area.
>
>  How does 'maildir' fit into this?  What manitains it?  Where would
> root's/other-local mail go - still to /var/spool?

Dovecot supports Maildir natively, but, not Sendmail. Since, you are
already using procmail, there should be no problem delivering to
Maildir format. Here are a couple of links to help you understand more
about this format -

http://en.wikipedia.org/wiki/Maildir
http://wiki.dovecot.org/MailboxFormat/Maildir

Also, you might find the `mb2md' perl script useful to convert your
current Mbox mails to Maildir -

http://www.gerg.ca/hacks/mb2md/

NOTE: I have used the above script before and it has worked for me,
however, standard precautionary practice of taking a backup and
performing a test deployment applies.

Didar

-- 
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 guru please help: baffled by missing file

2009-07-18 Thread Didar Hossain
On Fri, Jul 17, 2009 at 9:17 PM, Timothy Murphy wrote:
> No, I've had this problem for several months.
> I've a feeling it may date from the time
> when I started using my Dell PowerEdge T105 as a server,
> in place of an HP server which now lives in Italy.
>
> I guess if I don't find out what is wrong in a couple of days
> I'll try installing Fedora-11 on this machine on a separate partition.
>
> The problem is more an intellectual one than a practical one,
> as I have no problem when I use my local repository as yum baseurl .
>
> My server has internal IP address 192.168.1.2 ,
> but external address 86.43.71.228 .
> But most people must have 2 addresses like this?
>
> It really seems as though fedoraproject tests my system in some way,
> and the system fails the test.
> Maybe it sees that Windows partition ...
>
> I see that I have no problem with the other CentOS repositories, eg
> -
> [...@helen tmp]$ wget http://linux.dell.com/repo/hardware/mirrors.pl
> --16:40:49--  http://linux.dell.com/repo/hardware/mirrors.pl
> Resolving linux.dell.com... 143.166.224.62
> Connecting to linux.dell.com|143.166.224.62|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/plain]
> Saving to: `mirrors.pl'
> ...
> 16:40:50 (3.96 MB/s) - `mirrors.pl' saved [54]
> -

This is what I get when I execute `wget' command -

di...@didar-laptop:~$ wget -S -O- https://mirrors.fedoraproject.org/metalink
--2009-07-18 21:17:00--  https://mirrors.fedoraproject.org/metalink
Resolving mirrors.fedoraproject.org... 152.46.7.222, 209.132.176.120,
66.35.62.166, ...
Connecting to mirrors.fedoraproject.org|152.46.7.222|:443... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Sat, 18 Jul 2009 15:47:01 GMT
  Server: Apache/2.2.3 (Red Hat)
  Content-Length: 53
  cache-control: no-cache
  AppTime: D=18458
  AppServer: app1.fedora.phx.redhat.com
  Vary: Accept-Encoding
  Content-Type: text/plain
  X-Pad: avoid browser bug
  ProxyTime: D=168820
  ProxyServer: proxy4.fedoraproject.org
  Keep-Alive: timeout=15, max=500
  Connection: Keep-Alive
Length: 53 [text/plain]
Saving to: `STDOUT'

 0% [   ] 0   --.-K/s
# either path=, or repo= and arch= must be specified
100%[==>] 53  --.-K/s   in 0s

2009-07-18 21:17:01 (1.21 MB/s) - `-' saved [53/53]

Also, when I lookup the IP addresses of mirrors.fedoraproject.org I
get the following -

di...@didar-laptop:~$ host mirrors.fedoraproject.org
mirrors.fedoraproject.org is an alias for wildcard.fedoraproject.org.
wildcard.fedoraproject.org has address 152.46.7.222
wildcard.fedoraproject.org has address 209.132.176.120
wildcard.fedoraproject.org has address 66.35.62.166
wildcard.fedoraproject.org has address 80.239.156.215

I do not see "209.132.176.122" in the above list. What does "host
mirrors.fedoraproject.org" output on your end?

-- 
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 guru please help: baffled by missing file

2009-07-17 Thread Didar Hossain
On Fri, Jul 17, 2009 at 7:32 PM, Didar Hossain wrote:
> Hi,
>
> It seems the specific server (209.132.176.122) is missing the file.
> You could try replacing
>
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
>
> ... with ...
>
> mirrorlist=https://66.35.62.166/metalink?repo=updates-released-f$releasever&arch=$basearch
>
> *This is a temporary and ugly work-around*
>
> You should revert to the original when things get fixed. I will
> forward the mail to the infrastructure list and see if someone can
> check it. Will keep you updated.
>
> Didar
>

My bad, it seems it will not work with the direct IP address, the
request needs to have mirrors.fedoraproject.org. So, please disregard
my previous post - I eat crow!

Didar

-- 
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 guru please help: baffled by missing file

2009-07-17 Thread Didar Hossain
On Fri, Jul 17, 2009 at 5:45 PM, Timothy Murphy wrote:
> The mirrorlist entry in my Fedora-11 /etc/yum.repos.d/fedora-update.repo
> reads:
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-
> f$releasever&arch=$basearch
>
> As far as I can see, this means that yum is looking for
> the file metalink at mirrors.fedoraproject.org ?
>
> If I try "sudo yum update" I get:
> ---
> [...@elizabeth ~]$ sudo yum update
> Loaded plugins: aliases, allowdowngrade, auto-update-debuginfo,
> basearchonly, changelog, downloadonly, fastestmirror, filter-
>              : data, keys, list-data, merge-conf, post-transaction-actions,
> presto, priorities, protect-packages,
>              : protectbase, refresh-packagekit, refresh-updatesd, remove-
> with-leaves, rpm-warm-cache, security, show-leaves,
>              : tsflags, upgrade-helper, verify, versionlock
> Loading mirror speeds from cached hostfile
> Error: Cannot retrieve metalink for repository: updates. Please verify its
> path and try again
> ---
> Adding --noplugins does not help:
> ---
> [...@elizabeth ~]$ sudo yum --noplugins update
> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> updates. Please verify its path and try again
> ---
>
> Trying to get the file with wget:
> ---
> [...@elizabeth ~]$ wget https://mirrors.fedoraproject.org/metalink
> --2009-07-17 13:04:41--  https://mirrors.fedoraproject.org/metalink
> Resolving mirrors.fedoraproject.org... 209.132.176.122
> Connecting to mirrors.fedoraproject.org|209.132.176.122|:443... connected.
> ERROR: certificate common name `fedoraproject.org' doesn't match requested
> host name `mirrors.fedoraproject.org'.
> To connect to mirrors.fedoraproject.org insecurely, use `--no-check-
> certificate'.
> Unable to establish SSL connection.
> ---
> Adding --no-check-certificate does not seem to help:
> ---
> [...@elizabeth ~]$ wget --no-check-certificate
> https://mirrors.fedoraproject.org/metalink
> --2009-07-17 13:06:22--  https://mirrors.fedoraproject.org/metalink
> Resolving mirrors.fedoraproject.org... 209.132.176.122
> Connecting to mirrors.fedoraproject.org|209.132.176.122|:443... connected.
> WARNING: certificate common name `fedoraproject.org' doesn't match requested
> host name `mirrors.fedoraproject.org'.
> HTTP request sent, awaiting response... 404 Not Found
> 2009-07-17 13:06:23 ERROR 404: Not Found.
> ---
>
> When I look at the http traffic on my server with wireshark
> the file-request seems to be properly sent,
> but the file is not found.
>
> The symptoms seem to me (no http expert) to suggest
> that there is some condition for seeing this file
> that my system is not fulfilling.
>
> Any and all suggestions gratefully received.
>
> --
> Timothy Murphy
> e-mail: gayleard /at/ eircom.net
> tel: +353-86-2336090, +353-1-2842366
> s-mail: School of Mathematics, Trinity College Dublin
>
>
> --
> 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
>

Hi,

It seems the specific server (209.132.176.122) is missing the file.
You could try replacing

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch

... with ...

mirrorlist=https://66.35.62.166/metalink?repo=updates-released-f$releasever&arch=$basearch

*This is a temporary and ugly work-around*

You should revert to the original when things get fixed. I will
forward the mail to the infrastructure list and see if someone can
check it. Will keep you updated.

Didar

-- 
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: Is there a gnome or KDE or Xorg version of wall for gui

2009-07-15 Thread Didar Hossain
On Thu, Jul 16, 2009 at 7:57 AM, Fernando Cassia wrote:
> On Wed, Jul 15, 2009 at 7:50 PM, Leslie Satenstein 
> wrote:
>> From what I note, wall is geared to terminals that function in ascii mode.
>>
>> Is there a wall command for Gnome, KDE, or Xorg, so that I can alert a gui
>> user about some event?
>
> http://en.wikipedia.org/wiki/Zenity
> http://linux.byexamples.com/archives/259/a-complete-zenity-dialog-examples-1/
>
> FC

AFAIK there is no `wall' equivalent for the X Window environment. The
`wall' command writes messages to the "tty" terminals, whereas X
window uses a different mechanism.

You will need to write your own tool to do this. A basic idea can be
to use the D-Bus to send notification/message to a Gnome or KDE applet
specifically created for this purpose. Hmmm, a good project to do :-)

Didar

-- 
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