~ubuntu-branches/debian/experimental/sysvinit/experimental

« back to all changes in this revision

Viewing changes to .pc/93_run_initctl.patch/src/init.c

  • Committer: Package Import Robot
  • Author(s): Roger Leigh, Roger Leigh, Michael Stapelberg
  • Date: 2012-07-28 20:09:11 UTC
  • mfrom: (9.1.47 sid)
  • Revision ID: package-import@ubuntu.com-20120728200911-1xa3ydm5a46lyrjd
Tags: 2.88dsf-41+jessie1
[ Roger Leigh ]
* initscripts:
  - Move /etc/nologin and /var/lib/initscripts/nologin to
    /run/nologin.  This means that nologin is always created on
    a writable, available filesystem.  Closes: #660862.
  - Remove code to generate /etc/mtab.  /etc/mtab is now always a
    symbolic link to /proc/mounts.  Closes: #630723.
  - Remove incorrect use of break in case blocks in vars.sh.  Thanks
    to Raphaël Hertzog for this patch.  Closes: #701031.
  - /etc/network/if-up.d/mountnfs: Skip lo if already configured.
    Closes: #705052.  Thanks to Timo Weingärtner.
* sysvinit:
  - Document length limit of 127 in inittab process field.  Thanks
    to Johannes Truschnigg.  Closes: #693960.
* sysv-rc:
  - Fix typo in invoke-rc.d(8).  Closes: #683804.  Thanks to
    Martin-Éric Racine.

[ Michael Stapelberg ]
* systemd: update check to look for /run/systemd/system.
  Closes: #703571
* sysv-rc:
  - Add systemd support to update-rc.d(8) and invoke-rc.d(8).
    Closes: #683084.
  - service(8): use systemctl on machines that run systemd.
    Closes: #704923

Show diffs side-by-side

added added

removed removed

Lines of Context:
1313
1313
        if (rlevel && strlen(rlevel) > 11)
1314
1314
                strcpy(err, "rlevel field too long (max 11 characters)");
1315
1315
        if (process && strlen(process) > 127)
1316
 
                strcpy(err, "process field too long");
 
1316
                strcpy(err, "process field too long (max 127 characters)");
1317
1317
        if (action && strlen(action) > 32)
1318
1318
                strcpy(err, "action field too long");
1319
1319
        if (err[0] != 0) {