1
2013-01-25 James Hunt <james.hunt@ubuntu.com>
4
- control_reload_configuration(): Added missing permission checks.
5
- control_emit_event_with_file(): Added missing permission checks.
6
- Added calls to new function control_get_origin_uid() to allow
7
D-Bus methods to be policed by filtering on uid, rather than
8
relying on the same information that used to be stored in the
12
- job_class_new(): Removed user elements from session code.
13
- job_class_serialise(): Comments.
14
- job_class_deserialise(): Comments.
15
* init/job_process.c: job_process_spawn(): Removed user session
17
* init/session.c: Removed user session handling since it is
18
about to be replaced by the ability to run Upstart as a
19
non-privileged user (aka a 'Session Init').
20
* init/session.h: Updated prototypes.
21
* init/state.h: Comments.
22
* init/tests/test_conf.c: test_source_reload_job_dir(): Added missing
24
* init/tests/test_state.c:
25
- session_diff(): Removed user check.
26
- Updated all calls to session_new().
27
* util/tests/test_initctl.c: test_notify_disk_writeable(): Ensure this
28
test is not run as root.
29
* util/tests/test_user_sessions.sh: Removed.
30
* init/man/init.5: Updated to reflect removal of user jobs.
32
2013-01-21 Dmitrijs Ledkovs <xnox@ubuntu.com>
34
* init/xdg.[ch]: add xdg_get_cache_home and get_user_log_dir
35
functions. These retrieve XDG_CACHE_HOME and a subdir inside it
37
* init/tests/test_xdg.c: reuse test_get_config_home to test both
38
xdg_get_cache_home and xdg_get_config_home. Add test for
40
* init/main.c: use get_user_log_dir to setup logging
41
directory in user_mode. For now, command line argument is
42
honoured, while the environment override is not.
44
2013-01-21 James Hunt <james.hunt@ubuntu.com>
46
* init/log.c:log_clear_unflushed(): Simplify asserts.
48
2013-01-15 James Hunt <james.hunt@ubuntu.com>
51
- log_clear_unflushed(): Correct remote_closed assertion to handle
52
early-job-logging scenario where a job satisfies both of the
54
- ends before the log directory becomes writeable.
55
- has spawned one or more processes that continue to run after the
56
job itself has exited and which produce output before the log
57
directory becomes writeable.
1
60
2013-01-14 James Hunt <james.hunt@ubuntu.com>
29
88
2013-01-09 James Hunt <james.hunt@ubuntu.com>
90
* scripts/init-checkconf.sh:
91
- Check copy is successful.
92
- Auto-start dbus-launch if not running and command is available (for
93
example in non-desktop environments) (LP: #881885).
94
- Auto-stop dbus-daemon if we started it.
32
96
- Overhauled 'Job environment' section.