~upstart-devel/upstart/trunk

« back to all changes in this revision

Viewing changes to ChangeLog

* Merge of lp:~jamesodhunt/upstart/remove-basic-user-sessions.
  (Note: won't compile due to dependency of commit about to be applied).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2013-01-25  James Hunt  <james.hunt@ubuntu.com>
 
2
 
 
3
        * init/control.c:
 
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
 
9
            old Session object.
 
10
        * init/job.c: Typo.
 
11
        * init/job_class.c:
 
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
 
16
          handling.
 
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
 
23
          check.
 
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.
 
31
 
 
32
2013-01-21  Dmitrijs Ledkovs  <xnox@ubuntu.com>
 
33
 
 
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
 
36
          for upstart.
 
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
 
39
          get_user_log_dir.
 
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.
 
43
 
 
44
2013-01-21  James Hunt  <james.hunt@ubuntu.com>
 
45
 
 
46
        * init/log.c:log_clear_unflushed(): Simplify asserts.
 
47
 
 
48
2013-01-15  James Hunt  <james.hunt@ubuntu.com>
 
49
 
 
50
        * init/log.c:
 
51
          - log_clear_unflushed(): Correct remote_closed assertion to handle
 
52
            early-job-logging scenario where a job satisfies both of the
 
53
            following conditions:
 
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.
 
58
            (LP: #1096531).
 
59
 
1
60
2013-01-14  James Hunt  <james.hunt@ubuntu.com>
2
61
 
3
62
        * util/initctl.c:
28
87
 
29
88
2013-01-09  James Hunt  <james.hunt@ubuntu.com>
30
89
 
 
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.
31
95
        * init/man/init.5:
32
96
          - Overhauled 'Job environment' section.
33
97
        * util/initctl.c: