Re: Network Manager power drain

2014-01-11 Thread William Murray

  Thanks to 'fedora' for replying,
I am not sure how to make the threads work when I see this list in 
batched mode. His reply is here:


|Do you need exactly NetworkManager? If you only have static connections
|you may use network.service instead of NetworkManager.service
|
|systemctl stop NetworkManager
|systemctl start network
|systemctl enable network
|systemctl disable NetworkManager
|
| suomi

Alas this does not work. Start network fails. It seems NetworkManager is not
the problem, the bridge probably is.
brctl show says:
bridge namebridge idSTP enabledinterfaces
virbr08000.yes

There was a nic-virbr0 interface, but some googling said it should not 
be there,

so I deleted it and see no change. So I still see powertop reporting

  22.5 W  0.0 pkts/sDevice nic:virbr0

which seems unreasonable for a small device
However, now I realsie bumblebee is not working, so maybe the nvidia card
is the real culprit..I'll look there..
   Thanks,
   Bill


On 10/01/14 08:57, William Murray wrote:

  Dear FC20 users,
   I tried posting a few days ago as 'Help with fc20 NIC power? 
https://lists.fedoraproject.org/pipermail/users/2014-January/444624.html' 
but had
no luck. My battery life dropped to about 20 mins with FC20. I THINK 
it is because
NetworkManager is doing something bad with the virtual bridge. 
Certainly that
is using all the power. But that does not show up in the 'Network' box 
in gnome.

So I am not sure how to fix it.
   Any ideas?
Thanks,
   Bill

--
Bill Murray    ATLAS
STFC/Warwick at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
   Tel:- CERN +41 22 7678432

--
Scanned by iCritical.




--
Bill Murray    ATLAS
STFC/Warwick at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432

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


Network Manager power drain

2014-01-10 Thread William Murray

  Dear FC20 users,
   I tried posting a few days ago as 'Help with fc20 NIC power? 
https://lists.fedoraproject.org/pipermail/users/2014-January/444624.html' 
but had
no luck. My battery life dropped to about 20 mins with FC20. I THINK it 
is because
NetworkManager is doing something bad with the virtual bridge. Certainly 
that
is using all the power. But that does not show up in the 'Network' box 
in gnome.

So I am not sure how to fix it.
   Any ideas?
Thanks,
   Bill

--
Bill Murray    ATLAS
STFC/Warwick at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432

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


Help with fc20 NIC power?

2014-01-02 Thread William Murray

  Hi all,
F20 installed, all seems nice - except the power. I am using 
'powertop' which reports 19W

on virbr and 13 on wlp3s0. A full battery last 40mins, c/f 4 hrs on FC19.
My interfaces look like this:

lo: flags=73UP,LOOPBACK,RUNNING  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10host
loop  txqueuelen 0  (Local Loopback)
RX packets 45104  bytes 3688208 (3.5 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 45104  bytes 3688208 (3.5 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

p5p1: flags=4099UP,BROADCAST,MULTICAST  mtu 1500
ether 14:fe:b5:b9:0f:56  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099UP,BROADCAST,MULTICAST  mtu 1500
inet 192.168.122.1  netmask 255.255.255.0  broadcast 
192.168.122.255

ether 52:54:00:da:47:5b  txqueuelen 0  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500
inet 192.168.1.65  netmask 255.255.255.0  broadcast 192.168.1.255
inet6 fe80::ae72:89ff:fe0b:e550  prefixlen 64  scopeid 0x20link
ether ac:72:89:0b:e5:50  txqueuelen 1000  (Ethernet)
RX packets 32210  bytes 33072577 (31.5 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 28620  bytes 4325233 (4.1 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


I set up the virbr for my VM's - those are currently all off.  I may have
messed up the config, but it was working nicely in F19.
If I switch off the wireless the virbr still uses O(20W). Any ideas
how to debug? I cannot even see config files. Help my laptop battery 
dies NOW.

   Thanks!!
 Bill

--
Bill Murray    ATLAS
STFC/Warwick at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432

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


Goa daemon eats all my cpu

2013-09-21 Thread William Murray

  Hi all,
   Go daemon keeps grabbing 100% of my cpu. I don't really know what it 
is, good
tells me it is something to do with online accounts (which I never 
use).  Is there some
way to tame it? Or any way to switch it off completely? It is drawing a 
lot of power...

 Bill

--
Bill Murray    ATLAS
STFC/Warwick at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432

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


Re: Goa daemon eats all my cpu

2013-09-21 Thread William Murray


On 21/09/13 22:59, Reindl Harald wrote:


Am 21.09.2013 22:51, schrieb William Murray:

Go daemon keeps grabbing 100% of my cpu. I don't really know what it is, good
tells me it is something to do with online accounts (which I never use).  Is 
there some
way to tame it? Or any way to switch it off completely?

who did it switch on?
what package is it?
why is it installed?

in other words: output of ps aux and if possible package

if it is really a daemon - systemctl list-units | grep service
systemctl disable whatever.service
systemctl stop whatever.service

Thanks Reindl,
Of course I stupidly killed it and do not know what causes 
it to start. I'll

try to post this when I next have the problem  -might be a couple of days.
  Bill



--
Bill Murray    ATLAS
STFC/Warwick at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432

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


Re: Goa daemon eats all my cpu

2013-09-21 Thread William Murray


On 21/09/13 23:06, William Murray wrote:


On 21/09/13 22:59, Reindl Harald wrote:


Am 21.09.2013 22:51, schrieb William Murray:
Go daemon keeps grabbing 100% of my cpu. I don't really know what it 
is, good
tells me it is something to do with online accounts (which I never 
use).  Is there some

way to tame it? Or any way to switch it off completely?

who did it switch on?
what package is it?
why is it installed?

in other words: output of ps aux and if possible package

if it is really a daemon - systemctl list-units | grep service
systemctl disable whatever.service
systemctl stop whatever.service

Thanks Reindl,
Of course I stupidly killed it and do not know what causes 
it to start. I'll
try to post this when I next have the problem  -might be a couple of 
days.

  Bill



  I had a look in my log and goa-daemon is not in the service 
configuration but is started

on boot.  Hwever, it was slo started before the current issue as follows:

Sep 21 21:42:40 my-machine gnome-session[3859]: JS LOG: System monitor 
applet enabling
Sep 21 21:42:40 my-machine gnome-session[3859]: JS LOG: System monitor 
applet enabling done
Sep 21 21:42:50 my-machine gnome-session[3859]: Window manager warning: 
CurrentTime used to choose focus window; focus window may not be correct.
Sep 21 21:42:50 my-machine gnome-session[3859]: Window manager warning: 
Got a request to focus 0x302a978 (ecfa-2013b) with a timestamp of 0.  
This shouldn't happen!
Sep 21 21:42:50 my-machine gnome-session[3859]: Window manager warning: 
CurrentTime used to choose focus window; focus window may not be correct.
Sep 21 21:42:50 my-machine gnome-session[3859]: Window manager warning: 
Got a request to focus the no_focus_window with a timestamp of 0.  This 
shouldn't happen!
Sep 21 21:42:54 my-machine goa[3256]: goa-daemon version 3.8.3 starting 
[main.c:113, main()]


So here it got started outside boot, maybe by this gnome-session WM error.
   Bill

--
Bill Murray    ATLAS
STFC/Warwick at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432

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


FC19 Battery 'remaining time' extension in gnome 3 gone?

2013-07-07 Thread William Murray

   Hello all,
 In FC18 I used a nice gnome 3 extension which showed the remaining 
batter time on my laptop.
This allowed remedial action if I accidentally did something stupid like 
turn the screen on max.
It is marked 'outdated' in FC19, but I don't see a replacement. Does 
anyone know where I can

get such functionality?
   Thanks,
 Bill

--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

--
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 does Fedora 18 hate me? (solved!)

2013-02-28 Thread William Murray


On 22/02/13 01:16, poma wrote:

On 02/21/13 21:47, William Murray wrote:

   Sorry for the title...but F18 is REALLY sick.
I posted under  Freeze failures with F18 but no-one tried answered.

[…]

The energy, the faith, the devotion which we bring to this endeavor
will light our distro and all who serve it - and the glow from that fire
can truly light the world. And so, my fellow Fedorian: ask not what your
distro can do for you - ask what you can do for your distro.


Cheers,
poma



Apologies to all,
 Fedora doesn't hate me, Nvidia does. The problem was 'bumblebee' was 
stuck and refusing
to unload. I debugged this when I realised that there is a log file 
pm-suspend.log. This told
me the script and the line number where it was hanging, and I was able 
to add printout in there.


Somehow I did not have this rpm: xorg-x11-server-common
and when I add it (and remove+reinstall bumlbee) all is well again.

   Cheers!
 Bill


--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

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


Why does Fedora 18 hate me?

2013-02-21 Thread William Murray

  Sorry for the title...but F18 is REALLY sick.
I posted under  Freeze failures with F18 but no-one tried answered.

It just happened again. I installed kernel 3.7.9-201.fc18.x86_64. I was 
able to

suspend twice - and it stops again. With the same error as before

 Freezing user space processes ...
[  982.758476] Freezing of tasks failed after 20.01 seconds (1 tasks 
refusing to freeze, wq_busy=0):
 [  982.758631] rmmod   D 8801be613cc0 0  1008 968 
0x0084


Please, a laptop that does not suspend is a complete pain. Can anyone 
suggest how to debug this?

How do I find out what module did not remove?

   Bill


--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

--
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: Freeze failures with F18

2013-02-20 Thread William Murray


On 17/02/13 09:45, William Murray wrote:

On 13/02/13 11:43, William Murray wrote:

  Dear all,
  F18 has been going well for me, but freezing my laptop stopped 
working 3 days ago.
Looking at my logs, the only rpm change on the 10th of Feb was 
installing ecj - I guess

it is unrelated. Anyway, from my first suspend on the 11th I got this:

Freezing of tasks failed after 20.01 seconds (1 tasks refusing to 
freeze, wq_busy=0):

 rmmod   D 8801be613cc0 0  1073957 0x0084
  8801b1fdfec8 0082 8801b33edc80 8801b1fdffd8
  8801b1fdffd8 8801b1fdffd8 81c13420 8801b33edc80
  8801 8801b33edc80 a0248dc0 
  Call Trace:
  [81635af9] schedule+0x29/0x70
  [810c0955] sys_delete_module+0x245/0x2d0
  [810dc46c] ? __audit_syscall_entry+0xcc/0x300
  [8163ac9e] ? do_page_fault+0xe/0x10
  [8163f2d9] system_call_fastpath+0x16/0x1b

Suspend is REALLY usefulany ideas how to debug this?
 Thanks!
   Bill


 Well, the new kernel 3.7.7-201.fc18.x86_64 fixed it...
   Bill

  Alas, I spoke too soon. With 3.7.7-201 I got 2 or 3 suspends, and 
then it stopped
working. Then with kernel-3.7.8-202.fc18.x86_64 I got 4 suspends and it 
stopped again,


It is almost (almost) always rmmod that is flagged up but with different 
hex strings.
I would really appreciate help with this. How do I know what module 
rmmod is stuck on?

   Blil


--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

--
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: Freeze failures with F18

2013-02-17 Thread William Murray

On 13/02/13 11:43, William Murray wrote:

  Dear all,
  F18 has been going well for me, but freezing my laptop stopped 
working 3 days ago.
Looking at my logs, the only rpm change on the 10th of Feb was 
installing ecj - I guess

it is unrelated. Anyway, from my first suspend on the 11th I got this:

Freezing of tasks failed after 20.01 seconds (1 tasks refusing to 
freeze, wq_busy=0):

 rmmod   D 8801be613cc0 0  1073957 0x0084
  8801b1fdfec8 0082 8801b33edc80 8801b1fdffd8
  8801b1fdffd8 8801b1fdffd8 81c13420 8801b33edc80
  8801 8801b33edc80 a0248dc0 
  Call Trace:
  [81635af9] schedule+0x29/0x70
  [810c0955] sys_delete_module+0x245/0x2d0
  [810dc46c] ? __audit_syscall_entry+0xcc/0x300
  [8163ac9e] ? do_page_fault+0xe/0x10
  [8163f2d9] system_call_fastpath+0x16/0x1b

Suspend is REALLY usefulany ideas how to debug this?
 Thanks!
   Bill


 Well, the new kernel 3.7.7-201.fc18.x86_64 fixed it...
   Bill

--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

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


Freeze failures with F18

2013-02-13 Thread William Murray

  Dear all,
  F18 has been going well for me, but freezing my laptop stopped 
working 3 days ago.
Looking at my logs, the only rpm change on the 10th of Feb was 
installing ecj - I guess

it is unrelated. Anyway, from my first suspend on the 11th I got this:

Freezing of tasks failed after 20.01 seconds (1 tasks refusing to 
freeze, wq_busy=0):

 rmmod   D 8801be613cc0 0  1073957 0x0084
  8801b1fdfec8 0082 8801b33edc80 8801b1fdffd8
  8801b1fdffd8 8801b1fdffd8 81c13420 8801b33edc80
  8801 8801b33edc80 a0248dc0 
  Call Trace:
  [81635af9] schedule+0x29/0x70
  [810c0955] sys_delete_module+0x245/0x2d0
  [810dc46c] ? __audit_syscall_entry+0xcc/0x300
  [8163ac9e] ? do_page_fault+0xe/0x10
  [8163f2d9] system_call_fastpath+0x16/0x1b

Suspend is REALLY usefulany ideas how to debug this?
 Thanks!
   Bill

--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

--
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: rsync (ssh) authorisation weirdness on F18

2013-01-28 Thread William Murray

In F18 the rsync command fails to connect:
  dbus-daemon[938]: Could not create directory '/root/.ssh'.
  dbus-daemon[938]: Host key verification failed.



Check /var/log/audit/audit.log.  SELinux is probably denying access to
the script in networkmanager's context.


Dear Gordon,
Thanks, thats it. I put selinux on permissive in the 
client, and got 258 selinux

warnings, but my files are backed up again.

I tidied a lot like this:
  grep rsync /var/log/audit/audit.log | audit2allow -M mypol
 semodule -i mypol.pp
setsebool -P rsync_export_all_ro 1

I'm switiching on selinux and rebooting...
Thanks!
   Bill


--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

-- 
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: rsync (ssh) authorisation weirdness on F18

2013-01-28 Thread William Murray


On 28/01/13 09:54, William Murray wrote:

In F18 the rsync command fails to connect:
  dbus-daemon[938]: Could not create directory '/root/.ssh'.
  dbus-daemon[938]: Host key verification failed.

Check /var/log/audit/audit.log.  SELinux is probably denying access to
the script in networkmanager's context.
Dear Gordon,
Thanks, thats it. I put selinux on permissive in the 
client, and got 258 selinux

warnings, but my files are backed up again.

I tidied a lot like this:
  grep rsync /var/log/audit/audit.log | audit2allow -M mypol
 semodule -i mypol.pp
setsebool -P rsync_export_all_ro 1

I'm switiching on selinux and rebooting...
Thanks!
   Bill


Alas, running with selinux on just causes NetworkManager to time out - 
and no feedback

is SELinux alert browser.

--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
   Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

--
Scanned by iCritical.




--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

-- 
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: rsync (ssh) authorisation weirdness on F18

2013-01-24 Thread William Murray



On Wed, 23 Jan 2013 18:53:31 +0100
William Murray wrote:


/  Connection closed by XXX.YYY.ZZZ.??? [preauth]

/

That was one of the errors I was seeing which led me to start
this thread:

http://lists.fedoraproject.org/pipermail/users/2013-January/429506.html  
http://lists.fedoraproject.org/pipermail/users/2013-January/429506.html

(but I was always failing to connect, not merely sometimes
failing).


Thanks Tom,
   That looked very promising - but actually doesn't seem to 
change anything.

I relabelled them though...

I did spot something else though. I have this backup script running in 
/etc/cron.daily
and so it runs once a day as well as whenever I plug in the correct 
cable.  That
version works! So when called (directly) by cron it runs, when called 
(indirectly) by

NetworkManager it doesn't. Directly or indirectly by me it doesn't...

This is very confusing.
 Bill


--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

-- 
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: rsync (ssh) authorisation weirdness on F18

2013-01-23 Thread William Murray

  Thanks

On 23/01/13 08:26, William Murray wrote:Allegedly, on or about 23 January 2013, 
William Murray sent:

/  in ./NetworkManager/dispatcher.d/ and looks at new network

//  connections.
//  If it sees one machine some criteria it calls a backup script
//  in /etc/cron.daily/ which rsyncs various directories between my laptop
//  and a desktop machine. This worked will in F17 and many
//  previous versions.
//  In F18 the rsync command fails to connect:
//dbus-daemon[938]: Could not create directory '/root/.ssh'.
//dbus-daemon[938]: Host key verification failed.
//  
//  If I run either of the scripts as root interactively then they work.

//  But not when NetworkManager tries  to run them. Any idea what might be
//  wrong? Both end already have /root/.ssh, so this error confuses me.
/

First thought:  The scripts run by the dispatcher probably aren't being
run as the root user.


Thanks...I tried echoing the output of 'whois' but that says root.
 

Second thought, unrelated to the problem, but a common enough gotcha for
any automatically run scripts:  Sometimes scripts don't run in the same
environment as you're used to, as a user.  So it can be better to write
the full path to any command, rather than just use the command name, and
hope that it's in the search path of the script's environment.  /bin
probably is, but you never know with /sbin, and the various ones
inside /usr.
 
The thing is that rsync is being run - does it matter how?. I dug a bit

deeper though, and turned up the debug on sshd on the server, and diffed the 
output.

I see 'good' and 'bad' attempts are the same up to
expecting SSH2_MGG_NEWKEYS received [preauth]
but that then a login launched by NetworkManager says
Connection closed by XXX.YYY.ZZZ.??? [preauth]
while one from me logged in as root says:
 SSH2_MGG_NEWKEYS received [preauth]

Does this give any clues?
Bill


 


--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

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


rsync (ssh) authorisation weirdness on F18

2013-01-22 Thread William Murray

  Dear Fedora enthusiasts,
   I have been doing backup of my system using a custom 
pair of scripts. One sits
in ./NetworkManager/dispatcher.d/ and looks at new network connections. 
If it sees one
machine some criteria it calls a backup script in /etc/cron.daily/ which 
rsyncs various
directories between my laptop and a desktop machine. This worked will in 
F17 and many

previous versions.
   In F18 the rsync command fails to connect:
 dbus-daemon[938]: Could not create directory '/root/.ssh'.
 dbus-daemon[938]: Host key verification failed.

If I run either of the scripts as root interactively then they work. But not
when NetworkManager tries  to run them. Any idea what might be wrong?
Both end already have /root/.ssh, so this error confuses me.
   Thanks!
   Bill




--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

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


Time/Date shell-thingy in F18

2013-01-21 Thread William Murray

   Dear list,
(What do we call the shell thingies which replaced applets?)

I wanted to have the date at the top of my shiny new FC18 screen, not 
just the time.
I installed dconf-editor, went to org-gome-shell and found 'calendar' 
and 'clock'
each of which have booleans, one for 'show-weekdate' and the other for 
'show-date'
As far as I can tell these do nothing at all. I toggle and log in/out or 
reboot but no

date appears.
  This morning, with the new kernel, my system when into gnome 2 
fallback mode.
Ah-hah! I siezed the opportunity of a 'preferences' menu on the clock, 
switched

on the date, and rebooted - perfect; gnome 3, plus date.
So I am happybut there MUST be a better way to switch this on 
and of?

 Bill




--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

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


Battery life improved with F18

2013-01-21 Thread William Murray

   Thanks guys,
  I don't know what you did, but after upgrading my laptop 
FC17-FC18 I

saw a 5 hr battery life being quoted - I never saw that long before.

It may be something to do with optimus? My nvidia video card is not 
working inF18 as there
is no bumblebee rpm yet, but maybe someone worked out how to switch it 
off by default?

(suits me). Anyway, I'm happy!
  Bill



--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

--
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: f18 update woes

2013-01-17 Thread William Murray

  Dear all,
 I am still unable to install F18 on my laptop. After giving up on 
F17-F18 fedup upgrading
I decided to delete my window partition and install F18 there. The 
installer started fine, but

neither automatically not manually would it let me assign the disks.
  There is only 70GB free, but this should not be too little. But 
that is what both disk
setup options report. Possibly this us due to the odd disk layout I have 
now:


/dev/sda1 0.1GB DellUtility
/dev/sda2 20GB Windows recovery
Blank68GB unused
/dev/sda4 extended
   /dev/sda5  0.5GB /boot
   /dev/sda6  7.8GB luks (swap)
   /dev/sda7   400GB  luks All-my-files
  /dev/sda8   99GB  ext4 / F17 system

Somehow F18 install is unable to squeeze in, whether I tell it to use the
old swap space or not...
   Ideas?
 Bill




On 16/01/13 16:14, William Murray wrote:

  Dear Fedora-enthusiasts,
I have just run fedup on a couple of F17 systems with sad 
consequences, and I am looking for help.


1) The first was an F17 along machine. I did a network 'fedup' which 
ran with no errors and left it for the
night. In the morning it was stick in a boot sequence. I can still 
boot the FC17 kernels (fortunately)
but the F18 always hangs almost immediately with an error about being 
unable to mount the filesystem.
No errors in the 3 log files. I tried reinstalling grub2 and 
removing/reading the F18 kernel but no joy


Generally install went OK, but with 2 monitors I still fall-back to 
gnome 3 mode. KDE did not upgrade; I think

it may be because later version numbers are already in FC17 then FC18.

2) The worse one in my dual-booting laptop. Win7+Fedora, using grub2 
to chainload windows if desired.
 It is a somewhat convoluted system with Fedora 17 unencrypted plus a 
big encrypted partition.
I ran 'fedup' (to an iso DVD file) and got no errors. Then I hit 
reboot - and stuck at:

   File system boot sector (C) is reserved
   There is no OS to bot on this disk.
Using a rescue disk and reinstalling GRUB2 fixed the boot startup, but 
loading the fedup dracut then
times out waiting for device-mapper-luks and cannot boot. So I comment 
out the entry in /etc/fstab

But still the boot fails in the disk setup phase.  Any ideas?

  Thanks!
Bill



--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

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


f18 update woes

2013-01-16 Thread William Murray

  Dear Fedora-enthusiasts,
I have just run fedup on a couple of F17 systems with sad 
consequences, and I am looking for help.


1) The first was an F17 along machine. I did a network 'fedup' which ran 
with no errors and left it for the
night. In the morning it was stick in a boot sequence. I can still boot 
the FC17 kernels (fortunately)
but the F18 always hangs almost immediately with an error about being 
unable to mount the filesystem.
No errors in the 3 log files. I tried reinstalling grub2 and 
removing/reading the F18 kernel but no joy


Generally install went OK, but with 2 monitors I still fall-back to 
gnome 3 mode. KDE did not upgrade; I think

it may be because later version numbers are already in FC17 then FC18.

2) The worse one in my dual-booting laptop. Win7+Fedora, using grub2 to 
chainload windows if desired.
 It is a somewhat convoluted system with Fedora 17 unencrypted plus a 
big encrypted partition.
I ran 'fedup' (to an iso DVD file) and got no errors. Then I hit reboot 
- and stuck at:

   File system boot sector (C) is reserved
   There is no OS to bot on this disk.
Using a rescue disk and reinstalling GRUB2 fixed the boot startup, but 
loading the fedup dracut then
times out waiting for device-mapper-luks and cannot boot. So I comment 
out the entry in /etc/fstab

But still the boot fails in the disk setup phase.  Any ideas?

  Thanks!
Bill

--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

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


Help with pxe guest VM install

2012-11-07 Thread William Murray

  Dear list,
  I have been trying to setup a PXE guess installation on Fedora 17 
with no success.
I build a bridge, and connect my VM to it but DHCP times out in the VM 
install.
I don't know how to debug this bridge. I guess I could connect a 'live' 
machine to it,

but what then?

I follow:

http://docs.fedoraproject.org/en-US/Fedora/13/html/Virtualization_Guide/sect-Virtualization-Network_Configuration-Bridged_networking_with_libvirt.html 


and
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/sect-Virtualization_Host_Configuration_and_Guest_Installation_Guide-Guest_Installation-Installing_guests_with_PXE.html 



These guides almost work. Two differences show up:
 brctl show
bridge namebridge idSTP enabledinterfaces
br08000.14feb5b90f56nop5p1
virbr08000.525400da475byesvirbr0-nic

The virtual bridge has an interface. I assume I set this up in the dim 
and distant past, but I don't think it is relevant.


# service iptables save
Redirecting to /bin/systemctl save  iptables.service

Unknown operation 'save'.

This I think I work around using the iptables rules relating to a bridge.

One stupid question: does the external network see the MAC address of 
the host or the guest?

   Thanks for any other ideas...
  Bill

--
Bill Murray    ATLAS
STFC RAL at: Bat 40 4-C28, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7678432or  RAL +44 (0)1235 446256

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


Twinhead gnome 3 fallback mode

2012-06-01 Thread William Murray

  Dear all,
I have a machine with two monitors, using Intel Q35 
driver with DRI. Gnome 3
works in fallback mode still in FC17  - I was expecting that would not 
happen. Did I hope for

too much?
Bill


--
Bill Murray    ATLAS
STFC RAL at: Bat 161 1-08, CERN,1211 Meyrin, Geneve 23, Switzerland
  Tel:- CERN +41 22 7670631or  RAL +44 (0)1235 446256

--
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: wine direct rendering under F16?

2011-11-14 Thread William Murray


On 13/11/11 18:44, William Murray wrote:
   Dear users,
Is anyone else experiencing a big slow down with wine in F16 
 c/f F15? I am not sure how to
 debug, but 'Settlers IV' is a factor 10 slowed down.

 Starting it says:

 wine: cannot find LC:\\windows\\system32\\wineboot.exe
 err:process:start_wineboot failed to start wineboot, err 2
 XX err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is 
 disabled, most likely your OpenGL drivers haven't been installed 
 correctly
 fixme:win:EnumDisplayDevicesW ((null),0,0x33dedc,0x), stub!
 fixme:d3d_surface:wined3d_surface_blt Can't handle WINEDDBLT_ASYNC flag.
 err:mmdevapi:DllGetClassObject Driver initialization failed
 err:ole:apartment_getclassobject DllGetClassObject returned error 
 0x80004005
 err:ole:CoGetClassObject no class object 
 {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
 fixme:d3d_surface:wined3d_surface_flip Ignoring flags 0x1.
 XX


 But glxgears says:

  glxinfo
 name of display: :0
 display: :0  screen: 0
 direct rendering: Yes
 server glx vendor string: SGI
 server glx version string: 1.4
 server glx extensions:
 GLX_ARB_multisample, GLX_EXT_import_context, 
 GLX_EXT_texture_from_pixmap,
 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
 GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
 GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
 GLX_SGIX_visual_select_group, GLX_INTEL_swap_event
 client glx vendor string: Mesa Project and SGI
 client glx version string: 1.4

   Cn anyone suggest a fix?
 Thanks,
 Bill
 (Ps Optimus laptop, but I think the intel should be enough for this :)



my guess is you are running x86_64 with open source drivers. your
problem is that mesa-dri-drivers.i686 is missing (you do have the
x86_64 variant for sure). I already suggested that it should be pulled
in by some other mesa component to not let you fall back to software
rendering for no apparent reason.

try:
yum install mesa-dri-drivers.i686

this should fix the problem.

kind regards,
Rudolf Kastl


Hello Rudolf,
 Good guess! Adding this removed this error:
XX  err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is
disabled, most likely your OpenGL drivers haven't been installed correctly
  
but unfortunately it replaced it with:

fixme:d3d_surface:wined3d_surface_blt Can't handle WINEDDBLT_ASYNC flag.
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} 
could be created for context 0x1
fixme:d3d_surface:wined3d_surface_flip Ignoring flags 0x1.

There is a speedup, I think, of a factor 2, but it is still way below 
useability.
I am not sure why but I seem to have a mix of wine packages:

wine-1.3.29-1.fc16.x86_64
wine-alsa-1.3.29-1.fc16.x86_64
wine-capi-1.3.29-1.fc16.i686
wine-capi-1.3.29-1.fc16.x86_64
wine-cms-1.3.29-1.fc16.i686
wine-cms-1.3.29-1.fc16.x86_64
wine-common-1.3.29-1.fc16.noarch
wine-core-1.3.29-1.fc16.i686
wine-core-1.3.29-1.fc16.x86_64
etc.

So 64 bit wine but most support in 32 and 64 bits. Does this make any sense? 
Should I remove one set?

Thank you,
  Bill



-- 
Bill Murray    ATLAS
STFC RAL at: Bat 161 1-08, CERN,1211 Meyrin, Geneve 23, Switzerland
   Tel:- CERN +41 22 7670631or  RAL +44 (0)1235 446256

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