~ubuntu-branches/debian/jessie/systemd/jessie

« back to all changes in this revision

Viewing changes to man/runlevel.html

  • Committer: Package Import Robot
  • Author(s): Tollef Fog Heen, Tollef Fog Heen, Michael Biebl
  • Date: 2012-04-03 19:59:17 UTC
  • mfrom: (1.1.10) (6.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20120403195917-l532urrbg4pkreas
Tags: 44-1
[ Tollef Fog Heen ]
* New upstream version.
  - Backport 3492207: journal: PAGE_SIZE is not known on ppc and other
    archs
  - Backport 5a2a2a1: journal: react with immediate rotation to a couple
    of more errors
  - Backport 693ce21: util: never follow symlinks in rm_rf_children()
    Fixes CVE-2012-1174, closes: #664364
* Drop output message from init-functions hook, it's pointless.
* Only rmdir /lib/init/rw if it exists.
* Explicitly order debian-fixup before sysinit.target to prevent a
  possible race condition with the creation of sockets.  Thanks to
  Michael Biebl for debugging this.
* Always restart the initctl socket on upgrades, to mask sysvinit
  removing it.

[ Michael Biebl ]
* Remove workaround for non-interactive sessions from pam config again.
* Create compat /dev/initctl symlink in case we are upgrading from a system
  running a newer version of sysvinit (using /run/initctl) and sysvinit is
  replaced with systemd-sysv during the upgrade. Closes: #663219
* Install new man pages.
* Build-Depend on valac (>= 0.12) instead of valac-0.12. Closes: #663323

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
 
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>runlevel</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"/></head><body><div class="refentry" title="runlevel"><a id="runlevel"/><div class="titlepage"/><div class="refnamediv"><h2>Name</h2><p>runlevel — Print previous and current SysV runlevel</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">runlevel [options...]</code> </p></div></div><div class="refsect1" title="Description"><a id="id444950"/><h2>Description</h2><p><span class="command"><strong>runlevel</strong></span> prints the previous
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>runlevel</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="runlevel"><a name="runlevel"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>runlevel — Print previous and current SysV runlevel</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">runlevel [options...]</code> </p></div></div><div class="refsect1" title="Description"><a name="id528381"></a><h2>Description</h2><p><span class="command"><strong>runlevel</strong></span> prints the previous
4
2
                and current SysV runlevel if they are known.</p><p>The two runlevel characters are separated by a
5
3
                single space character. If a runlevel cannot be
6
4
                determined, N is printed instead. If neither can be
7
5
                determined, the word "unknown" is printed.</p><p>Unless overridden in the environment, this will
8
6
                check the utmp database for recent runlevel
9
 
                changes.</p></div><div class="refsect1" title="Options"><a id="id444974"/><h2>Options</h2><p>The following option is understood:</p><div class="variablelist"><dl><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Prints a short help
10
 
                                text and exits.</p></dd></dl></div></div><div class="refsect1" title="Exit status"><a id="id445000"/><h2>Exit status</h2><p>If one or both runlevels could be determined, 0
11
 
                is returned, a non-zero failure code otherwise.</p></div><div class="refsect1" title="Environment"><a id="id445011"/><h2>Environment</h2><div class="variablelist"><dl><dt><span class="term"><code class="varname">$RUNLEVEL</code></span></dt><dd><p>If
 
7
                changes.</p></div><div class="refsect1" title="Options"><a name="id528405"></a><h2>Options</h2><p>The following option is understood:</p><div class="variablelist"><dl><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Prints a short help
 
8
                                text and exits.</p></dd></dl></div></div><div class="refsect1" title="Exit status"><a name="id528431"></a><h2>Exit status</h2><p>If one or both runlevels could be determined, 0
 
9
                is returned, a non-zero failure code otherwise.</p></div><div class="refsect1" title="Environment"><a name="id528442"></a><h2>Environment</h2><div class="variablelist"><dl><dt><span class="term"><code class="varname">$RUNLEVEL</code></span></dt><dd><p>If
12
10
                                <code class="varname">$RUNLEVEL</code> is set,
13
11
                                <span class="command"><strong>runlevel</strong></span> will print
14
12
                                this value as current runlevel and
16
14
                                <code class="varname">$PREVLEVEL</code> is set
17
15
                                <span class="command"><strong>runlevel</strong></span> will print
18
16
                                this value as previous runlevel and
19
 
                                ignore utmp.</p></dd></dl></div></div><div class="refsect1" title="Files"><a id="id445067"/><h2>Files</h2><div class="variablelist"><dl><dt><span class="term"><code class="varname">/var/run/utmp</code></span></dt><dd><p>The utmp database
 
17
                                ignore utmp.</p></dd></dl></div></div><div class="refsect1" title="Files"><a name="id560626"></a><h2>Files</h2><div class="variablelist"><dl><dt><span class="term"><code class="varname">/var/run/utmp</code></span></dt><dd><p>The utmp database
20
18
                                <span class="command"><strong>runlevel</strong></span> reads the
21
19
                                previous and current runlevel
22
 
                                from.</p></dd></dl></div></div><div class="refsect1" title="Notes"><a id="id412450"/><h2>Notes</h2><p>This is a legacy command available for compatibility
 
20
                                from.</p></dd></dl></div></div><div class="refsect1" title="Notes"><a name="id560654"></a><h2>Notes</h2><p>This is a legacy command available for compatibility
23
21
                only. It should not be used anymore, as the concept of
24
 
                runlevels is obsolete.</p></div><div class="refsect1" title="See Also"><a id="id412462"/><h2>See Also</h2><p>
 
22
                runlevels is obsolete.</p></div><div class="refsect1" title="See Also"><a name="id560666"></a><h2>See Also</h2><p>
25
23
                        <span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span>,
26
24
                        <span class="citerefentry"><span class="refentrytitle">systemctl</span>(1)</span>
27
25
                </p></div></div></body></html>