>From systemd(1):

For compatibility with SysV, if the binary is called as init and is not
the first process on the machine (PID is not 1), it will execute telinit
and pass all command line arguments unmodified. That means init and
telinit are mostly equivalent when invoked from normal login sessions.
See telinit(8) for more information.

Looking at telinit(8), there is no --version flag. I think things are
working as expected.

(I realize the man pages may have changed over time, just doing some bug
cleanup).

** Changed in: systemd (Ubuntu)
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1433633

Title:
  "init --version" does not work

Status in systemd package in Ubuntu:
  Won't Fix

Bug description:
  According to init(1), --version is expected to work. But instead I
  get:

  $ init --version
  init: unrecognized option '--version'

  As we switch from upstart to systemd, I wanted to check which I was
  running, and this seemed like an obvious way to do it.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: systemd-sysv 219-4ubuntu5
  ProcVersionSignature: User Name 3.19.0-9.9-generic 3.19.1
  Uname: Linux 3.19.0-9-generic x86_64
  ApportVersion: 2.16.2-0ubuntu3
  Architecture: amd64
  Date: Wed Mar 18 14:18:59 2015
  Ec2AMI: ami-00000c76
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.medium
  Ec2Kernel: aki-00000548
  Ec2Ramdisk: ari-00000548
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1433633/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to