|
List Info
Thread: Etch: DBUS and powersave daemon message
|
|
| Etch: DBUS and powersave daemon message |

|
2007-05-17 13:36:12 |
Hi.
Each time I start KDE I get a message,
"You are not permitted to connect to the powersave
daemon via DBUS.
Please check your DBUS configuration and
installation."
This happened with both the AMD64 and i386 installs. I have
made no
changes to the HAL, DBUS or any other subsystem.
Google searches are turning up a lot of translations of the
phrase,
but no help. Can someone suggest a avenue of investigation?
Curt-
--
To UNSUBSCRIBE, email to debian-kde-REQUEST lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster lists.debian.org
|
|
| Re: Etch: DBUS and powersave daemon
message |
  Austria |
2007-05-17 13:44:17 |
On Thursday 17 May 2007, Curt Howland wrote:
> Hi.
>
> Each time I start KDE I get a message,
>
> "You are not permitted to connect to the powersave
daemon via DBUS.
> Please check your DBUS configuration and
installation."
>
> This happened with both the AMD64 and i386 installs. I
have made no
> changes to the HAL, DBUS or any other subsystem.
>
> Google searches are turning up a lot of translations of
the phrase,
> but no help. Can someone suggest a avenue of
investigation?
Check if your user is member of the group
"powerdev"
Or more generally:
Daemons with D-Bus interfaces on the D-Bus system bus can
restrict who can
call which of those functions.
To tell the D-Bus daemon about this restrictions, they
install a policy file
in /etc/dbus-1/system.d
In the example of powersave daemon, there is a file
/etc/dbus-1/system.d/powersave.conf
At the end it details what "desktop users" are
allowed to do and it specifies
that those users have to be in the group
"powerdev"
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
|
|
| Re: Etch: DBUS and powersave daemon
message |
  United States |
2007-05-17 19:35:43 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 17 May 2007, Kevin Krammer was heard to say:
> On Thursday 17 May 2007, Curt Howland wrote:
> > "You are not permitted to connect to the
powersave daemon via
> > DBUS. Please check your DBUS configuration and
installation."
> Check if your user is member of the group
"powerdev"
Well, I forgot to look before adding, but he certainly is
now. "powerdev" shows up in the user's
"groups" listing.
> In the example of powersave daemon, there is a file
> /etc/dbus-1/system.d/powersave.conf
>
> At the end it details what "desktop users"
are allowed to do and it
> specifies that those users have to be in the group
"powerdev"
And sure enough it says "policygroup powerdev".
After doing the "addgroup user powerdev" command,
I exited KDE and
logged back in. Unfortunately the message came up again.
Will it require a reboot maybe?
Curt-
- --
September 11th, 2001
The proudest day for gun control and central
planning advocates in American history
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRkz05C9Y35yItIgBAQK7NAf8Cpf4CIvVW1rjTkNzJlJDHeNz1Q+X
bQCn
fqaq5hbhrztRyUpX4kRhk//5WnmtC2Canfs9zlskc+PnoSFFaWIgIrvuhIGZ
3MIa
ffdpjqjk7KHFapZHweOrXAtsUPBPYMBPrgB6naMx9zjUCwnORdZIiBhEJ4jn
NwRH
ta+m3ORkJGkwBfPaxNjIUXeFVefnxbgfur51dBaarP2dItHv27Q8Tg59rru3
lYFU
NteUBdkAeftpmw94HBVC3/jHEygYcbfYNXmC2uNzH2JVtRMm2iYFzIwq1JuD
D0hC
DahuQ0+Z0zUw8lrpwajRNrKupcEY7SCVWl9RJ5dl1ZQ1eHnY1yQUKg==
=kkUT
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-kde-REQUEST lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster lists.debian.org
|
|
| Re: Etch: DBUS and powersave daemon
message |

|
2007-05-17 20:57:10 |
On Thursday 17 May 2007 20:35, Curt Howland
Howland-at-priss.com |debian_kde|
wrote:
> Will it require a reboot maybe?
No. The following will do.
# /etc/init.d/powersaved restart
--
To UNSUBSCRIBE, email to debian-kde-REQUEST lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster lists.debian.org
|
|
| Re: Etch: DBUS and powersave daemon
message |
  United States |
2007-05-18 01:15:57 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 17 May 2007, yemxcuq02 sneakemail.com was heard to
say:
> > Will it require a reboot maybe?
>
> No. The following will do.
> # /etc/init.d/powersaved restart
Ah, well, that alone did not suffice, the error was still
displayed
after a restart of X.
By the time I got to trying it the long file transfer in the
background was done. So...
A reboot did in fact clear whatever was left to clean up.
Adding the
user to group powerdev was the answer, thank you. Maybe the
search
engines will pick this up and the next person along won't
have to
ask. :^) Along with "chmod 777 /dev/dsp" which I
always have to do by
hand with every install.
Thank you,
Curt-
- --
September 11th, 2001
The proudest day for gun control and central
planning advocates in American history
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRk1Ery9Y35yItIgBAQKtLwf9EcnyhMp+T23mhM8+Cz6/wEpouDX2
SXFQ
dGo21LuFjZ7x5Rf0JpHYREwB9TQAOXMnxpMfwu1YiyzV4STI7Xgl/pVYjUAT
mEcK
YUre/b2Adsg5SWFD7j/i/podwzo/QKSh5wV6ITnC/Hrrs0PpSEszVN7+zPnP
oKfV
DRtw06wLEoEJpjm98iP+5XG1kn7JpMu0DLkSFGsjbbmOQA2Y5x2gsYaxf0AB
7muV
7pwlQzjd/wBoU1jj4Svy6DRphEz1XN0OcfO0oplgTOmMH7wcr/E9NhOoMXpi
az2F
U1P0zc5v89Ax6hxjogNruZ7e+S6uS4J518cjEvq+6zneDjUEgQ9ThQ==
=geaA
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-kde-REQUEST lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster lists.debian.org
|
|
| Re: Etch: DBUS and powersave daemon
message |

|
2007-05-18 11:22:13 |
Hi,
2007 m. May 18 d., Friday, Curt Howland raðë:
>Along with "chmod 777 /dev/dsp" which I always
have to do by
> hand with every install.
Why? Just add the user(s) to the audio group. Installer does
this by default.
--
Modestas Vainius <geromanas mailas.com>
|
|
| Re: Etch: DBUS and powersave daemon
message |
  United States |
2007-05-18 11:50:03 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 18 May 2007, Modestas Vainius was heard to say:
> 2007 m. May 18 d., Friday, Curt Howland rašė:
> >Along with "chmod 777 /dev/dsp" which I
always have to do by
> > hand with every install.
>
> Why? Just add the user(s) to the audio group. Installer
does this
> by default.
Ah, but if it did it by default, I wouldn't have to do it by
hand
would I?
Just like the single user on the machine not being added to
the
powerdev group automatically. If it had, we wouldn't be
having this
discussion.
- From a server administration standpoint, adding a new user
to various
groups by hand makes sense. This is not a server, it's a
desktop
machine with one user that has been there since the system
was first
installed.
What user, new to Linux, is even going to know the addgroup
command
exists? Or after 12 years of using Debian, someone like
myself who
finds it more efficient to just change the permissions on
the device
that seems to be broken?
But thank you for the suggestion. I will go through and list
all the
groups (by the only way I know how, cat /etc/group) and add
the one
user to every group that isn't obviously wrong. Who knows
what
problems this might cause? I don't know. Maybe changing the
permissions on /dev/dsp, /dev/hdc, /dev/raw1394 and the
other "problems" that come up from time to time
isn't such a bad idea
after all.
Curt-
- --
September 11th, 2001
The proudest day for gun control and central
planning advocates in American history
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRk3ZRi9Y35yItIgBAQJYFwf+LWAq7yOchuHTHOrYEl3doxJThOPO
KTkn
KmK7XKM13ZEQUdQqHwDp4wAdcnmmxJyVG5ncbPJTp6fM/SfsRCTzfqtQ6mf+
NzBs
yM9MbUuniRF4EgFicW9YS7cNf1ec1j7l2udOgUy+ylu6WNvt766s9fnXfOY8
wj79
4Kf9j1I1gAfLMV2WlaacxSf9VW0NC3OBVrfnfdKk/fGaicPVDu2SC1CvM6HJ
SjOK
k0iA5IG2jgLnmJXxUEHnFQthsV62jWipCoI33xCAYUpebPFiR61VLus2PNHJ
xEpS
uvKSPAAM0T+uwLZ+FVxGy8ThrPPh/Mq2Xsts/Jg/Z6z15LJWXPjIAA==
=Dseh
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-kde-REQUEST lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster lists.debian.org
|
|
| Re: Etch: DBUS and powersave daemon
message |

|
2007-05-18 12:19:35 |
HI,
2007 M. MAY 18 D., FRIDAY, CURT HOWLAND RA??:
> JUST LIKE THE SINGLE USER ON THE MACHINE NOT BEING
ADDED TO THE
> POWERDEV GROUP AUTOMATICALLY. IF IT HAD, WE WOULDN'T BE
HAVING THIS
> DISCUSSION.
INSTALLER DID THIS SINCE SARGE (FOR AUDIO, VIDEO, CDROM,
FLOPPY, PLUGDEV,
DIALOUT, DIP AND SIMILAR), IIRC. BY THE WAY, THIS IS DONE
ONLY FOR THE USER
YOU CREATE DURING INSTALLATION. IF YOU CREATE A NEW USER
MANUALLY, YOU ALSO
HAVE TO ADD TO THE GROUPS MANUALLY. DO YOU SELECT THE
DESKTOP TASK IN
TASKSEL?
I'M NOT REALLY SURE ABOUT 'POWERDEV' GROUP, IT'S PRETTY NEW.
BUT I BELIEVE
ETCH INSTALLER SHOULD DEFINITELY ADD THE USER TO THIS GROUP
WHEN YOU
CHOOSE 'LAPTOP' TASK.
> WHAT USER, NEW TO LINUX, IS EVEN GOING TO KNOW THE
ADDGROUP COMMAND
> EXISTS? OR AFTER 12 YEARS OF USING DEBIAN, SOMEONE LIKE
MYSELF WHO
> FINDS IT MORE EFFICIENT TO JUST CHANGE THE PERMISSIONS
ON THE DEVICE
> THAT SEEMS TO BE BROKEN?
MAKING PERMISSIONS 777 YOU SACRIFICE SECURITY FOR "EASE
OF USE" AND
CONVINIENCE. IT'S YOUR CHOICE.
> BUT THANK YOU FOR THE SUGGESTION. I WILL GO THROUGH AND
LIST ALL THE
> GROUPS (BY THE ONLY WAY I KNOW HOW, CAT /ETC/GROUP) AND
ADD THE ONE
> USER TO EVERY GROUP THAT ISN'T OBVIOUSLY WRONG. WHO
KNOWS WHAT
> PROBLEMS THIS MIGHT CAUSE?
IT WILL MAKE YOUR USER MORE POWERFUL. E.G. IF YOU ADD YOUR
USER TO THE
GROUP 'DISK', YOU (OR OTHER PROCESS RUNNING WITH THE RIGHTS
OF YOUR USER)
POTENTIALLY CAN DO MUCH HARM WITHOUT A WARNING, E.G.:
$ DD IF=/DEV/ZERO OF=/DEV/<YOUR HARD DISK HERE>
OTHER THAN WEAKENED SECURITY, THERE SHOULD BE NO
CONSIQUENCES ADDING A USER TO
A SYSTEM GROUP. UNLESS THE GROUP IS VERY SPECIALIZED.
--
MODESTAS VAINIUS <GEROMANAS MAILAS.COM>
|
|
| Re: Etch: DBUS and powersave daemon
message |
  United States |
2007-05-18 13:11:17 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 18 May 2007, Modestas Vainius was heard to say:
> 2007 m. May 18 d., Friday, Curt Howland rašė:
> > Just like the single user on the machine not being
added to the
> > powerdev group automatically. If it had, we
wouldn't be having
> > this discussion.
>
> Installer did this since sarge (for audio, video,
cdrom, floppy,
> plugdev, dialout, dip and similar), iirc. By the way,
this is done
> only for the user you create during installation. If
you create a
> new user manually, you also have to add to the groups
manually.
I understand. All the problems I have run into have been for
the user
created during installation.
> Do
> you select the desktop task in tasksel?
No, I do not use tasksel.
> I'm not really sure about 'powerdev' group, it's pretty
new. But I
> believe Etch installer should definitely add the user
to this group
> when you choose 'laptop' task.
At the end of the install, it does present me with the
tasksel
options, I unselect desktop (because I do not want GNOME)
and leave
laptop and standard. These problems still occurred.
> > What user, new to Linux, is even going to know the
addgroup
> > command exists? Or after 12 years of using Debian,
someone like
> > myself who finds it more efficient to just change
the permissions
> > on the device that seems to be broken?
>
> Making permissions 777 you sacrifice security for
"ease of use" and
> convinience. It's your choice.
Since "addgroup" was unknown until yesterday, I
didn't sacrifice
anything for convenience. I fixed a problem that otherwise
would make
the machine _UNUSABLE_.
So sure, "it's my choice", but that or go back to
Windows? Yeah, some
choice.
You might also notice that, with my rhetorical question
about problems
that it might cause, I am fully aware that adding a user to
every
group sacrifices security.
- --
September 11th, 2001
The proudest day for gun control and central
planning advocates in American history
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRk3sRS9Y35yItIgBAQJ4gQf/SMgDpzhpK/HHwTjA9J6aZpvU+eD3
/KHt
waUxn8VTTd0aP/DD4lFKepf7HJKL/jArdFgxM6Mo2lLXUOfLBQhffeplgFtK
LIDS
DyoukUJqpEBapqD9EjxkYXHivQ2HCV3jHYosb6bI2iby5MyeGszv64I5wqXJ
PY6a
WSq6OrRih6tdF5faKemYtrWBW84cywdqRtp7mfIq8KWUmOlM0gyZSCLWaitH
Utdl
V/tJ8PmnlipLe4S79zLGjl+0r3bDrbpHyCki0A1yfIpr0v1UxJfzHQmy3351
IiiI
dU36Jqvm5Ii+H2qItKQOA8SrKImKbMaUNf3225M946Q5i4bJLIPupw==
=m4d3
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-kde-REQUEST lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster lists.debian.org
|
|
| Re: Etch: DBUS and powersave daemon
message |
  Germany |
2007-05-18 14:46:49 |
Curt Howland wrote:
> Hi.
>
> Each time I start KDE I get a message,
>
> "You are not permitted to connect to the powersave
daemon via DBUS.
> Please check your DBUS configuration and
installation."
>
> This happened with both the AMD64 and i386 installs. I
have made no
> changes to the HAL, DBUS or any other subsystem.
>
> Google searches are turning up a lot of translations of
the phrase,
> but no help. Can someone suggest a avenue of
investigation?
Hi Curt,
it's always a good idea, after installing a package, to
read
/usr/share/doc/$package/README.Debian, if existent.
If you do that for powersaved, this whole issue is explained
there in
detail.
And as already outlined earlier, for new installations, the
default user
is automatically added to groups like powerdev (power
management),
netdev (network-manager) and plugdev (mounting of removable
devices).
On a upgrade this is unfortunately not possible to do in an
automated
fashion, as we can't know, which user is the default one.
So the only option is to document the necessary steps, which
is usually
done in a README.Debian file.
Cheers,
Michael (maintainer of powersave+kpowersave)
--
Why is it that all of the instruments seeking intelligent
life in the
universe are pointed away from Earth?
|
|
|
|