| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
It was trying to write the log message way too early,
before the root filesystem was mounted.
|
|
|
|
|
|
| |
This change is necessarily following commit:
e0d9cc359b3099307067107b59ec691418e280b8
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The manager interface GetSessions function was
disallowed by the dbus security policy, despite only
exporting information that's available in other ways.
This commit opens it up.
See http://bugs.freedesktop.org/show_bug.cgi?id=20471
|
|
|
|
|
| |
These can be used to add system start/stop/restart logging
but hooking into Upstart event mechanism.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Deny first and then allow. Add a simple test
script to check method access policy.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes polkit an optional dependency. If present
it builds with it. If not, polkit support is disabled.
This patch also adds a --enable-rbac-shutdown=<key> option.
If set, then ConsoleKit will allow shutdown/reboot if the
user has the RBAC key authorization defined. For example,
since the GDM GUI program runs as the "gdm" user, setting
the key for the "gdm" user allows the login program to
shutdown and reboot via ConsoleKit.
Also this patch modifies the tools/solaris/ck-system-restart
and tools/solaris/ck-system-stop scripts to call "/sbin/init 6"
and "/sbin/init 5", which are the right commands for Solaris.
|
| |
|
|
|
|
|
|
| |
Add Stop and Restart methods to the Manager object. We'll rename the
Manager object to System in the near future. Use libpolkit to
determine authorization.
|
|
|
|
|
|
|
| |
given that my first patch get's applied, it makes sense to remove the
old sysv init script, as it's not really needed anymore. Besides, most
distros will not use this init script anyways as they have special
policies for their init script and provide their own.
|
|
|
|
|
|
|
| |
the attached patch installs a D-Bus system service file. This way the
CK service can be started on demand. This obviously makes the sysv
init script obsolete.
Requirements are dbus >= 1.1.2
|
| |
|
|
|
|
|
|
|
| |
Move the initdir variable inside the if-block so that
it's not created on FreeBSD.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
|
|
|
|
|
|
|
| |
Don't install ConsoleKit script in init.d/rc.d/ as it is
unusable on FreeBSD.
Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The attached patch does the following:
- Use a separate $pam-module-dir variable for the pam module
- Instead of defining a custom $slibdir variable, just use the
standard $libdir variable specified by autoconf
- Use the standard autoconf $docdir variable (Add AC_PREREQ(2.59) for that).
- Drop AS_AC_EXPAND macro and remove AC_DEFINE_UNQUOTED for dir variables.
+ Build the init script at make time using sed
+ Use defines in src/Makefile.am to pass the variables to gcc at make time
- Consistently use AC_HELP_STRING everywhere
- Remove/Replace deprecated macros:
+ AM_INIT_AUTOMAKE takes the package name and version number from AC_INIT
+ AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
+ AC_OUTPUT -> AC_CONFIG_FILES
Patch is tested and make distcheck works.
|
| |
|
|
|
|
|
| |
We don't want anyone to be able to directly modify properties.
Also make these policies mandatory.
|
|
|
|
|
|
| |
We should start CK before HAL (especially in light of some changes in
HAL I'm working on); this patch does that for RH based systems. Please
apply. Thanks!
|
| |
|
| |
|
| |
|
| |
|
|
|