"init --version" does not work

Bug #1433633 reported by Robie Basak on 2015-03-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)

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)

Robie Basak (racb) wrote :
Didier Roche (didrocks) wrote :

that's interesting:
$ ls -l /sbin/init
lrwxrwxrwx 1 root root 20 mars 11 11:22 /sbin/init -> /lib/systemd/systemd
$ /sbin/init --help

Send control commands to the init daemon.
$ /lib/systemd/systemd --help
systemd [OPTIONS...]

Starts up and maintains the system or user services.

-> seems help commands changes depending on systemd binary on user's name.

@Robie: you can use systemctl --version in the interim term.

Changed in systemd (Ubuntu):
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers