Re: [389-users] ACI invalid syntax

2013-09-04 Thread Ludwig Krispenz


On 09/04/2013 04:11 PM, Mitja Mihelič wrote:

Hi!

We are moving our Directory server from CentOS 5 Directory Server to 
CentOS 6 with 389 Directory Server.


Our DIT looks like this:
dc=example,dc=com
|- dc=guests,dc=example,dc=com

We would like the users in dc=example,dc=com to have full write 
permissions for their own entries. Users in 
dc=guests,dc=example,dc=com must not have that permission.


For that reason we had the following ACI applied to the 
dc=example,dc=com node:

(targetattr = *)
(target = ldap:///*@example.com,dc=example, dc=com)
(version 3.0;
acl Write to example.com - self;
allow (read,compare,search,write)
(userdn = ldap:///self;)
;)

This ACI works on the ol' CentOS 5 and the installed CentOS Directory 
server.

However the very same ACI cannot be applied in the 389DS on CentOS 6.
LDAPException: Invalid syntax (21)

maybe dn parsing is strict, try to remove the space in dc=example, dc=com


How should the ACI be written to work on CentOS 6 389DS?

you could also try
(target != ldap:///dc=guests,dc=example,dc=com;)


Kind regards,
Mitja



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: Firefox/Flash vs. Pulseaudio; Audio can't be directed to the desired device

2013-09-04 Thread Ian Malone
On 4 September 2013 06:49, Jonathan Ryshpan jonr...@pacbell.net wrote:
 Pulseaudio can control which output device receives main audio output via

 kmix-Mixer-Settings-Audio Setup-...

 which invokes Phonon.  At this point select the audio stream you want to
 divert, Prefer the device you want to receive the stream to the top and
 Apply.  This sends the audio stream, the output of Amarok (in my case) to
 the desired device, Built-in Audio Analog Stereo (in my case).

 EXCEPT that this doesn't work for a stream originating in Firefox/Flash.
 How can I redirect this stream?  What am I missing?


Which version of Fedora are you using? I ask because in F18 KDE the
Phonon KDE control only allows adjustment of output per category
(music, video, notifications etc). Both the flash plugin and firefox
use pulse's alsa plugin for playback, I'm not sure what category they
come under, whether they come under the same category or even if
applications using the alsa plugin can communicate their category.

Anyway, if you've tried all the categories and the overall device
control with no luck then try installing pavucontrol. The leftmost
'playback' tab will allow per-stream (actual streams, not categories)
control of the device used. However it only shows active streams, so
you need to start playback to get the stream you want to appear.

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
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: Error: connection activation failed: Device not managed by NetworkManager or unavailable after moving machine

2013-09-04 Thread g



On 09/03/2013 05:01 PM, Aaron Gray wrote:

Hi,

Error: connection activation failed: Device not managed by
NetworkManager or unavailable

I am getting the above error and have tried all my normal mods to try
and get a connection.

I did move the SATA drive from one machine to another and back,
changing the MAC address and putting it back in the process.

I have tried adding 'NM_CONTROLLED=yes' to
/etc/sysconfig/network-scripts/ifcfg-em1

but still am not able to get it to work.

As I cannot connect to the internet on this device I cannot do any yum
reinstalls.

Hope you can help,

Aaron



sometimes the quickest way to find an answer is to first check forums for
a similar problem to find an answer to a problem.

when that fails, using an internet search engine can work.

i chose the latter with ixquick.com, results was 27 hits;

https://ixquick.com/do/search?q=%22Error%3A+connection+activation+failed%3A+Device+not+managed+by+NetworkManager+or+unavailable%22lui=english

watch for line wrap.


--

peace out.

in a world with out fences, who needs gates.

sl6.3 linux

tc.hago.

g
.

--
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: SSH problem with kernel 3.10.9-200

2013-09-04 Thread Roberto Ragusa
On 08/31/2013 04:41 PM, Steven Stern wrote:

 When using kernel 3.10.9-200, cursor stops moving and characters are
 either not being transmitted or are not echoing back.  Have to wait for
 3-5 seconds to be able to continue typing.

If you verified that the kernel version matters, the problem could
be at the network level.
Maybe a bug in some advanced handling of the packets.
I would test if disabling all the hardware acceleration of your network
card (have a look at ethtool options -k and -K) makes a difference.

-- 
   Roberto Ragusamail at robertoragusa.it
-- 
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


how can i make restart not require root password

2013-09-04 Thread Jehan PROCACCIA
hello, 
I've got hundred of fedora19 station installed on computer lab for our 
students. 
these are self service multi-user stations, users needs to restart the station 
whenever they want to 
unfortunatly apparently polkit prevents them to restart when another user is 
(or had been ?) connected . 
I know it is a safe behavior, but we defenitively want to enable users to 
restart the station themself whenever they want to, but without requiring the 
root password ! 
indeed, often student leave the room without disconecting (bad !) , then the 
screen locks but still allows someone else to connect, but that second student 
then cannot restart :-( . 

I've tried lot of things: 
http://askubuntu.com/questions/1190/how-can-i-make-shutdown-not-require-admin-password
 
apparently .pkla files a deprecated , and I confirmed that creating a 
/etc/polkit-1/localauthority/50-local.d/allow_all_users_to_restart.pkla 
containing Action=org.freedesktop.consolekit.system.restart-multiple-users 
AllowActive=yes doesn't work 

then, from #fedora IRC I've been proposed to create rules in 
/etc/polkit-1/rules.d : 
http://paste.fedoraproject.org/36844/ 
[root@b06-02 rules.d]# cat 00-early-checks.rules 
/* Allow shutdown when others are logged in */ 
polkit.addRule(function(action, subject) { 
if (action.id == org.freedesktop.consolekit.system.stop-multiple-users || 
action.id == org.freedesktop.consolekit.system.restart-multiple-users) { 
return polkit.Result.YES; 
} 
}); 

it still fails, when user click on their username on the top right corner of 
the gnome-session, schroll down to shutdown, then click restart, a window 
appears warning that there are other user conencted and that authentification 
is required for rebooting the system while other users are logged in, and ends 
by asking to enter the Administrator password :-( 
Where can I remove that feature ? 

Thanks 
-- 
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: how can i make restart not require root password

2013-09-04 Thread Ahmad Samir
On 4 September 2013 11:02, Jehan PROCACCIA jehan.procac...@tem-tsp.euwrote:

 hello,
 I've got hundred of fedora19 station installed on computer lab for our
 students.
 these are self service multi-user stations, users needs to restart the
 station whenever they want to
 unfortunatly apparently polkit prevents them to restart when another
 user is (or had been ?) connected .
 I know it is a safe behavior, but we defenitively want to enable users to
 restart the station themself whenever they want to, but without requiring
 the root password !
 indeed, often student leave the room without disconecting (bad !) , then
 the  screen locks but still allows someone else to connect, but that second
 student then cannot restart :-( .

 I've tried lot of things:

 http://askubuntu.com/questions/1190/how-can-i-make-shutdown-not-require-admin-password
 apparently .pkla files a deprecated , and I confirmed that creating a
 /etc/polkit-1/localauthority/50-local.d/allow_all_users_to_restart.pkla
 containing Action=org.freedesktop.consolekit.system.restart-multiple-users
 AllowActive=yes doesn't work

 then, from #fedora IRC I've been proposed to create rules in
 /etc/polkit-1/rules.d :
 http://paste.fedoraproject.org/36844/
 [root@b06-02 rules.d]# cat 00-early-checks.rules
 /* Allow shutdown when others are logged in  */
 polkit.addRule(function(action, subject) {
 if (action.id ==
 org.freedesktop.consolekit.system.stop-multiple-users ||
 action.id ==
 org.freedesktop.consolekit.system.restart-multiple-users) {
 return polkit.Result.YES;
 }
 });

 it still fails, when user click on their username on the top right corner
 of the gnome-session, schroll down to shutdown, then click restart, a
 window appears warning that there are other user conencted and that
 authentification is required for rebooting the system while other users
 are logged in, and  ends by asking to enter the Administrator  password
 :-(
 Where can I remove that feature ?

 Thanks


IIUC, the actions you need to authenticate are:
org.freedesktop.login1.power-off-multiple-sessions
org.freedesktop.login1.reboot-multiple-sessions

have a look at /usr/share/polkit-1/actions/org.freedesktop.login1.policy.

FWIW, usually  polkit authentication propmpts are logged in the system
logs, either check /var/log/messages, or `journalctl -bn` (executed after
polkitd prompted for authentication).


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




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


kernel IO_PAGE_FAULT error messages

2013-09-04 Thread Lester M. Petrie Jr.
Hi

The following message (its one line) is swamping /var/log/messages, occurring 
many times per second. Does anyone know what it means, and especially how to 
fix it, or at least turn it off.  The machine seems to be running OK.  Thanks.

Sep  3 17:16:55 HOST kernel: [  712.941330] AMD-Vi: Event logged 
[IO_PAGE_FAULT device=04:00.0 domain=0x0011 address=0x1000 
flags=0x]

-- 
Lester M Petrie
RNSD/ORNL
865-574-5259
petriel...@ornl.gov
-- 
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


[389-users] ACI invalid syntax

2013-09-04 Thread Mitja Mihelič

Hi!

We are moving our Directory server from CentOS 5 Directory Server to 
CentOS 6 with 389 Directory Server.


Our DIT looks like this:
dc=example,dc=com
|- dc=guests,dc=example,dc=com

We would like the users in dc=example,dc=com to have full write 
permissions for their own entries. Users in dc=guests,dc=example,dc=com 
must not have that permission.


For that reason we had the following ACI applied to the 
dc=example,dc=com node:

(targetattr = *)
(target = ldap:///*@example.com,dc=example, dc=com)
(version 3.0;
acl Write to example.com - self;
allow (read,compare,search,write)
(userdn = ldap:///self;)
;)

This ACI works on the ol' CentOS 5 and the installed CentOS Directory 
server.

However the very same ACI cannot be applied in the 389DS on CentOS 6.
LDAPException: Invalid syntax (21)

How should the ACI be written to work on CentOS 6 389DS?

Kind regards,
Mitja

--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 78

--
389 users mailing list
389-us...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: Error: connection activation failed: Device not managed by NetworkManager or unavailable after moving machine

2013-09-04 Thread Aaron Gray
Thanks, been down those routes.

On 4 September 2013 08:49, g gel...@bellsouth.net wrote:


 On 09/03/2013 05:01 PM, Aaron Gray wrote:

 Hi,

 Error: connection activation failed: Device not managed by
 NetworkManager or unavailable

 I am getting the above error and have tried all my normal mods to try
 and get a connection.

 I did move the SATA drive from one machine to another and back,
 changing the MAC address and putting it back in the process.

 I have tried adding 'NM_CONTROLLED=yes' to
 /etc/sysconfig/network-scripts/ifcfg-em1

 but still am not able to get it to work.

 As I cannot connect to the internet on this device I cannot do any yum
 reinstalls.

 Hope you can help,

 Aaron


 sometimes the quickest way to find an answer is to first check forums for
 a similar problem to find an answer to a problem.

 when that fails, using an internet search engine can work.

 i chose the latter with ixquick.com, results was 27 hits;

 https://ixquick.com/do/search?q=%22Error%3A+connection+activation+failed%3A+Device+not+managed+by+NetworkManager+or+unavailable%22lui=english

 watch for line wrap.


 --

 peace out.

 in a world with out fences, who needs gates.

 sl6.3 linux

 tc.hago.

 g
 .

 --
 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
-- 
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: [389-users] ACI invalid syntax

2013-09-04 Thread Rich Megginson

On 09/04/2013 08:11 AM, Mitja Mihelič wrote:

Hi!

We are moving our Directory server from CentOS 5 Directory Server to 
CentOS 6 with 389 Directory Server.


Our DIT looks like this:
dc=example,dc=com
|- dc=guests,dc=example,dc=com

We would like the users in dc=example,dc=com to have full write 
permissions for their own entries. Users in 
dc=guests,dc=example,dc=com must not have that permission.


For that reason we had the following ACI applied to the 
dc=example,dc=com node:

(targetattr = *)
(target = ldap:///*@example.com,dc=example, dc=com)
(version 3.0;
acl Write to example.com - self;
allow (read,compare,search,write)
(userdn = ldap:///self;)
;)

This ACI works on the ol' CentOS 5 and the installed CentOS Directory 
server.

However the very same ACI cannot be applied in the 389DS on CentOS 6.
LDAPException: Invalid syntax (21)

How should the ACI be written to work on CentOS 6 389DS?


Use two different ACIs.
On entry dc=example,dc=com have the allow aci for self.
On entry dc=guests,dc=example,dc=com have a deny aci for self.



Kind regards,
Mitja



--
389 users mailing list
389-us...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: how can i make restart not require root password

2013-09-04 Thread Bill Davidsen

Jehan PROCACCIA wrote:

hello,
I've got hundred of fedora19 station installed on computer lab for our students.
these are self service multi-user stations, users needs to restart the station
whenever they want to
unfortunatly apparently polkit prevents them to restart when another user is
(or had been ?) connected .
I know it is a safe behavior, but we defenitively want to enable users to
restart the station themself whenever they want to, but without requiring the
root password !
indeed, often student leave the room without disconecting (bad !) , then the
screen locks but still allows someone else to connect, but that second student
then cannot restart :-( .

I've tried lot of things:
http://askubuntu.com/questions/1190/how-can-i-make-shutdown-not-require-admin-password
apparently .pkla files a deprecated , and I confirmed that creating a
/etc/polkit-1/localauthority/50-local.d/allow_all_users_to_restart.pkla
containi



ng Action=org.freedesktop.consolekit.system.restart-multiple-users

AllowActive=yes doesn't work

then, from #fedora IRC I've been proposed to create rules in 
/etc/polkit-1/rules.d :
http://paste.fedoraproject.org/36844/
[root@b06-02 rules.d]# cat 00-early-checks.rules
/* Allow shutdown when others are logged in  */
polkit.addRule(function(action, subject) {
 if (action.id == org.freedesktop.consolekit.system.stop-multiple-users ||
 action.id == 
org.freedesktop.consolekit.system.restart-multiple-users) {
 return polkit.Result.YES;
 }
});

it still fails, when user click on their username on the top right corner of the
gnome-session, schroll down to shutdown, then click restart, a window appears
warning that there are other user conencted and that authentification is
required for rebooting the system while other users are logged in, and  ends by
asking to enter the Administrator  password :-(
Where can I remove that feature ?

1 - Do the students ever have to initiate a long running job and wait for 
results? If so, having someone else reboot the machine is not desirable.


2 - It might be better to just log out idle users.

3 - However, if it is your intention to let any user reboot at any time, use 
visudo to add a line:

  %bootersALL=(ALL)   NOPASSWD: /sbin/reboot
so the next student could log in and reboot from command line with
  sudo su /sbin/reboot
Note that this requires putting all students allowed to do this (all of them?) 
into a secondary group allowed to reboot.


My though is that there is a reason why this isn't the default, if there is no 
legitimate use which justifies not rebooting, you certainly can do that. In 
particular, you probably don't want people logging in remotely and just 
rebooting the machine, students have been known to prank one another.


--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
--
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: Copy-pasting without transferring format

2013-09-04 Thread Bill Oliver

On Wed, 4 Sep 2013, Bill Davidsen wrote:


Oliver Ruebenacker wrote:


   Hello,

I would like to be able to copy-paste text without transferring the
 format.
 I'm using F19 with KDE.

[snip]


In many applications shift-ctrl-V calls paste-without-formatting. In some 
shift-ctrl-C does a cut-without-formatting (grab text only). At other times 
the past-without-formatting appears on the right click menu.




When nothing else works, I open a terminal and paste into a vi session,
then copy that and paste it into the rich text/html/whatever app.

billo
--
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: Copy-pasting without transferring format

2013-09-04 Thread Bill Davidsen

Oliver Ruebenacker wrote:


  Hello,

   I would like to be able to copy-paste text without transferring the format.
I'm using F19 with KDE.

   Currently, when I copy-paste (between Firefox, LibreOffice, etc), formatting
like font, font size and font attributes get also copied and pasted. But I am
looking for a way to copy-paste such that the format of the original text is
discarded and instead the format of the target document is used, as if I had
typed the text on the keyboard.

   (My wife uses the following trick on Windows: copy-paste text into URL-field
of the browser, then copy-paste from URL-field to destination).

   Thanks!

  Best,
  Oliver



In many applications shift-ctrl-V calls paste-without-formatting. In some 
shift-ctrl-C does a cut-without-formatting (grab text only). At other times the 
past-without-formatting appears on the right click menu.



--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
--
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: how can i make restart not require root password

2013-09-04 Thread Jehan Procaccia

Le 04/09/2013 11:38, Ahmad Samir a écrit :
On 4 September 2013 11:02, Jehan PROCACCIA jehan.procac...@tem-tsp.eu 
mailto:jehan.procac...@tem-tsp.eu wrote:


hello,
I've got hundred of fedora19 station installed on computer lab for
our students.
these are self service multi-user stations, users needs to restart
the station whenever they want to
unfortunatly apparently polkit prevents them to restart when
another user is (or had been ?) connected .
I know it is a safe behavior, but we defenitively want to enable
users to restart the station themself whenever they want to, but
without requiring the root password !
indeed, often student leave the room without disconecting (bad !)
, then the  screen locks but still allows someone else to connect,
but that second student then cannot restart :-( .

I've tried lot of things:

http://askubuntu.com/questions/1190/how-can-i-make-shutdown-not-require-admin-password
apparently .pkla files a deprecated , and I confirmed that
creating a
/etc/polkit-1/localauthority/50-local.d/allow_all_users_to_restart.pkla
containing
Action=org.freedesktop.consolekit.system.restart-multiple-users
AllowActive=yes doesn't work

then, from #fedora IRC I've been proposed to create rules in
/etc/polkit-1/rules.d :
http://paste.fedoraproject.org/36844/
[root@b06-02 rules.d]# cat 00-early-checks.rules
/* Allow shutdown when others are logged in  */
polkit.addRule(function(action, subject) {
if (action.id http://action.id ==
org.freedesktop.consolekit.system.stop-multiple-users ||
action.id http://action.id ==
org.freedesktop.consolekit.system.restart-multiple-users) {
return polkit.Result.YES;
}
});

it still fails, when user click on their username on the top right
corner of the gnome-session, schroll down to shutdown, then click
restart, a window appears warning that there are other user
conencted and that authentification is required for rebooting the
system while other users are logged in, and  ends by asking to
enter the Administrator  password :-(
Where can I remove that feature ?

Thanks


IIUC, the actions you need to authenticate are:
org.freedesktop.login1.power-off-multiple-sessions
org.freedesktop.login1.reboot-multiple-sessions

yes ! that was it, instead of 
org.freedesktop.consolekit.system.restart-multiple-users it is 
org.freedesktop.login1.reboot-multiple-sessions that must be set to YES .

I tried that with success
Thanks a lot .

however, it is confusing those two items 
consolekit.system.restart-multiple-users and 
login1.reboot-multiple-sessions, what is the difference between them ?



have a look at /usr/share/polkit-1/actions/org.freedesktop.login1.policy.

FWIW, usually  polkit authentication propmpts are logged in the system 
logs, either check /var/log/messages, or `journalctl -bn` (executed 
after polkitd prompted for authentication).


--
users mailing list
users@lists.fedoraproject.org mailto: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




--
Ahmad Samir




-- 
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: Error: connection activation failed: Device not managed by NetworkManager or unavailable after moving machine

2013-09-04 Thread g


hello aaron,

On 09/04/2013 09:27 AM, Aaron Gray wrote:

Thanks, been down those routes.


welcome.

you did not mention. thought i would offer what i could.


--

peace out.

in a world with out fences, who needs gates.

sl6.3 linux

tc.hago.

g
.

--
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: how can i make restart not require root password

2013-09-04 Thread Jehan Procaccia

Le 04/09/2013 17:08, Bill Davidsen a écrit :

Jehan PROCACCIA wrote:

hello,
I've got hundred of fedora19 station installed on computer lab for 
our students.
these are self service multi-user stations, users needs to restart 
the station

whenever they want to
unfortunatly apparently polkit prevents them to restart when 
another user is

(or had been ?) connected .
I know it is a safe behavior, but we defenitively want to enable 
users to
restart the station themself whenever they want to, but without 
requiring the

root password !
indeed, often student leave the room without disconecting (bad !) , 
then the
screen locks but still allows someone else to connect, but that 
second student

then cannot restart :-( .

I've tried lot of things:
http://askubuntu.com/questions/1190/how-can-i-make-shutdown-not-require-admin-password 


apparently .pkla files a deprecated , and I confirmed that creating a
/etc/polkit-1/localauthority/50-local.d/allow_all_users_to_restart.pkla
containi



ng Action=org.freedesktop.consolekit.system.restart-multiple-users

AllowActive=yes doesn't work

then, from #fedora IRC I've been proposed to create rules in 
/etc/polkit-1/rules.d :

http://paste.fedoraproject.org/36844/
[root@b06-02 rules.d]# cat 00-early-checks.rules
/* Allow shutdown when others are logged in  */
polkit.addRule(function(action, subject) {
 if (action.id == 
org.freedesktop.consolekit.system.stop-multiple-users ||
 action.id == 
org.freedesktop.consolekit.system.restart-multiple-users) {

 return polkit.Result.YES;
 }
});

it still fails, when user click on their username on the top right 
corner of the
gnome-session, schroll down to shutdown, then click restart, a window 
appears
warning that there are other user conencted and that 
authentification is
required for rebooting the system while other users are logged in, 
and  ends by

asking to enter the Administrator  password :-(
Where can I remove that feature ?

1 - Do the students ever have to initiate a long running job and wait 
for results? If so, having someone else reboot the machine is not 
desirable.


2 - It might be better to just log out idle users.

3 - However, if it is your intention to let any user reboot at any 
time, use visudo to add a line:

  %bootersALL=(ALL)   NOPASSWD: /sbin/reboot
so the next student could log in and reboot from command line with
  sudo su /sbin/reboot
Note that this requires putting all students allowed to do this (all 
of them?) into a secondary group allowed to reboot.


My though is that there is a reason why this isn't the default, if 
there is no legitimate use which justifies not rebooting, you 
certainly can do that. In particular, you probably don't want people 
logging in remotely and just rebooting the machine, students have been 
known to prank one another.


unfortunatly , some user never use a terminal and would'nt know how to 
use a command line as sudo su /sbin/reboot
the purpose here was to enable restart from the drop down menu withing 
the gnome session .

as ahmad samir replied earlier, I have the solution with setting this:
[root@b06-01 ~]# cat /etc/polkit-1/rules.d/00-early-checks.rules
/* Allow shutdown when others are logged in  */
polkit.addRule(function(action, subject) {
if (action.id == org.freedesktop.login1.reboot-multiple-sessions ||
action.id == 
org.freedesktop.login1.power-off-multiple-sessions) {

return polkit.Result.YES;
}
});

thanks .
--
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: how can i make restart not require root password

2013-09-04 Thread Bill Davidsen

Jehan Procaccia wrote:

Le 04/09/2013 17:08, Bill Davidsen a écrit :

Jehan PROCACCIA wrote:

hello,
I've got hundred of fedora19 station installed on computer lab for our 
students.

these are self service multi-user stations, users needs to restart the station
whenever they want to
unfortunatly apparently polkit prevents them to restart when another user is
(or had been ?) connected .
I know it is a safe behavior, but we defenitively want to enable users to
restart the station themself whenever they want to, but without requiring the
root password !
indeed, often student leave the room without disconecting (bad !) , then the
screen locks but still allows someone else to connect, but that second student
then cannot restart :-( .

I've tried lot of things:
http://askubuntu.com/questions/1190/how-can-i-make-shutdown-not-require-admin-password 


apparently .pkla files a deprecated , and I confirmed that creating a
/etc/polkit-1/localauthority/50-local.d/allow_all_users_to_restart.pkla
containi



ng Action=org.freedesktop.consolekit.system.restart-multiple-users

AllowActive=yes doesn't work

then, from #fedora IRC I've been proposed to create rules in 
/etc/polkit-1/rules.d :

http://paste.fedoraproject.org/36844/
[root@b06-02 rules.d]# cat 00-early-checks.rules
/* Allow shutdown when others are logged in  */
polkit.addRule(function(action, subject) {
 if (action.id == 
org.freedesktop.consolekit.system.stop-multiple-users ||
 action.id == 
org.freedesktop.consolekit.system.restart-multiple-users) {

 return polkit.Result.YES;
 }
});

it still fails, when user click on their username on the top right corner of 
the

gnome-session, schroll down to shutdown, then click restart, a window appears
warning that there are other user conencted and that authentification is
required for rebooting the system while other users are logged in, and  
ends by

asking to enter the Administrator  password :-(
Where can I remove that feature ?

1 - Do the students ever have to initiate a long running job and wait for 
results? If so, having someone else reboot the machine is not desirable.


2 - It might be better to just log out idle users.

3 - However, if it is your intention to let any user reboot at any time, use 
visudo to add a line:

  %bootersALL=(ALL)   NOPASSWD: /sbin/reboot
so the next student could log in and reboot from command line with
  sudo su /sbin/reboot
Note that this requires putting all students allowed to do this (all of 
them?) into a secondary group allowed to reboot.


My though is that there is a reason why this isn't the default, if there is 
no legitimate use which justifies not rebooting, you certainly can do that. 
In particular, you probably don't want people logging in remotely and just 
rebooting the machine, students have been known to prank one another.


unfortunatly , some user never use a terminal and would'nt know how to use a 
command line as sudo su /sbin/reboot
the purpose here was to enable restart from the drop down menu withing the 
gnome session .

as ahmad samir replied earlier, I have the solution with setting this:
[root@b06-01 ~]# cat /etc/polkit-1/rules.d/00-early-checks.rules
/* Allow shutdown when others are logged in  */
polkit.addRule(function(action, subject) {
if (action.id == org.freedesktop.login1.reboot-multiple-sessions ||
action.id == org.freedesktop.login1.power-off-multiple-sessions) {
return polkit.Result.YES;
}
});

thanks .


Actually command lines are specified in menu items and icons...

--
Bill Davidsen david...@tmr.com
  'Nothing to hide' does not imply 'nothing to fear'
  - me
  ATT could not seriously contend that a reasonable entity in its position
   could have believed that the alleged domestic dragnet was legal.
  -judge Vaughn R. Walker of the U.S. District Court
   for the Northern District of California, EFF vs. ATT


--
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: Error: connection activation failed: Device not managed by NetworkManager or unavailable after moving machine

2013-09-04 Thread Rick Stevens

On 09/03/2013 03:01 PM, Aaron Gray issued this missive:

Hi,

Error: connection activation failed: Device not managed by
NetworkManager or unavailable

I am getting the above error and have tried all my normal mods to try
and get a connection.

I did move the SATA drive from one machine to another and back,
changing the MAC address and putting it back in the process.

I have tried adding 'NM_CONTROLLED=yes' to
/etc/sysconfig/network-scripts/ifcfg-em1

but still am not able to get it to work.

As I cannot connect to the internet on this device I cannot do any yum
reinstalls.


Are you certain the device is still called em1? As root, try ifconfig 
-a.


Several revisions ago many network devices were renamed based on the
bus they were on and where they appeared on the bus. For example, my
old eth0 got renamed p4p1. My wlan0 card was also a candidate,
so I added a rule to /etc/udev/rules.d/70-persistent-net.rules to
keep the old wlan0 name. The rule looks like:

# PCI device 0x8086:0x008a (iwlagn)
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, 
ATTR{address}==bc:77:37:51:11:5c, ATTR{dev_id}==0x0, 
ATTR{type}==1, KERNEL==wlan*, NAME=wlan0


You could do something similar. Note that the bc:77:37:51:11:5c
is the MAC address of my wireless card. You can extract that from the
ifconfig -a data...it's the thing listed after ether in the listing.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-   I haven't lost my mind.  It's backed up on tape somewhere, but   -
-   probably not recoverable.-
--
--
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: Firefox/Flash vs. Pulseaudio; Audio can't be directed to the desired device

2013-09-04 Thread Jonathan Ryshpan

On Wed, 2013-09-04 at 08:32 +0100, Ian Malone wrote:
 On 4 September 2013 06:49, Jonathan Ryshpan jonr...@pacbell.net wrote:
  Pulseaudio can control which output device receives main audio output via
 
  kmix-Mixer-Settings-Audio Setup-...
 
  which invokes Phonon.  At this point select the audio stream you want to
  divert, Prefer the device you want to receive the stream to the top and
  Apply.  This sends the audio stream, the output of Amarok (in my case) to
  the desired device, Built-in Audio Analog Stereo (in my case).
 
  EXCEPT that this doesn't work for a stream originating in Firefox/Flash.
  How can I redirect this stream?  What am I missing?
 
 
 Which version of Fedora are you using? I ask because in F18 KDE the
 Phonon KDE control only allows adjustment of output per category
 (music, video, notifications etc). Both the flash plugin and firefox
 use pulse's alsa plugin for playback, I'm not sure what category they
 come under, whether they come under the same category or even if
 applications using the alsa plugin can communicate their category.
 
 Anyway, if you've tried all the categories and the overall device
 control with no luck then try installing pavucontrol. The leftmost
 'playback' tab will allow per-stream (actual streams, not categories)
 control of the device used. However it only shows active streams, so
 you need to start playback to get the stream you want to appear.

I am using Fedora-19.  Kmix works just as you describe, only allowing 
adjustment of output by category.  Here's the version info for Kmix:
KMix Version 4.3 Using KDE Development Platform 4.10.5
No category controls the alsa plugin, i.e. Firefox/Flash.  (WHY NOT??)

HOWEVER, pavucontrol works perfectly.  Is there any way to make it the
default mixer for the KDE's audio applet?


-- 
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: small error when starting Fedora

2013-09-04 Thread Rick Stevens

On 09/04/2013 12:53 PM, Chris Roberts issued this missive:

Hi,


I had to get a new laptop because my last one had a hinge issue. After
installing Fedora 19 onto this laptop, When clicking Fedora 19 from grub
I get a message saying: irq 9: nobody cared(try booting with the
irqpoll option) It stays for about 5 seconds then Fedora boots
normally. Its more of an annoyance then anything since its not hindering
startup. Is there any way to fix this?


Not really. IRQ9 is the cascade for IRQ2, which was used mostly for
COM3 or COM4 back in the day. It's most often used now for ACPI
operations. If you're getting that message, make sure the various ACPI
options are enabled in your BIOS (these are the things affecting the
power usage...ACPI = Advanced Configuration and Power Interface).

The system polls the various IRQs to see if a device responds on them.
If not, you get the nobody cared message (no hardware was using that
IRQ) and life goes on. On my machines, I generally see stuff like this
in dmesg regarding IRQ 9:

[0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)

Your mileage may vary.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
- Celibacy is not hereditary.  -
-  -- Guy Goden  -
--
--
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


small error when starting Fedora

2013-09-04 Thread Chris Roberts

Hi, 

I had to get a new laptop because my last one had a hinge issue. After 
installing Fedora 19 onto this laptop, When clicking Fedora 19 from grub I get 
a message saying: irq 9: nobody cared(try booting with the irqpoll option) It 
stays for about 5 seconds then Fedora boots normally. Its more of an annoyance 
then anything since its not hindering startup. Is there any way to fix this? 

Chris
-- 
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: Firefox/Flash vs. Pulseaudio; Audio can't be directed to the desired device

2013-09-04 Thread g


hello jonathan,

On 09/04/2013 12:13 PM, Jonathan Ryshpan wrote:



I am using Fedora-19.  Kmix works just as you describe, only allowing
adjustment of output by category.  Here's the version info for Kmix:
 KMix Version 4.3 Using KDE Development Platform 4.10.5
No category controls the alsa plugin, i.e. Firefox/Flash.  (WHY NOT??)


may be you are looking in wrong place?

open firefox 'Preferences', select 'Applications', look there for
'Content Type' you want, click on it. under 'Actions' you will get
a 'selection bar', click on it, select from there.

hth.


--

peace out.

in a world with out fences, who needs gates.

sl6.3 linux

tc.hago.

g
.

--
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: Firefox/Flash vs. Pulseaudio; Audio can't be directed to the desired device

2013-09-04 Thread Ian Malone
On 4 September 2013 18:13, Jonathan Ryshpan jonr...@pacbell.net wrote:

 On Wed, 2013-09-04 at 08:32 +0100, Ian Malone wrote:
 On 4 September 2013 06:49, Jonathan Ryshpan jonr...@pacbell.net wrote:
  Pulseaudio can control which output device receives main audio output via
 
  kmix-Mixer-Settings-Audio Setup-...
 
  which invokes Phonon.  At this point select the audio stream you want to
  divert, Prefer the device you want to receive the stream to the top and
  Apply.  This sends the audio stream, the output of Amarok (in my case) to
  the desired device, Built-in Audio Analog Stereo (in my case).
 
  EXCEPT that this doesn't work for a stream originating in Firefox/Flash.
  How can I redirect this stream?  What am I missing?
 

 Which version of Fedora are you using? I ask because in F18 KDE the
 Phonon KDE control only allows adjustment of output per category
 (music, video, notifications etc). Both the flash plugin and firefox
 use pulse's alsa plugin for playback, I'm not sure what category they
 come under, whether they come under the same category or even if
 applications using the alsa plugin can communicate their category.

 Anyway, if you've tried all the categories and the overall device
 control with no luck then try installing pavucontrol. The leftmost
 'playback' tab will allow per-stream (actual streams, not categories)
 control of the device used. However it only shows active streams, so
 you need to start playback to get the stream you want to appear.

 I am using Fedora-19.  Kmix works just as you describe, only allowing
 adjustment of output by category.  Here's the version info for Kmix:
 KMix Version 4.3 Using KDE Development Platform 4.10.5
 No category controls the alsa plugin, i.e. Firefox/Flash.  (WHY NOT??)


You'd need to ask on the pulseaudio and Phonon development lists. My
guess is that the categories phonon suggests correspond to some of the
'media.role' values:
http://freedesktop.org/software/pulseaudio/doxygen/proplist_8h.html#a06b7c7a5bfc7a20974b7785031169596
(with notifications=event and communication=phone), but 'flash'
probably counts as animation (assuming a media role is set at all),
which isn't listed in my audio playback dropdown within phonon.
Have you tried setting the overall 'audio playback' order? I
appreciate that may mess up other stuff for you, but wondering if it
makes a difference.
It might be possible to override the type flash gets, but you'd need
to put it in your .bash_login or something,
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/ApplicationProperties/#pa_prop_media_role
more sensibly it would be fairly straightforward for someone familiar
with the code to add the animation type to phonon, could be filed as a
RFE with KDE.

 HOWEVER, pavucontrol works perfectly.  Is there any way to make it the
 default mixer for the KDE's audio applet?



Don't think so, but you could add a launcher to the panel instead.

-- 
imalone
http://ibmalone.blogspot.co.uk
-- 
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


add to favorites

2013-09-04 Thread Patrick Dupre
Hello,

In fedora 19, how can I add an application launcher to the favorites menu?

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===
-- 
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: add to favorites

2013-09-04 Thread Roger

On 09/05/2013 07:53 AM, Patrick Dupre wrote:

Hello,

In fedora 19, how can I add an application launcher to the favorites menu?

Thank.


Call it up from Menu by entering the name in the search field, when 
the Icon appears right click on it and click Add to panel

Cheers
Roger
--
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: kernel IO_PAGE_FAULT error messages

2013-09-04 Thread poma
On 04.09.2013 16:09, Lester M. Petrie Jr. wrote:
 Hi
 
 The following message (its one line) is swamping /var/log/messages, occurring 
 many times per second. Does anyone know what it means, and especially how to 
 fix it, or at least turn it off.  The machine seems to be running OK.  Thanks.
 
 Sep  3 17:16:55 HOST kernel: [  712.941330] AMD-Vi: Event logged 
 [IO_PAGE_FAULT device=04:00.0 domain=0x0011 address=0x1000 
 flags=0x]
 

uname -a
lspci -vnn | grep 04:00.0 -A9


poma


-- 
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: add to favorites

2013-09-04 Thread Patrick Dupre
Very good,

Thank you.

 - Original Message -
 From: Roger
 Sent: 09/05/13 01:17 AM
 To: users@lists.fedoraproject.org
 Subject: Re: add to favorites
 
 On 09/05/2013 07:53 AM, Patrick Dupre wrote:
  Hello,
 
  In fedora 19, how can I add an application launcher to the favorites menu?
 
  Thank.
 
 
 Call it up from Menu by entering the name in the search field, when 
 the Icon appears right click on it and click Add to panel
 Cheers
 Roger
 -- 
 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


===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===
-- 
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: how can i make restart not require root password

2013-09-04 Thread poma
On 04.09.2013 17:55, Jehan Procaccia wrote:
…
 however, it is confusing those two items
 consolekit.system.restart-multiple-users and
 login1.reboot-multiple-sessions, what is the difference between them ?

$ repoquery --whatprovides */org.freedesktop.consolekit.policy
$ repoquery --repoid=updates --whatprovides */org.freedesktop.login1.policy

$ FD=http://cgit.freedesktop.org
$ CK=ConsoleKit/plain
$ PA=data/org.freedesktop.consolekit.policy
$ curl -s $FD/$CK/$PA | grep -P '(?=.*id)(?=.*multi)'
$ PKA=/usr/share/polkit-1/actions
$ SLD=org.freedesktop.login1.policy
$ grep -P '(?=.*id)(?=.*multi)' $PKA/$SLD


$ man 1 pkaction


poma


http://www.freedesktop.org/wiki/Software/ConsoleKit/
…
ConsoleKit is currently not actively maintained. The focus has shifted
to the built-in seat/user/session management of Software/systemd called
systemd-loginctl
…
-- 
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: how can i make restart not require root password

2013-09-04 Thread Suvayu Ali
On Wed, Sep 04, 2013 at 12:31:46PM -0400, Bill Davidsen wrote:
 Jehan Procaccia wrote:
 Le 04/09/2013 17:08, Bill Davidsen a écrit :
 
 3 - However, if it is your intention to let any user reboot at any time,
 use visudo to add a line:
   %bootersALL=(ALL)   NOPASSWD: /sbin/reboot
 so the next student could log in and reboot from command line with
   sudo su /sbin/reboot
 Note that this requires putting all students allowed to do this (all of
 them?) into a secondary group allowed to reboot.
 
 unfortunatly , some user never use a terminal and would'nt know how to use
 a command line as sudo su /sbin/reboot
 the purpose here was to enable restart from the drop down menu withing the
 gnome session .
 
 Actually command lines are specified in menu items and icons...

I don't think sudo works from a menu, you need gksudo or ksudo for that.
That said, sudo is a hammer compared to polkit.  For example, polkit can
restrict allowed actions to a user present at the physical terminal (as
the OP wanted), I don't think sudo can do that.

PS: I use sudo all the time, but then on my machines, I'm the only real user.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
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: how can i make restart not require root password

2013-09-04 Thread Joe Zeff

On 09/04/2013 05:44 PM, Suvayu Ali wrote:

I don't think sudo works from a menu, you need gksudo or ksudo for that.
That said, sudo is a hammer compared to polkit.  For example, polkit can
restrict allowed actions to a user present at the physical terminal (as
the OP wanted), I don't think sudo can do that.


Fedora comes with beesu and things such as yumex use it.  Of course, you 
could always just turn on the suid bit on the executable, but I'd leave 
it as a last resort, especially as you'd have to do it again any time 
the file gets updated.

--
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: how can i make restart not require root password

2013-09-04 Thread poma
On 05.09.2013 02:52, Joe Zeff wrote:
 On 09/04/2013 05:44 PM, Suvayu Ali wrote:
 I don't think sudo works from a menu, you need gksudo or ksudo for that.
 That said, sudo is a hammer compared to polkit.  For example, polkit can
 restrict allowed actions to a user present at the physical terminal (as
 the OP wanted), I don't think sudo can do that.
 
 Fedora comes with beesu and things such as yumex use it.  Of course, you
 could always just turn on the suid bit on the executable, but I'd leave
 it as a last resort, especially as you'd have to do it again any time
 the file gets updated.

You drive Fedora on old fashioned way.
Welcome to the present.

https://lists.fedoraproject.org/pipermail/users/2013-August/440106.html
…
/etc/polkit-1/rules.d/50-dk.yumex.backend.pkexec.run.rules

$ rpm -ql yumex | grep policy


poma


-- 
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: how can i make restart not require root password

2013-09-04 Thread Suvayu Ali
On Wed, Sep 04, 2013 at 05:52:59PM -0700, Joe Zeff wrote:
 On 09/04/2013 05:44 PM, Suvayu Ali wrote:
 I don't think sudo works from a menu, you need gksudo or ksudo for that.
 That said, sudo is a hammer compared to polkit.  For example, polkit can
 restrict allowed actions to a user present at the physical terminal (as
 the OP wanted), I don't think sudo can do that.
 
 Fedora comes with beesu and things such as yumex use it.  Of course, you
 could always just turn on the suid bit on the executable, but I'd leave it
 as a last resort, especially as you'd have to do it again any time the file
 gets updated.

You just mentioned things that one should not do, specially on a system
where curious students are bound to fool around.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
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: how can i make restart not require root password

2013-09-04 Thread Joe Zeff

On 09/04/2013 06:47 PM, Suvayu Ali wrote:

You just mentioned things that one should not do, specially on a system
where curious students are bound to fool around.


Mentioning the suid bit was just, for me, a matter of being complete. 
Using besu (Not beesu, as I wrote.) will work if you've set sudo up 
properly, such as giving everybody sudo rights for this command, and 
*only* this command.  It's not something I'd do, at least not around 
students, but that's not my call to make.

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


how long (repo update)

2013-09-04 Thread Martin S
does it usually take for repos to catch up with releases?

Just recently it was announced that Choqok 1.4 contains

Support for Twitter API v1.1 (Thanks to Daniel Kreuter for 
his effort on it)

Currently what is in the repo is 1.3, therefore the question. 
Just curious.

/M.
-- 
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


Does 'YUM install' always install the latest app version?

2013-09-04 Thread Fernando Cassia
Hi there,

This is a probably stupid question, but I never checked what strategy yum
uses.

If I do yum install firefox on a freshly installed F19 system, and the
initial version of FIrefox on F19 (the one shipped on the LiveCD) is, say,
21.0, but the latest update on the repos is, say, Firefox 23.0. Does yum
install firefox directly fetch FF 23.0.x, or does it install the
baseline browser (21.0) and then on the next yum update firefox jump to
23?.

Thanks in advance.
FC

-- 
During times of Universal Deceit, telling the truth becomes a revolutionary
act
Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto
Revolucionario
- George Orwell
-- 
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: Does 'YUM install' always install the latest app version?

2013-09-04 Thread Martin S
On Thursday, September 05, 2013 01:08:50 AM Fernando Cassia wrote:


Hi there,


This is a probably stupid question, but I never checked what strategy yum uses.


If I do yum install firefox on a freshly installed F19 system, and the 
initial version of 
FIrefox on F19 (the one shipped on the LiveCD) is, say, 21.0, but the latest 
update on 
the repos is, say, Firefox 23.0. Does yum install firefox directly fetch FF 
23.0.x, or 
does it install the baseline browser (21.0) and then on the next yum update 
firefox 
jump to 23?.




Yum default behaviour would be (AFAIK) to install version 23.0 as it would 
report 21.0 
already installed. And find nothing to do.

/M.

-- During times of Universal Deceit, telling the truth becomes a revolutionary 
actDurante épocas de Engaño Universal, decir la verdad se convierte en un Acto 
Revolucionario- George Orwell




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


Making yum say what mirror it is downloading from

2013-09-04 Thread Fernando Cassia
Any idea why yum doesn't show by default from what mirror it is downloading
from? It's not like there's no space on the output strings layout...

Instead of
--
Transaction Summary

Install  1 Package  (+3 Dependent packages)
Upgrade ( 7 Dependent packages)

Total download size: 50 M
Is this ok [y/d/N]: y
Downloading packages:
updates/19/i386/prestodelta| 1.2 MB   00:03

Delta RPMs reduced 1.4 M of updates to 416 k (71% saved)
(1/11): nspr-4.9.6-1.fc19_4.10.0-3.fc19.i686.drpm  |  28 kB   00:01

(2/11): nss-softokn-freebl-3.14.3-1.fc19_3.15.1-1.fc19.i68 |  31 kB   00:00

--

I'd suggest:
Transaction Summary
==
Install  1 Package  (+3 Dependent packages)
Upgrade ( 7 Dependent packages)

Total download size: 50 M
Is this ok [y/d/N]: y

Downloading packages:  [from Mirror: fedora.gtdinternet.com] 
updates/19/i386/prestodelta| 1.2 MB   00:03

Delta RPMs reduced 1.4 M of updates to 416 k (71% saved)
(1/11): nspr-4.9.6-1.fc19_4.10.0-3.fc19.i686.drpm  |  28 kB   00:01

(2/11): nss-softokn-freebl-3.14.3-1.fc19_3.15.1-1.fc19.i68 |  31 kB   00:00

-

In case of a timeout (which down here, happens often) it'd show, instead
of...
-
wget-1.14-8.fc19.i686.rpm  FAILED

http://fedora.gtdinternet.com/updates/19/i386/wget-1.14-8.fc19.i686.rpm:
[Errno 14] curl#6 - TIMEOUT
Trying other mirror.
-

-
wget-1.14-8.fc19.i686.rpm  FAILED

http://fedora.gtdinternet.com/updates/19/i386/wget-1.14-8.fc19.i686.rpm:
[Errno 14] curl#6 - TIMEOUT
Trying other mirror: [ www.las.ic.unicamp.br ]
-

It should be noted that under the current behaviour:
1. The current mirror is not displayed
2. When there are recurrent problems (ie slow downloads) with a current YUM
whatever download, one cannot identify the name of the problem mirror,
because (point #1)
3. even with -v (for verbose operation) yum details all kinds of internal
values, timings etc but NOT THE MIRROR it is downloading from.

It seems like a nice RFE with no downsides I can think of, and trivial to
implement.

Thoughts? Comments? Expletives? ;-).

PS: I have filed a bug...
https://bugzilla.redhat.com/show_bug.cgi?id=1004628

FC

-- 
During times of Universal Deceit, telling the truth becomes a revolutionary
act
Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto
Revolucionario
- George Orwell
-- 
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: Does 'YUM install' always install the latest app version?

2013-09-04 Thread Fernando Cassia
On Thu, Sep 5, 2013 at 1:16 AM, Martin S shieldf...@gmail.com wrote:


 Yum default behaviour would be (AFAIK) to install version 23.0 as it would
 report 21.0 already installed. And find nothing to do.


Suppose we're talking about a package which is not part of the base
install. Or that we're talking about Fedora XFCE whose default browser is
not Firefox :)

FC
-- 
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: Does 'YUM install' always install the latest app version?

2013-09-04 Thread Rejy M Cyriac
On 09/05/2013 11:01 AM, Fernando Cassia wrote:
 
 On Thu, Sep 5, 2013 at 1:16 AM, Martin S shieldf...@gmail.com
 mailto:shieldf...@gmail.com wrote:
 
 
 Yum default behaviour would be (AFAIK) to install version 23.0 as it
 would report 21.0 already installed. And find nothing to do.
 
 
 Suppose we're talking about a package which is not part of the base
 install. Or that we're talking about Fedora XFCE whose default browser
 is not Firefox :)
 
 FC
 
 
Yum would always default to installing the highest version available,
unless you provide the specific version number at the command.

-- 
Regards,

Rejy M Cyriac (rmc)
-- 
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: Does 'YUM install' always install the latest app version?

2013-09-04 Thread Fernando Cassia
On Thu, Sep 5, 2013 at 1:32 AM, Rejy M Cyriac rcyr...@redhat.com wrote:

 Yum would always default to installing the highest version available,
 unless you provide the specific version number at the command.


Thanks Rejy!

FC
-- 
During times of Universal Deceit, telling the truth becomes a revolutionary
act
Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto
Revolucionario
- George Orwell
-- 
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: Does 'YUM install' always install the latest app version?

2013-09-04 Thread Joe Zeff

On 09/04/2013 10:31 PM, Fernando Cassia wrote:

Suppose we're talking about a package which is not part of the base
install. Or that we're talking about Fedora XFCE whose default browser
is not Firefox :)


AFAIK it installs the most recent version.  Why would you expect it to 
do anything else?

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