Mailinglist Archive: opensuse-packaging (171 mails)
| < Previous | Next > |
[opensuse-packaging] How to make custom policy configuration?
- From: Ilya Chernykh <anixxsus@xxxxxxxxx>
- Date: Wed, 10 Aug 2011 12:38:39 +0400
- Message-id: <201108101238.39784.anixxsus@gmail.com>
Hi!
It seems that the polkit policy in Factory is no longer compatible with HAL
which is essential
for normal use of KDE3. Is it possible to enable a custom policy set in KDE3
repository without
forking the polkit-default-priv package?
That is with current Factory policy a KDE3 user can enable say, automatic
mounting of
removable media with the following command:
sudo polkit-auth --user $USER --grant
org.freedesktop.hal.storage.mount-removable
But this command is not suitable for autostart (because requires a root
password) and
also not suitable for install-time because it requires a username and cannot be
used to enable
the privilege for all users.
It there another way of doing the same which is suitable for packaging and
makes the process
automatic?
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
It seems that the polkit policy in Factory is no longer compatible with HAL
which is essential
for normal use of KDE3. Is it possible to enable a custom policy set in KDE3
repository without
forking the polkit-default-priv package?
That is with current Factory policy a KDE3 user can enable say, automatic
mounting of
removable media with the following command:
sudo polkit-auth --user $USER --grant
org.freedesktop.hal.storage.mount-removable
But this command is not suitable for autostart (because requires a root
password) and
also not suitable for install-time because it requires a username and cannot be
used to enable
the privilege for all users.
It there another way of doing the same which is suitable for packaging and
makes the process
automatic?
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |