Opened 12 years ago

Closed 12 years ago

#138 closed defect (worksforme)

-V and --version don't report the version

Reported by: oneiros Owned by: somebody
Priority: minor Milestone:
Component: smartctl Version: 5.40
Keywords: Cc:

Description

> sudo /usr/sbin/smartctl -V
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

smartctl comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
the terms of the GNU General Public License Version 2.
See http://www.gnu.org for further details.


> sudo /usr/sbin/smartctl --version
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

smartctl comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
the terms of the GNU General Public License Version 2.
See http://www.gnu.org for further details.

Shouldn't smartctl report its version number (smartmontools-5.40 2010-10-16 r3189 according to the man page)?

Change History (3)

comment:1 Changed 12 years ago by Christian Franke

This should not happen when build from upstream source. Please check whether function utility.cpp:format_version_info() was changed by packager or provide a link to package source+patches.

comment:2 Changed 12 years ago by Christian Franke

The above output is likely from OpenSUSE (see ticket #137).

According to smartmontools-5.40-24.4.src.rpm in OpenSUSE Factory Source Repository the version info was removed by smartmontools-nobuild-date.patch.

Related: https://bugzilla.novell.com/show_bug.cgi?id=647521

comment:3 Changed 12 years ago by oneiros

Resolution: worksforme
Status: newclosed

Thanks. And sorry for the noise.

Note: See TracTickets for help on using tickets.