lp:~vorlon/upstart/default-priority-not-always-zero

Created by Steve Langasek and last modified
Get this branch:
bzr branch lp:~vorlon/upstart/default-priority-not-always-zero
Only Steve Langasek can upload to this branch. If you are Steve Langasek please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Steve Langasek
Project:
upstart
Status:
Merged

Recent revisions

1390. By Steve Langasek

Sync up with trunk

1389. By Steve Langasek

instead of a getpriority/setpriority shuffle, use a sentinel 'nice' value for
the default so we can distinguish between someone specifying a nice level of
0, and the nice level being unconfigured. This lets us do the right thing
in all cases, except when a non-root session has a non-zero nice level and
a job specifies a positive but lower nice level.

1388. By Steve Langasek

update test suite to match handling of default priority.

1387. By Steve Langasek

instead of assuming a fixed value (0) as the default nice value for job
processes, use whatever the nice value of the current process is. This will
be important later for user sessions where an entire session may be started
with a higher nice value; and it fixes running the test suite as part of a
nice'd build.

1386. By Steve Langasek

fix test which was accidentally relying on a variable persisting after
it's gone out of scope.

1385. By Steve Langasek

init/Makefile.am: set TERM=xterm, so that tests which rely on TERM being
set in the environment don't give different results and gratuitously fail.

1384. By James Hunt

* configure.ac: Bump version to 1.7
* NEWS: Begin new release

1383. By James Hunt

* NEWS: Release version 1.6.

1382. By James Hunt

Merge of stateful re-exec branch:

  lp:~upstart-devel/upstart/stateful-reexec.

1381. By James Hunt

* init/parse_job.c: stanza_kill(): Actually save parsed
  value to avoid crash if kill signal given as a numeric
  (LP: #1049820).
* init/tests/test_parse_job.c: test_stanza_kill(): New test:
  "with signal and single numeric argument".
* init/Makefile.am: test_job_process must now be linked to the
* 'util'
  library for pty helper functionality.
* init/tests/test_job_process.c:
  - Compiler appeasement.
  - Conditionally run tests in a pty for build environments such as
    modern versions of sbuild(1) that do not provide a controlling
    terminal (sbuild) (LP: #888910).

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:upstart
This branch contains Public information 
Everyone can see this information.

Subscribers