Re: Python scripting in Fedora

2013-04-18 Thread Mike Williams
On Thu, Apr 18, 2013 at 10:51 AM, Matthias Runge
wrote:

> On 04/18/2013 03:59 AM, Gergely Buday wrote:
> > Hi,
> >
> > are there Fedora-specific scripting libraries in Python?
> >
> > - Gergely
> >
> The only fedora-specific library I know/remember, is python-fedora.
>
>
There are a couple others:

python-fedora-django.noarch
python-fedora-turbogears.noarch
python-fedora-turbogears2.noarch

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Installing texlive under Fedora 17.

2013-04-11 Thread Mike Williams
>
> On 04/11/2013 09:20 PM, Ed Greshko wrote:
>
>> On 04/11/13 17:03, Rolf Turner wrote:
>>
>>> Under Fedora 17 I recently had problems with running latex on a file that
>>> previously (under Ubuntu) I had no difficulty with.  (A while back I had
>>> to
>>> switch from Ubuntu to Fedora for reasons that I won't go into here.)
>>>
>>> I thought that perhaps I might be able to get rid of the flakiness
>>> by re-installing texlive.
>>>
>>> I downloaded the install-tl-unx.tar.gz tarball from
>>>
>>>  http://www.tug.org/texlive/acquire.html
>>>
>>
The texlive that comes with fedora 17 is texlive 2007, the version from the
tug link is texlive 2013.  On my system I used yum to remove texlive, then
downloaded the .iso from tug, mounted the iso, installed from that and it
works fine.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: audacity manual dependency

2013-02-07 Thread Mike Williams
On Thu, Feb 7, 2013 at 3:16 PM, Joe Zeff  wrote:
> On 02/07/2013 11:51 AM, Mike Williams wrote:
>>
> I'm just guessing here, but it may be that it never occurred to anybody that
> you might want to have the manual without the program.
>

It isn't the most common case, although it does happen.  For example,
if a program relies on hardware or data that I don't have on my
laptop, but I want to read the manual on the laptop I install the
manual without the program, if possible.

That isn't what happened this time.  I just thought having to remove
the manual and re-install it was a rough edge that should be smoothed
out.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: audacity manual dependency

2013-02-07 Thread Mike Williams
On Thu, Feb 7, 2013 at 2:55 PM, Reindl Harald  wrote:
>
>
> Am 07.02.2013 20:51, schrieb Mike Williams:
>> Hi there.  Still running f16 which I know  reaches EOL in a few days.
>> Been reluctant to install f18 due to hearing that install program had
>> some major problems, although I guess I will have to give it a go
>> shortly.
>
> in my world between 16 and 18 is 17 :-)
>
> the install program is not relevant at all
> http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum#Fedora_16_-.3E_Fedora_17
>

I'm going to skip f17 and go straight to f18.  Have never done an
upgrade, always do a fresh install of new version.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


audacity manual dependency

2013-02-07 Thread Mike Williams
Hi there.  Still running f16 which I know  reaches EOL in a few days.
Been reluctant to install f18 due to hearing that install program had
some major problems, although I guess I will have to give it a go
shortly.

I had audacity and the audacity manual installed.  When I found that
the build of audacity I had would not handle mp3 files I attempted to
remove audacity because install of audacity-freeworld which includes
mp3 support failed due to a confilict with the existing audacity
package.

Yum informed me that it was going remove audacity and audacity-manual.

Removing:
 audacity  i686   2.0.2-2.fc16
 @updates14 M
Removing for dependencies:
 audacity-manual   i686   2.0.2-2.fc16
 @updates18 M

rpm -q --filesbypkg audacity-manual gave a long list of files in
/usr/share/audacity

some html files, images, etc.   It does not seem right that the manual
has to be removed to remove audacity.

Seems like a bug to me.  Not sure where to report it.  Is it just in
the fedora packaging or upstream?

I just copied audacity-manual/* to audacity-manual-wtf but would like
to report this so it can be fixed.

Will do some more digging later, just thought I'd ask to see if anyone
knows where a bug report should be filed.  I looked on
http://bugzilla.audacityteam.org and did not find anything when
searching for either dependency or manual.

Cheers,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Lack of things in Gimp

2013-01-29 Thread Mike Williams
> On Tue, Jan 29, 2013 at 09:02:34 -0200,
>   Lailah  wrote:
>>
>>
>> Hello everybody!
>>
>>I found that Gimp in Fedora has less functions that in other
>> distributions  (like Fuduntu or Ubuntu).  In example, I can find video
>> and animation edition, and a lot of scripts.
>>
>> Why is this happening?  How can I solve it?

You could look on gimp.org or try asking on the gimp user list:
http://mail.gnome.org/mailman/listinfo/gimp-user-list

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Why did they f*ck with GIMP?

2012-09-17 Thread Mike Williams
On Sat, Sep 15, 2012 at 1:20 PM, Lailah  wrote:
>
> Oh!  I agree with the format stuff.  Why they don't let me choose what
> format by default I want?  Why, if I edit a jpg, I have to save it as a xcf?
> Is very annoying.
> But I don't call it  "fsck with Gimp".  I call it a bug.
> If I knew how to ask for an enhancement for Gimp, I'll happily do it.
>

You may get better results (or, at least, a more focused audience)
asking gimp questions on the gimp user list.  For enhancement
requests, try the gimp developer list.

https://mail.gnome.org/mailman/listinfo/gimp-user-list
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

I'm still using 2.6 which doesn't have this issue.

There may be something in ~/.gimp-2.8 that could help with changing
defaults.  Sorry, but I do not have any more specific info on whats in
that tree.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: passwordless sudo

2011-11-30 Thread Mike Williams
Forwarding message sent directly to me instead of list.

On Wed, Nov 30, 2011 at 3:40 PM, Terry Polzin  wrote:
> On Wed, 2011-11-30 at 15:32 -0500, Mike Williams wrote:
>> On Wed, Nov 30, 2011 at 12:36 PM, Marko Vojinovic  wrote:
>> > Wouldn't this actually enable passwordless sudo for all members of the 
>> > wheel
>> > group, rather than just for one user?
>> >
>> > What would the config look like if the OP wants to be both a member of the
>> > wheel group, and have a paswordless sudo config *only* for himself?
>>
>> Just use the username of the user instead of %wheel
>>
>> mike    ALL=(ALL)   NOPASSWD: ALL
>>
>> Adding a user to the wheel group is a separate issue.  This can be
>> done via the user manager gui, or by editing /etc/group.  As far as
>> the sudoers file goes, all settings for wheel are commented out by
>> default
>>
>> Not sure if there are other reasons to add a user to the wheel group.
>> Don't think there is any other use for the wheel group. Perhaps
>> someone else who knows can respond to that issue.
>>
>> Mike
>
> F16 first boot after a fresh install asks you if you want to add your
> new user(s) to the admin group (wheel).  It was the easiest way to
> explain it to the o/p.
>
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: passwordless sudo

2011-11-30 Thread Mike Williams
On Wed, Nov 30, 2011 at 12:36 PM, Marko Vojinovic  wrote:
> Wouldn't this actually enable passwordless sudo for all members of the wheel
> group, rather than just for one user?
>
> What would the config look like if the OP wants to be both a member of the
> wheel group, and have a paswordless sudo config *only* for himself?

Just use the username of the user instead of %wheel

mikeALL=(ALL)   NOPASSWD: ALL

Adding a user to the wheel group is a separate issue.  This can be
done via the user manager gui, or by editing /etc/group.  As far as
the sudoers file goes, all settings for wheel are commented out by
default

Not sure if there are other reasons to add a user to the wheel group.
Don't think there is any other use for the wheel group. Perhaps
someone else who knows can respond to that issue.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Help with rermote login.

2011-11-14 Thread Mike Williams
2011/11/14 Lucélio Gomes de Freitas :
> ===
> [Lucelio@MAQ01 ~]$ dolphin
> dolphin: cannot connect to X server
> Questions:
> What packages and where do I have to install them?
> Please someone can give me a pointer to get the information?
> I 'd appreciate any help.
>
> Ps: I can do the connection, but I want to run graphics(Dolphin, FF7,
> TB7, ...) remotely.
Hi there.  Try:

ssh -X

or

ssh -Y

You may also have to set X11Forwarding yes in /etc/sshd_config if it
is not already enabled.
If you do change sshd_config then reload the sshd daemon - service sshd reload

For more info use: man ssh, man sshd_config, and man sshd.

Cheers,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: iptables in linux

2011-11-12 Thread Mike Williams
> On 12.11.2011, Roger wrote:
>
>> Is there a way to limit:
>> -number of log in attempts to 2,
>> -the duration of a log in attempt to 3 seconds or less
>> -the number of times a username can be tried, prefer it set at 2 and
>> then not again for 24 hours if it fails.
> []

Here is what I use, its slightly different than what you asked for,
but it works.

-A local_input_filter -p tcp -m tcp --dport 22 --tcp-flags
FIN,SYN,RST,ACK SYN -m recent --set --name SSH --rsource
-A local_input_filter -m recent --update --seconds 40 --hitcount 3
--name SSH --rsource -j DROP

If someone tries to login 3 times within 40 seconds then ant further
attempts will be dropped.  After 40 seconds they can try three more
times.  I prefer this so if I manage to trigger the rule myself I only
have to wait a minute before I can login in again.

Usually scripts that try to break in try repeatedly in rapid succession.

I like to keep my iptables rules separated from the rest or the rules,
so I add a separate chain and jump to that chain at the top of the
iptables file.

:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [111266:23783263]
:local_input_filter - [0:0]
-A INPUT -j local_input_filter

Some of the other things suggested in this thread are also good ideas.
 Set the ssh port to something other than 22 (some high number like
32291), not allowing root login, requiring a key to login, etc.

I had a system that was subjected to many attempts to connect via ssh,
and adding those two rules, plus moving the ssh port reduced the
attempts to a trickle.

Cheers,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How to get this OUTPUT? perl/awk/sed? How?

2011-06-22 Thread Mike Williams
On Wed, Jun 22, 2011 at 2:27 AM, lancebaynes87  wrote:
> How can I generate from this INPUT in "general"
>
> INPUT (/proc/net/ip_conntrack)
>
>     udp  17 0 src=192.168.1.128 dst=91.120.112.125 sport=29249
> dport=39802 packets=3 bytes=408 [UNREPLIED] src=91.120.112.125
> dst=79.132.235.112 sport=39802 dport=29249 packets=0 bytes=0 mark=0 use=2
>     udp  17 146 src=192.168.1.128 dst=98.196.37.3 sport=56932
> dport=43645 packets=924 bytes=406167 src=98.196.37.3 dst=79.132.235.112
> sport=43645 dport=56932 packets=1042 bytes=546092 [ASSURED] mark=0 use=2
>     tcp  6 118 SYN_SENT src=192.168.1.129 dst=89.132.51.110 sport=2518
> dport=47385 packets=2 bytes=104 [UNREPLIED] src=80.132.51.190
> dst=79.132.235.112 sport=47385 dport=2518 packets=0 bytes=0 mark=0 use=2
>     udp  17 147 src=192.168.1.128 dst=98.196.37.7 sport=56937
> dport=43647 packets=924 bytes=406167 src=98.196.37.7 dst=80.132.235.117
> sport=43647 dport=56937 packets=1042 bytes=546092 [ASSURED] mark=0 use=2
>     tcp  6 119 SYN_SENT src=192.168.1.129 dst=89.132.51.110 sport=2514
> dport=47384 packets=2 bytes=104 [UNREPLIED] src=80.132.51.194
> dst=80.132.235.114 sport=47384 dport=2514 packets=0 bytes=0 mark=0 use=2
>     udp  17 163 src=192.168.1.1 dst=192.168.1.201 sport=67 dport=68
> packets=29 bytes=9512 src=192.168.1.201 dst=192.168.1.1 sport=68 dport=67
> packets=27 bytes=8856 [ASSURED] mark=0 use=2
>     tcp  6 1 TIME_WAIT src=192.168.1.201 dst=67.201.31.15 sport=55479
> dport=80 packets=7 bytes=725 src=67.201.31.35 dst=79.132.235.112 sport=80
> dport=55479 packets=5 bytes=1963 [ASSURED] mark=0 use=2
>
> to this output?
>
> OUTPUT
>
>     udp    192.168.1.128    3
>     tcp    192.168.1.129    2
>     udp    192.168.1.1    1
>     tcp    192.168.1.201    1
>
> So that from the INPUT datas the OUTPUT would be 3 columns:
>
>     protocoll    src-ip-address    count-connection-numbers
>
> So that the IP with the most number of connections would be at top.
>

#!/bin/env perl
# count_connections.pl - count connections per ip in nf_conntrack
# or ip_conntrack (in /proc/net)
use strict;
use warnings;

my ($protocol, $address, %stat);

while (my $line = <>) {
chomp $line;
if (($protocol, $address) =
$line =~ /\s+(udp|tcp)\s+(?:.*?)\ src=(\d*\.\d*\.\d*\.\d*)\s/) {
$stat{"$protocol:$address"}++;
}
}

printf("%8s %-18s  count-connection-numbers\n", 'protocol',
'src-ip-address');
foreach my $key (sort {$stat{$b} <=> $stat{$a}} keys %stat) {
($protocol, $address) = split(/:/, $key);
printf("%8s %-18s   %6d\n", $protocol, $address, $stat{$key});
}

cat fedora_list_input.txt |./count_connections.pl
protocol src-ip-address  count-connection-numbers
 udp 192.168.1.128 3
 tcp 192.168.1.129 2
 tcp 192.168.1.201 1
 udp 192.168.1.1   1

It also works on /proc/net/nf_conntrack

cat /proc/net/nf_conntrack|./count_connections.pl
protocol src-ip-address  count-connection-numbers
 udp 192.168.1.774
 tcp 192.168.1.162   3
 udp 182.168.1.681

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: HP Laserjet 5P in Fedora 14

2011-06-19 Thread Mike Williams
> On Sat, 2011-06-18 at 17:46 -0500, Manuel Escudero wrote:
>> I've seen that in Fedora you only have to plug in a printer
>> and it usually gets recognized and work, You just have to
>> install these packages:
>>
>>
>> sudo yum -y install hplip hplip-common
>>
>> and if you have a HP scanner:
>>
>> sudo yum -y install libsane-hpaio
>>
When I installed f14 the following packages were included in the installation:
Installing hplip-common-3.10.6-3.fc14.i686
Installing hplip-libs-3.10.6-3.fc14.i686
Installing hpijs-3.10.6-3.fc14.i686
Installing hplip-3.10.6-3.fc14.i686
Installing libsane-hpaio-3.10.6-3.fc14.i686

I did not have to install anything to get the printer working.  It was
an HP, but a different model, and has a network interface, so there
are some differences, but there was nothing additional that had to be
installed.

>> It has been working for me like that since
>> F13 with two or three HP printers and All in Ones
>> But now I tried it in F14 with a HP Laserjet 5P
>> and it doesn't work, System does not recognize printer
>> when I plug it in the USB port (it's a Parallell to USB connection)
>>
>>
>> I already tried installing HPLiP from the HP binary
>> and it gave me a GUI, but the printer is still not getting
>> recognized, it's like I never plug it to the PC.
>>
Not sure this was a good idea.

>> What am I doing wrong?

My setup required some additional steps to add some iptables rules,
but the basic thing I did was use:

System/Administration/Printing

click on Add

Then followed the gui through selecting the printer model, etc.  It
all went very smoothly and worked the first time.

If you have already tried this and it did not work, it might be worth
using yum to re-install the hp packages - the hp binary may have hosed
something.

If it still isn't working, post what gets written to /var/log/messages
when you plug the printer in.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: How do I point a mail client at Microsoft outlook?

2011-06-16 Thread Mike Williams
On Thu, Jun 16, 2011 at 7:05 PM, Michael Hennebry
 wrote:
> On Thu, 16 Jun 2011, Patrick O'Callaghan wrote:
>
>> On Thu, 2011-06-16 at 12:11 -0500, Michael Hennebry wrote:
>>> Alas still no go.
>>> Now it asks me for a password, but it won't take it.

You probably have something set wrong on your end.  Double check the
server names, ports, and authentication.

If you can't get Evolution to play, try Thunderbird.  With either
program, you will have to enter your password at least once and you
have the option of having the client remember the password so you do
not have to enter it every time.

At my school we switched to microsoft for email a while ago and there
are two ways that I know of that work.

The approach I took, since I do not care for outlook and I like gmail,
was to use the web access to login to my email MS account and setup
forwarding, so that all of my school email gets forwarded to my gmail
account.  Gmail will let you set your account up so that you can use
your school email address as the from address for messages that you
send (you can also use the gmail address as the from address - there's
a dropdown list to select the address).

If you don't want use gmail then Thunderbird will work.  A professor
that I work for uses Thunderbird on his home system and it works fine.
 As was mentioned in the discussion about Evolution you have to make
sure you check the box for TLS and get the server settings right.

One nice thing about using Thunderbird is that your messages get
downloaded to your system so you can still get to the downloaded
messages if your internet connection goes down, or if you use a laptop
and are somewhere with no access.  When I had a dodgy ISP at home I
used to use Thunderbird to download my gmail messages.

Whichever way you wind up resolving this, once you get it working be
sure your email client is set to leave the messages on the server.
I'm not sure about this, but deleting messages on the server after
they are downloaded may be the default.

Good luck,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: After logging out in gnome3 or xfce, I still see some of the user's processes

2011-06-14 Thread Mike Williams
On Tue, Jun 14, 2011 at 12:53 PM, Joe Zeff  wrote:
> I don't know about Gnome3, but under XFCE wallpapoz survives a logout.
> I've mentioned it to the author, but he doesn't think it's that
> important because "most people don't log out and in."

That's careless coding, I'll avoid that package.  Sometimes when I log
out its because I'm doing something that takes lots of memory on a
machine that doesn't have enough RAM to finish without logging out of
X to free up some memory.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Fedora and graphics tablets

2011-06-14 Thread Mike Williams
On Tue, Jun 14, 2011 at 10:01 AM, Christopher Svanefalk
 wrote:
> Hey guys,
>
> I was wondering if anyone has any experience with using graphics tablets
> in Fedora?? How is the hardware support? What programs do you use them
> in and how well does it work?

A friend of mine who is an artist has been using a wacom tablet with
gimp for quite a while, he likes it.

You may also want to check the wacom list for opinions on current
models, what my friend is using is pretty old.
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Still some mysteries about FC15

2011-06-14 Thread Mike Williams
On Tue, Jun 14, 2011 at 3:21 AM, Michael Schwendt  wrote:
> On Tue, 14 Jun 2011 08:23:01 +0530, RS wrote:
>
>> On 06/14/2011 01:52 AM, Aaron Konstam wrote:FC15 today.
>> > 1, The wiki pages on systemd say that chkconfig --less
>> > does not work. That is not true. I know its a wiki and I can make
>> > changes. Well maybe sometime.
>>
>> Please be more specific.
>
> Can it be more specific than this?
> http://fedoraproject.org/wiki/Systemd#Does_chkconfig_command_work_with_systemd.3F

I don't have f15, yet...  does chkconfig --list still output the SysV
services?  If so, maybe that is what caused Aaron's confusion, if it
outputs the things that are in init.d then maybe that is leading him
to think it is working.

Just a WAG, hope I haven't further muddied the water  ;-)
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Xcursor viewer?

2011-06-07 Thread Mike Williams
On Tue, Jun 7, 2011 at 8:11 AM, Tom Horsley  wrote:
> So, I wanted to examine the cursors in the default theme to see
> if they were the source of the horrible looking things I see
> in firefox, etc.
>
> Apparently they are Xcursor(3) format files.
>
> Any viewer tools for these things available? All I can
> find are tools to create them from images, not tools
> to look at 'em after they are created.

Could not find a viewer.  As an alternative I downloaded the source
rpm for dmz-cursor-themes and there are two directories that have png
and svg files with all of the cursors:

[mike@watson rpmbuild]$ ls dmz
COPYING  dmz-preview.png  dmz-preview.svg  dmz.svg  pngs
renderpngs.py  xcursors
[mike@watson rpmbuild]$ ls dmz-aa
COPYING  dmz-aa-preview.png  dmz-aa-preview.svg  dmz-aa.svg  pngs
renderpngs.py  xcursors

Kind a tedious way to get a peek, especially if you want to compare
different themes, but it works.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: install.img missing from Fedora-15-i386-DVD.iso

2011-06-04 Thread Mike Williams
On Sat, Jun 4, 2011 at 8:57 PM, Tom Horsley  wrote:
> On Sat, 4 Jun 2011 20:53:57 -0400
> Mike Williams wrote:
>
>> Where can I get an install.img for fedora 15?
>
> It seems to be built into the initrd.img file now,
> you can go back to doing installs with only the
> iso file, vmlinux, and initrd.img (the way it worked
> before they decided you had to have install.img).

Thanks for the info.  Sounds easier - famous last words ;-)
>
>> The installation guide looks similar to previous versions and it
>> discusses install.img:
>> http://docs.fedoraproject.org/en-US/Fedora/15/html/Installation_Guide/s1-steps-hd-installs-x86.html
>
> If it really says you need one, sounds like it was just
> cut&paste from previous releases and needs fixing.

Maybe I'll file another doc bug report.

Appreciate the help, Tom.

Cheers,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


install.img missing from Fedora-15-i386-DVD.iso

2011-06-04 Thread Mike Williams
Hi there.  I've been doing hard disk updates for quite a while and was
able to do that with fedora 14 the same as for the last several
releases, but for fedora 15 there is no install.img file in /images on
the DVD.iso.  Here's what ls shows for the last two DVD iso images:

Fedora-14-i386-DVD.iso

ls images

efiboot.img  efidisk.img  install.img  pxeboot  TRANS.TBL

Fedora-15-i386-DVD.iso

ls images

pxeboot  TRANS.TBL

Where can I get an install.img for fedora 15?

The installation guide looks similar to previous versions and it
discusses install.img:
http://docs.fedoraproject.org/en-US/Fedora/15/html/Installation_Guide/s1-steps-hd-installs-x86.html

Someone else asked about this about a week ago and no one offered an
answer.  It would be nice to know if there is somewhere to get
install.img for f15 or a pointer to directions to create one.  For
some of the systems I'm using fedora on a hd install is by far the
fastest (instead old, slow usb or cd/dvd).

BTW - while fishing an answer to this question I noticed some errors
in the installation guide and filed a bug report, just mentioning it
so no one else takes the time to file one for the same thing.
https://bugzilla.redhat.com/show_bug.cgi?id=710814

Cheers,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Speakers don't Mute when headphones are plugged in (Speakers & Headphones at the same time) :S

2011-06-03 Thread Mike Williams
On Sat, Jun 4, 2011 at 1:21 AM, Manuel Escudero  wrote:

>
>> @Everyone: I'm happy to say I SOLVED THE PROBLEM!! (sadly no one had the
> solution, I had to found it all by myself)
>
> The solution was to find my chip on this list:
>
> http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt
>
> and try one by one the different modules that where available for my chip,
> (Actually the "stack's correct one" didn't work, so I had to try them
> all;)To try & solve I had to create this file:
> "/etc/modprobe.d/snd_hda_intel.conf" and then I had to find this other file:
> "/etc/modprobe.d/dist-alsa.conf", then I started adding the classic "options
> snd-hda-intel model=x" in those two files, restarting for each change of
> model until my headphones/speakers problem got solved. at the end, Finally
> it worked with one model (Not the REAL MODEL/brand of the device or even PC,
> but it worked) and now when I plug headphones, the speakers mute, don't even
> need to use pavucontrol.
>
> Thanks!
>
>
Manuel,

Hi there.  Thank you for posting the solution that you found.  Hopefully it
will help someone else.

Nice detective work.

Cheers,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Not enough info, so no point

2011-06-03 Thread Mike Williams
Have you removed the scsi card, as Marco suggested?  I would do that before
doing anything else.  You said that there is nothing connected to it and the
system crashes right after the scsi bus is reset.  Yank that sucker out and
see what happens.  Zero risk, and it might solve the problem.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: F15: fail2ban not in iptables status

2011-06-03 Thread Mike Williams
On Fri, Jun 3, 2011 at 4:05 AM, sguazt  wrote:

> On Sun, May 29, 2011 at 3:30 PM, sguazt  wrote:
>
> Hi,
> Still have problems. Under /var/log/messages I've this message:
>
> fail2ban.comm   : WARNING Invalid command: ['add', 'ssh-iptables', 'auto']
>
> Don't know if it is related to my problem.
>
> Anyway, I am the only one that has this problem (or that runs fail2ban ;)
> )?
>
>
Hi there.  Although I do not use fail2ban this sure looks like a bug.  You
should probably file a bug report.

If you want some protection from ssh intruders here are a couple of iptables
rules you can use until the fail2ban problem is resolved.

-A local_input_filter -p tcp -m tcp --dport 22 --tcp-flags FIN,SYN,RST,ACK
SYN -m recent --set --name SSH --rsource
-A local_input_filter -m recent --update --seconds 40 --hitcount 3 --name
SSH --rsource -j DROP

If someone tries to login to your system via ssh more than 3 times in 40
seconds any further packets will be dropped.  I've been using these rules
for about 5 years and they work well.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: tmpfiles.d and spaces in filenames

2011-06-01 Thread Mike Williams
On Wed, Jun 1, 2011 at 3:18 PM, JD  wrote:

> On 06/01/11 12:05, Patrick O'Callaghan wrote:
> > On Wed, 2011-06-01 at 09:59 -0700, JD wrote:
> >> Since a space is Unix's and Linux's chosen field separator,
> >> I think having a space in filenames should be avoided. there
> >> are many situations where spaces in filenames cause problems.
> >> A simple example:
> >>
> >> for i in *; do
> >> [ -f $i ]&&  echo $i is a file
> >> done
> >>
> >> you will see that the file with spaces in it's name
> >> will not be recognized as a file because each
> >> space-separated member of that file name
> >> becomes a separate argument
> >> when * is expanded by the shell.
> >
> > No, each filename counts as one argument, even if it has spaces in it.
> > The problem arises when you *use* the argument. The above should read:
> >
> > for i in *; do
> > [ -f "$i"]&&  echo "$i" is a file
> > done
> >
> > (the quotes are optional in the echo case obviously).
> >
> > poc
> >
> The quotes are not optional.


I think he meant that the quotes are optional for the echo $i - which is
correct.

Personally I avoid spaces in filenames and usually use a perl one liner to
substitute an underscore for spaces when I don't have to keep the original
name for someone else.

zsh works without any quotes, the first example works fine for files with
spaces in the names with zsh.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Hard disk upgrade

2011-05-29 Thread Mike Williams
On Sun, May 29, 2011 at 9:32 AM, Timothy Murphy  wrote:

> I've found that upgrading Fedora-14 to Fedora-15 has been very simple,
> with no problems at all, even though I am keeping the same /home partition,
> which has caused problems (mainly with KDE) in previous upgrades.
>
> One thing that has been known to cause problems is the contents of old
.something directories, there are lots of them and their contents change
from time to time in ways that break things.  I've started moving them all
out of the way before an install.   I put all of the .something dirs in
~/old_dot_dirs and let the install create new ones.


> However, I had one problem trying to do a hard disk upgrade
> on a machine with no internet access, but running Fedora-14.
> I copied Fedora-15-i386-DVD.iso to / (/dev/sda5) via a USB stick,
> and copied isolinux/vmlinuz and isolinux/initrd.img to /
> (after "mount -o loop").
>
> Then I re-booted with the grub stanza
> -
> title Fedora 15 install
>root (hd0,4)
>kernel /vmlinuz repo=hd:/dev/sda5:/Fedora-15-i386-DVD.iso
>initrd /initrd.img
> -
>
> I just did a hd install myself and did it a little differently, in my case
it did find everything needed for the install.  I also installed the new
vmlinuz and initrd in a subdirectory of /boot but that isn't relevant here
so we can skip those differences.

Here is what was different for my config:

1. created a directory named images at the same level as the DVD.iso
2. copied install.img from /images of the iso to /images on the hard disk
(so on the install disk there was /Fedora...DVD.iso and a directory
named /images
with the install.img file copied from the mounted DVD.iso)

3. The last entry of the line with the repo info in grub.conf only contained
the *path* to
the iso *not* the name of the file.  In your case, I think that this
would have worked:

kernel /vmlinuz repo=hd:/dev/sda5:/

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Fedora 15 installer needs more than 512MB RAM

2011-05-25 Thread Mike Williams
On Wed, May 25, 2011 at 2:40 PM, Joe Zeff  wrote:

> On 05/25/2011 10:44 AM, Kam Leo wrote:
> > It seems that the installer files
> > have gotten fatter and more memory is required.
>
> When I checked http://fedoraproject.org/ yesterday, it said that Fedora
> 15 required 500 MB RAM; now, it says 768.  I don't know if the Release
> Notes have been updated yet, but it's right there on their home page.
>

There are more details here:
https://bugzilla.redhat.com/show_bug.cgi?id=682555

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Any arguments for keeping Yum case-sensitive?

2011-03-11 Thread Mike Williams
On Fri, Mar 11, 2011 at 2:12 AM, Dotan Cohen  wrote:

> On Fri, Mar 11, 2011 at 03:40, Mike Williams 
> wrote:
> >> On Tue, 8 Mar 2011 08:17:34 -0200
> >> Fernando Cassia  wrote:
> >>
> >> > On Tue, Mar 8, 2011 at 8:07 AM, Cameron Simpson 
> wrote:
> >> > Does Red Hat allow two packages with the same name, but different
> >> > capitalization?. I rest my case.
> >>
> > On Tue, Mar 8, 2011 at 6:47 AM, Alan Cox 
> wrote:
> >
> >>
> >> Can you prove there are none ?
> >>
> >
> > There are two in the f13 repos:
> >
> > php-pear-Auth-radius.noarch
> > php-pear-Auth-RADIUS.noarch
> >
> > Mike
> >
>
> Thanks, Mike. I cannot confirm that on the only Red-hat based machine
> I have available at the moment, CentOS 5.5. Can you check if those are
> actually the same package?
>
>
They are definitely different.

-rw-r--r--. 1 mike mike 12932 Feb 26  2010
php-pear-Auth-RADIUS-1.0.6-4.fc12.noarch.rpm
-rw-r--r--. 1 mike mike 6344 Feb 26  2010
php-pear-Auth-radius-1.6.1-10.fc12.noarch.rpm

After downloading them, I realized that yum info would provide more
information and would have been easier.


Note that yum info is case insensitive ;-)

Personally I like the fact that the info command is case insensitive and the
install command demands the exact name.  The install command has the
potential to cause major problems.  I prefer that it does exactly what I
tell it and complains if I don't get it right.

yum info php-pear-Auth-radius.noarch

Available Packages
Name: php-pear-Auth-RADIUS
Arch: noarch
Version : 1.0.6
Release : 4.fc12
Size: 13 k
Repo: fedora
Summary : Wrapper Classes for the RADIUS PECL
URL : http://pear.php.net/package/Auth_RADIUS
License : BSD
Description : Wrapper Classes for the RADIUS PECL.

Name: php-pear-Auth-radius
Arch: noarch
Version : 1.6.1
Release : 10.fc12
Size: 6.2 k
Repo: fedora
Summary : RADIUS support for php-pear-Auth
URL : http://pear.php.net/package/Auth
License : PHP
Description : This package adds a RADIUS container for the PHP Auth system.

Cheers,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Any arguments for keeping Yum case-sensitive?

2011-03-10 Thread Mike Williams
>
> On Tue, 8 Mar 2011 08:17:34 -0200
> Fernando Cassia  wrote:
>
> > On Tue, Mar 8, 2011 at 8:07 AM, Cameron Simpson  wrote:
> > Does Red Hat allow two packages with the same name, but different
> > capitalization?. I rest my case.
>
> On Tue, Mar 8, 2011 at 6:47 AM, Alan Cox  wrote:


> Can you prove there are none ?
>
>
There are two in the f13 repos:

php-pear-Auth-radius.noarch
php-pear-Auth-RADIUS.noarch

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: crontab - scripts not exiciting.

2011-03-10 Thread Mike Williams
On Thu, Mar 10, 2011 at 5:53 PM, Gregory Machin  wrote:

> Hi.
> I have a script that needs to run from a cron job. I added the script
> as explained, in the deployment instructions.
>
> crontab -e (root) looks as follows
>
> * * * * *  /usr/bin/python /usr/bin/ZabbixApacheUpdater.py -c server1
> -z 10.24.0.231 > /dev/null 2>&1
> * * * * *  /usr/bin/python /usr/bin/ZabbixApacheUpdater.py -c server2
> -z 10.24.0.231 > /dev/null 2>&1
>
>
Try redirecting the output to a file (say, /var/log/zabbixdebug.log) instead
of /dev/null.
The program may provide some clues about what is going wrong.


> But it's not doing anything.
>

When I run the same syntax command from the command line it runs
> correctly every time.
>
>
There may be something about your environment that is different from what
cron sees, maybe some environmental variable that the script depends upon to
find files, or that one of the servers needs.  With cron jobs you usually
have to specify fully qualified paths for everything, maybe you script is
not doing that, then not finding something it needs to do its work.

The vast majority of the time when a cron job fails to work it is one of two
things, the environment or permissions.

I have tried changing the fill permissions and the syntax of the cron
> entries but nothing works.
>

As a sanity check, make sure that what you have in the crontab file is still
correct, copy it from the crontab file and paste it into a shell prompt to
verify that you haven't made matters worse while trying to find the problem.



Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Not able to connect to wifi in Fedora 14 (SOLVED)

2011-02-11 Thread Mike Williams
On Fri, Feb 11, 2011 at 5:21 AM, Rohit Farmer wrote:

> Got the answer to activate the wireless card on Dell laptops (M501R) in
> Fedora 14 using Broadcom Card.
>
> Use the driver given in the following link and follow the readme file to
> install.
>
> http://www.broadcom.com/support/802.11/linux_sta.php
>

Nice of you to post the solution.


> When replying, please edit your Subject line so it is more specific
>
>> than "Re: Contents of users digest..."
>>
>>
Totally lame to send a message with the useless subject: Re: users Digest,
Vol 84, Issue 33
AND with almost seven hundred lines of unrelated text.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Finding programs

2011-01-25 Thread Mike Williams
>
> >>> I'm not sure how new users are supposed to find evince.
>

The command line is my choice as well.  I have a tiny shell script that gets
run after each update that creates text files of whats installed and
available:

$ cat upd.sh
yum list installed 2>&1>yum.installed
yum list available 2>&1>yum.available

then its just a matter of
grep some_program_or_other yum.*

to check to see what version of something is installed, whether its
installed, or if its available via yum

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Sorry for the extraneous post

2011-01-14 Thread Mike Williams
On Sat, Jan 15, 2011 at 12:02 AM, Patrick O'Callaghan  wrote:

> On Fri, 2011-01-14 at 19:52 -0800, Jared H. Johnson Jr. wrote:
> > I have the option to receive my own posts set to true, and yet I am not?
> >  Just wondering if there is a delay on the list mailer, and if so how
> > long so I may keep waiting:)
>
> You appear to be sending from Gmail. Gmail filters your own posts since
> you already have them in the Sent Mail label. This is a known issue with
> Gmail and mailing lists.
>
>
I have gmail as well.  My posts do not get filtered.  I do have a filter set
up to put fedora list messages in a their own folder, not sure if that
matters.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


yumdownloader --source failure and livna

2010-09-06 Thread Mike Williams
Someone else's mention of livna issues made me realize the cause of a
problem.  When trying to get a source rpm yumdownloader was failing as
follows:

yumdownloader --destdir /home/mike/src/selinux/audit --source audit

Enabling livna-source repository
Could not retrieve mirrorlist http://rpm.livna.org/mirrorlist-source error
was
14: PYCURL ERROR 7 - ""
Cannot retrieve repository metadata (repomd.xml) for repository:
livna-source. Please verify its path and try again

Setting enabled=0 in /etc/yum.repos.d/livna.repo resulted in yumdownloader
working.

It seems odd that yumdownloader should fail with an error for a repo that
was not required for the package in question.

Even stranger, this problem occurs with enabled=1 under [livna] and
enabled=0 under [livna-source]

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: erlang-doc - dubious dependencies

2010-09-02 Thread Mike Williams
On Thu, Sep 2, 2010 at 2:05 PM, Michael Schwendt wrote:

> On Thu, 2 Sep 2010 13:19:39 -0400, Mike wrote:
>
> > Curious about the language I decided to install the
> > documentation using: yum install derlang-doc
> >
> > Yum proceeded to install 59 packages, erlang-doc and 58 others.
>
> File a bug report -> http://bugz.fedoraproject.org/erlang
>
>
Done: https://bugzilla.redhat.com/show_bug.cgi?id=629723


> erlang-doc contains a dependency on the base "erlang" package,
> which is highly questionable for Documentation packages.
>

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: erlang-doc - dubious dependencies

2010-09-02 Thread Mike Williams
On Thu, Sep 2, 2010 at 2:05 PM, Michael Schwendt wrote:

> On Thu, 2 Sep 2010 13:19:39 -0400, Mike wrote:
>
> > Curious about the language I decided to install the
> > documentation using: yum install derlang-doc
> >
> > Yum proceeded to install 59 packages, erlang-doc and 58 others.
>
> File a bug report -> http://bugz.fedoraproject.org/erlang
>
>
Done: https://bugzilla.redhat.com/show_bug.cgi?id=629723


> erlang-doc contains a dependency on the base "erlang" package,
> which is highly questionable for Documentation packages.
>

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


erlang-doc - dubious dependencies

2010-09-02 Thread Mike Williams
Hi there.  Recently I was at a meeting where erlang came up in the
conversation.  Curious about the language I decided to install the
documentation using: yum install derlang-doc

Yum proceeded to install 59 packages, erlang-doc and 58 others.

I just wanted to look at the documentation, it seems strange that the docs
should depend on the packages they are documenting.

rpm -q --filesbypkg erlang-doc shows that all of the files are in
/usr/share/doc

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: F13 has reached "it rocks" status !

2010-07-06 Thread Mike Williams
On Tue, Jul 6, 2010 at 10:45 AM, Linuxguy123  wrote:

> Just a quick note to say that F13 now rocks !  It works really, really
> well.  Very fast, solid and slick.
>
> Keep up the good work, people.
>

I second that opinion.  There have been some glitches, but that's to be
expected.

One area where I've noticed significant improvement is selinux.  This is the
first release where I haven't just given up and run selinux in permissive
mode.  In fact in some earlier releases I just disabled selinux altogether.
As of f13 with selinux in enforcing mode, the most I've had to do is run
restorecon -R -v when I copy new files into the apache tree.

Nice work!

Cheers,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Cannot download updates

2010-06-16 Thread Mike Williams
On Wed, Jun 16, 2010 at 12:57 AM, Michael Smith
 wrote:
> I am new to this and want some help/ideas.  I recently installed Fedora
> 12 and now cannot download updates.

Please be more specific.  What did you try.  What happened?

Usually I get updates using yum, like this:

yum -y update

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: F13: T'bird opens browser, but not the link

2010-06-12 Thread Mike Williams
On Sat, Jun 12, 2010 at 11:19 PM, sean darcy  wrote:
> Just installed F13. If I click on a link in Thunderbird, a chrome
> browser (my default browser) windows opens, but it's just the default
> page - google (what else?).
>
> So how do I fix it so that the browser opens the link?

If you're using gnome try this at a shell prompt:

gconftool-2 -g /desktop/gnome/url-handlers/http/command

One my system, where firefox is the default browser, the response from
gconftool-2 is:

firefox %s

You should see something similar, except with chrome (or whatever the
executable is called), instead of firefox.  Sounds from your
description like the %s is missing, since %s is a placeholder for the
url.

If you are not using gnome, let us know what you are using (kde, xfce ...).

Then you'll probably have to wait for someone else to help with kde or
whatever.  In general, if you have a question about the gui, you need
to specify what you are using for your desktop.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: F13 new install: can't get ssh pubkey to work

2010-06-12 Thread Mike Williams
On Sat, Jun 12, 2010 at 11:14 PM, sean darcy  wrote:
> On 06/12/2010 02:37 AM, Konstantin Svist wrote:
>
> How do I "Check/fix the selinux flags for your authorized_keys"?
>
>From $HOME do:

restorecon -R -v  .ssh

Pretty sure that will do that trick.

By the way earlier in this thread there was this:
> On 06/11/2010 06:33 PM, sean darcy wrote:
>> New install of F13.
>>
>> drwx--.  2 root root  4096 Jun 11 20:22 .ssh
>>
>> ls -l /root/.ssh
>> total 12
>> -rw---. 1 root root 1006 Jun 11 20:23 authorized_keys
>>
>>

If you use the Z flag with -ls it will show the selinix secutiry context:

[m...@smokey ~]$ ls -lZ .ssh
-rw---. mike mike unconfined_u:object_r:ssh_home_t:s0 id_rsa
-rw-r--r--. mike mike unconfined_u:object_r:ssh_home_t:s0 id_rsa.pub
-rw-r--r--. mike mike unconfined_u:object_r:ssh_home_t:s0 known_hosts

Try doing this before and after you use restorecon.

see: man restorecon and man ls for more info.

Cheers,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


grub.conf hosed after kernel update

2010-06-12 Thread Mike Williams
Hi there. On the same system that I had the incomplete transaction
message from yum there was another problem.

After a kernel update the system would not boot.   It was left with a
blank screen with the cursor in the upper left corner.

I booted with a gparted CD, was able to mount drives and grub.conf
looked like this:

title Fedora (2.6.33.5-112.fc13.i686.PAE)
root (hd0,0)
kernel /vmlinuz-2.6.33.5-112.fc13.i686.PAE ro
root=UUID=8f4d59d1-603d-4c40-9d55-350173ba34ba rd_NO_LUKS rd_NO_LVM
rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
KEYTABLE=us video=vesafb nomodeset
title Fedora (2.6.33.3-85.fc13.i686.PAE)
root (hd0,0)
kernel /vmlinuz-2.6.33.3-85.fc13.i686.PAE ro
root=UUID=8f4d59d1-603d-4c40-9d55-350173ba34ba rd_NO_LUKS rd_NO_LVM
rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
KEYTABLE=us video=vesafb nomodeset
initrd /initramfs-2.6.33.3-85.fc13.i686.PAE.img

Note that there is no initrd line for the new kernel.  The initramfs
file was there, it just wasn't added to grub.conf.  Adding the initrd
line fixed the problem.

This has been fixed, just thought this might help someone else, and
wonder if I should file a BZ about this problem.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: yum-complete-transaction wants to remove 159 packages

2010-06-12 Thread Mike Williams
On Sat, Jun 12, 2010 at 1:05 PM, stan  wrote:
> On Sat, 12 Jun 2010 12:37:50 -0400
> Mike Williams  wrote:
>
>> Hi there.  On a system that recently had a fresh install of f13 I got
>> the following message from yum:
>> "There are unfinished transactions remaining. You might consider
>> running yum-complete-transaction first to finish them."
>>
>> When I ran yum-complete-transactions another message appeared:
>> "There are 1 outstanding transactions to complete. Finishing the most
>> recent one The remaining transaction had 228 elements left to run"
>>
>> Then after a very long list of packages it wants to remove including:
>> bash, yum-utils, and xorg-x11-drv-nouveau it says:
>>
>> Remove      159 Package(s)
>>
>> This sure seems like it will kill the system.
>
> Just as a check to see if the packages have been replaced by newer
> packages, and the update crashed before the erase step completed, you
> could run some queries for critical packages to see if the version
> installed is newer than the erase version.
>
I saw Craig's message first, then ran package-cleanup --dupes and sure
enough there were duplicates of all of those packages and it was the
older one that yum-complete-transaction wanted to erase.  I ran
yum-complete-transaction again and let it delete them this time.
>
> What happens if you do a yum update and ignore the warning?  Does it
> still warn the next time you run an update?

Yes, it still happened after a yum update was done.  I was waiting to
see if an update would make the problem go away, but it persisted.

> Unless there was a problem with a previous update, it seems like it is
> an error that it should be indicating that transactions need to
> complete. Perhaps you should file a bugzilla
> (http://bugzilla.redhat.com) against yum that it is flagging the
> situation incorrectly.  I vaguely recall that there can be overlap
> between anaconda and yum in functionality, so this might be an error in
> anaconda, leaving the system in a state that yum interprets as an
> incomplete transaction.

I will file a BZ later today.  Unfortunately I do note remember if the
problem happened with the first update after the initial install, so
whether it was yum or anaconda is not clear.

Thanks to all of you for the help,

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


yum-complete-transaction wants to remove 159 packages

2010-06-12 Thread Mike Williams
Hi there.  On a system that recently had a fresh install of f13 I got
the following message from yum:
"There are unfinished transactions remaining. You might consider
running yum-complete-transaction first to finish them."

When I ran yum-complete-transactions another message appeared:
"There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 228 elements left to run"

Then after a very long list of packages it wants to remove including:
bash, yum-utils, and xorg-x11-drv-nouveau it says:

Remove  159 Package(s)

This sure seems like it will kill the system.

uname -a
Linux mred.localdomain 2.6.33.5-112.fc13.i686.PAE #1 SMP Thu May 27
02:56:20 UTC 2010 i686 i686 i386 GNU/Linux

Any suggestions would be most appreciated.

Thanks,

Mike
== here is the whole list of what yum-complete-transaction wants to remove ==

Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.seas.harvard.edu
 * livna: rpm.livna.org
 * rpmfusion-free: mirror.liberty.edu
 * rpmfusion-free-updates: mirror.liberty.edu
 * rpmfusion-nonfree: mirror.liberty.edu
 * rpmfusion-nonfree-updates: mirror.liberty.edu
 * updates: mirror.seas.harvard.edu
Checking for new repos for mirrors
There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 228 elements left to run
Package yelp-2.30.1-1.fc13.i686 already installed and latest version
Package gnome-settings-daemon-2.30.1-6.fc13.i686 already installed and
latest version
Package 1:control-center-2.30.1-2.fc13.i686 already installed and latest version
Package ibus-pinyin-1.3.8-1.fc13.i686 already installed and latest version
Package orca-2.30.1-1.fc13.i686 already installed and latest version
--> Running transaction check
---> Package authconfig.i686 0:6.1.4-1.fc13 set to be erased
---> Package authconfig-gtk.i686 0:6.1.4-1.fc13 set to be erased
---> Package bash.i686 0:4.1.2-4.fc13 set to be erased
---> Package binutils.i686 0:2.20.51.0.2-15.fc13 set to be erased
---> Package binutils-devel.i686 0:2.20.51.0.2-15.fc13 set to be erased
---> Package boost.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-date-time.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-devel.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-filesystem.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-graph.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-iostreams.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-program-options.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-python.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-regex.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-serialization.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-signals.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-system.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-test.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-thread.i686 0:1.41.0-7.fc13 set to be erased
---> Package boost-wave.i686 0:1.41.0-7.fc13 set to be erased
---> Package clutter.i686 0:1.2.6-1.fc13 set to be erased
---> Package control-center-filesystem.i686 1:2.30.1-1.fc13 set to be erased
---> Package cscope.i686 0:15.6-8.fc12 set to be erased
---> Package db4.i686 0:4.8.26-1.fc13 set to be erased
---> Package db4-cxx.i686 0:4.8.26-1.fc13 set to be erased
---> Package db4-devel.i686 0:4.8.26-1.fc13 set to be erased
---> Package db4-utils.i686 0:4.8.26-1.fc13 set to be erased
---> Package dhclient.i686 12:4.1.1-15.fc13 set to be erased
---> Package docbook-style-xsl.noarch 0:1.75.2-5.fc13 set to be erased
---> Package dump.i686 1:0.4-0.4.b42.fc13 set to be erased
---> Package elfutils.i686 0:0.146-1.fc13 set to be erased
---> Package elfutils-libelf.i686 0:0.146-1.fc13 set to be erased
---> Package elfutils-libs.i686 0:0.146-1.fc13 set to be erased
---> Package exempi.i686 0:2.1.0-4.fc12 set to be erased
---> Package farsight2.i686 0:0.0.17-2.fc13 set to be erased
---> Package fedora-logos.noarch 0:13.0.1-1.fc13 set to be erased
---> Package file-roller.i686 0:2.30.0-1.fc13 set to be erased
---> Package foomatic.i686 0:4.0.4-9.fc13 set to be erased
---> Package foomatic-filters.i686 0:4.0.4-9.fc13 set to be erased
---> Package gnome-doc-utils-stylesheets.noarch 0:0.20.0-1.fc13 set to be erased
---> Package gnome-games.i686 1:2.30.0-1.fc13 set to be erased
---> Package gnome-games-help.noarch 1:2.30.0-1.fc13 set to be erased
---> Package gnome-user-docs.noarch 0:2.30.0-1.fc13 set to be erased
---> Package gnutls.i686 0:2.8.5-4.fc13 set to be erased
---> Package gnutls-devel.i686 0:2.8.5-4.fc13 set to be erased
---> Package groff.i686 0:1.18.1.4-20.fc13 set to be erased
---> Package gstreamer.i686 0:0.10.28-2.fc13 set to be erased
---> Package gstreamer-plugins-base.i686 0:0.10.28-1.fc13 set to be erased
---> Package gstreamer-tools.i686 0:0

Re: Bash issues on reinstall

2010-06-11 Thread Mike Williams
On Fri, Jun 11, 2010 at 2:18 PM, Roberto Ragusa  wrote:
> Mike Williams wrote:
>> -rw-r--r--.   1 root root    18 May 21 13:32 .bash_logout
>> -rw-r--r--.   1 root root   176 May 21 13:32 .bash_profile
>> -rw-r--r--.   1 root root   124 May 21 13:32 .bashrc
>
>> Anyone have any comments on whether there are supposed to be more
>> files in the /etc/skel tree, why mine is empty, and what to do about
>> it?
>
> 18 bytes + 176 bytes + 124 bytes 
> Why do you say it is empty?
>

Sorry, was in a hurry.  Noticed all the empty directories and missed
the .bash* files.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Bash issues on reinstall

2010-06-11 Thread Mike Williams
On Fri, Jun 11, 2010 at 2:18 PM, Roberto Ragusa  wrote:
> Mike Williams wrote:
>> -rw-r--r--.   1 root root    18 May 21 13:32 .bash_logout
>> -rw-r--r--.   1 root root   176 May 21 13:32 .bash_profile
>> -rw-r--r--.   1 root root   124 May 21 13:32 .bashrc
>
>> Anyone have any comments on whether there are supposed to be more
>> files in the /etc/skel tree, why mine is empty, and what to do about
>> it?
>
> 18 bytes + 176 bytes + 124 bytes 
> Why do you say it is empty?
>
> --
>   Roberto Ragusa    mail at robertoragusa.it
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Bash issues on reinstall

2010-06-10 Thread Mike Williams
On Thu, Jun 10, 2010 at 9:18 PM, Ted Roche  wrote:
> On Thu, Jun 10, 2010 at 8:00 PM, Bob Kinney  wrote:
>>
>>
>> BTW, my /etc/skel is empty.
>>
>
> Bob:
>
> Empty or hidden? Try:
>
> ls -al /etc/skel/
>
On freshly installed f13 systems there are a number of hidden
directories that are empty.

ls -laR /etc/skel
/etc/skel:
total 36
drwxr-xr-x.   4 root root  4096 Jun  3 17:17 .
drwxr-xr-x. 133 root root 12288 Jun 10 03:36 ..
-rw-r--r--.   1 root root18 May 21 13:32 .bash_logout
-rw-r--r--.   1 root root   176 May 21 13:32 .bash_profile
-rw-r--r--.   1 root root   124 May 21 13:32 .bashrc
drwxr-xr-x.   2 root root  4096 Mar 31 17:58 .gnome2
drwxr-xr-x.   4 root root  4096 May 30 09:17 .mozilla

/etc/skel/.gnome2:
total 8
drwxr-xr-x. 2 root root 4096 Mar 31 17:58 .
drwxr-xr-x. 4 root root 4096 Jun  3 17:17 ..

/etc/skel/.mozilla:
total 16
drwxr-xr-x. 4 root root 4096 May 30 09:17 .
drwxr-xr-x. 4 root root 4096 Jun  3 17:17 ..
drwxr-xr-x. 2 root root 4096 Jul 26  2009 extensions
drwxr-xr-x. 2 root root 4096 Jul 26  2009 plugins

/etc/skel/.mozilla/extensions:
total 8
drwxr-xr-x. 2 root root 4096 Jul 26  2009 .
drwxr-xr-x. 4 root root 4096 May 30 09:17 ..

/etc/skel/.mozilla/plugins:
total 8
drwxr-xr-x. 2 root root 4096 Jul 26  2009 .
drwxr-xr-x. 4 root root 4096 May 30 09:17 ..

Same thing on another, yet to updated system that still has f11 on it.
 Similar results on an even more out of date system with fc8 which has
a bunch of empty directories and one lone file
/etc/skel/.xemacs/init.el.

Anyone have any comments on whether there are supposed to be more
files in the /etc/skel tree, why mine is empty, and what to do about
it?

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Can't change boot order in BIOS

2010-06-10 Thread Mike Williams
On Thu, Jun 10, 2010 at 4:13 PM, Timothy Murphy  wrote:
> I was trying unsuccessfully to install Fedora-13
> on a rather old (maybe 11 years) machine
> with an Asus P2B-LS motherboard, using pxeboot
> (which worked on several other machines),
> and I found after some time that changing the boot order
> in the BIOS had no effect.
> Whatever order I chose the machine boots from
> one of the two SCSI drives.
>
> Has anyone else met this problem?
>
I recently ran into a system that would not boot from a DVD even
though the boot order was set correctly in the BIOS.  The same system
with the same BIOS settings booted from a CD.  I'm guessing that that
system's BIOS was too old to be able to handle booting from a DVD.
Just a WAG, but since the CD got me around my problem I didn't bother
digging any deeper.

> It's not the end of the world,
> as (hopefully) I can transfer the DVD iso file,
> and add a stanza in grub.conf .
>

If you are going to a hard disk install you may want to look up a
thread on this list with the
subject: Fedora 13 beta ISO install from hard drive

There are some differences in the HD install from previous releases.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: sshd get path to authorized_keys file wrong

2010-06-10 Thread Mike Williams
On Thu, Jun 10, 2010 at 6:45 AM, Barry Scott  wrote:
> We are seeing an sshd_config that used to work on f12 failing on f13.
>
> When doing ssh r...@host:
> Jun 10 11:34:32 f12barry sshd[23030]: Failed publickey for root from 
> 192.168.7.232 port 39169 ssh2
>
> Notice the public key file is //.ssh/authorized_keys.
>
> ---sshd_config--
> Port 22

I have two suggestions and a couple comments for you.

1) comment out the line with AuthorizedKeysFile

In comparing your sshd_config with one from a working f13 system I
noticed that I had that line commented out, when I uncommented I got a
failure similar to what you mentioned.

2) modify the AuthorizedKeysFile to match the line below (the %h
causes sshd to look in $HOME/.ssh)

AuthorizedKeysFile  %h/.ssh/authorized_keys

Both of the above worked for me, after I broke the system by
uncommenting the AutorizedKeysFile line.

Your log it lists port 39169, but the sshd_config you posted has Port
22 - I'm guessing what you posted as your sshd_config doesn't match
what was in place when the log messages occurred.

I never allow root login, it just seems like asking for big trouble.
I always set PermitRootLogin no and use sudo or su - as needed after
logging in as a normal user, which seems much safer.

Please post another message saying whether or not the
AuthorizedKeysFile change(s) worked for you.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Fedora 13 Upgrade Going Badly

2010-05-31 Thread Mike Williams
On Mon, May 31, 2010 at 9:35 AM, philbrog  wrote:
> I ran "/sbin/mingetty /dev/tty5" from single user mode, and after a few
> seconds I received the shell prompt with no messages displayed.

try again while watching the system log

tail -f /var/log/messages

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: F13: strange default for PDF viewer

2010-05-29 Thread Mike Williams
On Sat, May 29, 2010 at 6:53 AM, Jonathan Underwood
 wrote:
> On 28 May 2010 16:10, Marco Guazzone  wrote:
>> On Fri, May 28, 2010 at 3:16 PM, Rex Dieter  wrote:
>>> Marco Guazzone wrote:
>>>
 Hi,

 I've noticed that the default PDF viewer in
 "/usr/share/applications/mimeinfo.cache" is GIMP:

 application/pdf=gimp.desktop;evince.desktop;
There is mention of this here:
https://bugzilla.redhat.com/show_bug.cgi?id=496237

The mimeinfo.cache is apparently ramdonly orders and not intended to
be a priority list.  At least for pps that play by the rules.

>>> Defaults are stored elsewhere, see
>>>  /usr/share/applications/defaults.list
>>> (for !=kde anyway).
>> Thank you very much for pointing it out.
>>
>> Looking at this file I can see:
>>  application/pdf=AdobeReader.desktop
>>
>> So why does Firefox try to open a PDF with GIMP?

This bug claims that this was a firefox issue and fixed in ff 3.6
https://bugzilla.redhat.com/show_bug.cgi?id=445543

I will test this later with firefox 3.6 and see what happens.  I
currently have firefox set to *not* open pdf's because I prefer to
save a local copy and look at it later with evince or acroread instead
of viewing the pdf in the browser.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: "internet connection tester script"

2010-03-27 Thread Mike Williams
On Sat, Mar 27, 2010 at 8:31 AM, Ed Greshko  wrote:
> On 03/27/2010 08:07 PM, Jozsef Vadkan wrote:
>> Why doesn't my "internet-connection" script work?
>>
>> When I plug the ethcable out, it just waits...and waits...and waits...
>>
>> The script: http://pastebin.com/AE9U1qdL
>>
> Works OK for me
>
Works for me too.

Mike
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines