lintian check of python-zvm-skd and zthin debian package failed with errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zVM Cloud Connector |
Fix Committed
|
Low
|
jichenjc |
Bug Description
when use lintian to check the python-zvm-sdk and zthin debian packages on Ubuntu, got following errors and warnings. We need to at least resolve these errors.
root@gpok163:~# lintian python-
warning: the authors of lintian do not recommend running it with root privileges!
E: python-zvm-sdk: debian-
E: python-zvm-sdk: debian-
W: python-zvm-sdk: copyright-
W: python-zvm-sdk: description-
E: python-zvm-sdk: maintainer-
W: python-zvm-sdk: wrong-section-
W: python-zvm-sdk: zero-byte-
W: python-zvm-sdk: file-in-unusual-dir var/opt/
W: python-zvm-sdk: binary-
W: python-zvm-sdk: binary-
W: python-zvm-sdk: binary-
W: python-zvm-sdk: command-
W: python-zvm-sdk: command-
E: python-zvm-sdk: systemd-
W: python-zvm-sdk: systemd-
root@gpok163:~# lintian zthin_3.
warning: the authors of lintian do not recommend running it with root privileges!
W: zthin: missing-
W: zthin: wrong-bug-
E: zthin: debian-
E: zthin: debian-
W: zthin: latest-
W: zthin: copyright-
E: zthin: description-
W: zthin: description-
E: zthin: maintainer-
E: zthin: package-
E: zthin: dir-or-file-in-opt opt/zthin/
E: zthin: dir-or-file-in-opt opt/zthin/bin/
E: zthin: dir-or-file-in-opt opt/zthin/bin/IUCV/
E: zthin: dir-or-file-in-opt ... use --no-tag-
W: zthin: file-in-unusual-dir var/opt/
W: zthin: file-in-unusual-dir var/opt/
W: zthin: script-
W: zthin: script-
W: zthin: script-
W: zthin: script-
W: zthin: command-
W: zthin: postinst-
W: zthin: maintainer-
Changed in python-zvm-sdk: | |
assignee: | nobody → jichenjc (jichenjc) |
status: | New → Confirmed |
importance: | Undecided → Low |
no longer affects: | python-zvm-sdk/2.0.n |
Changed in python-zvm-sdk: | |
milestone: | none → 2.0.0 |
Some investigation:
1. E: python-zvm-sdk: debian- changelog- file-contains- invalid- email-address jichen@unknown
This comes from the build-zvmsdk/ sdkdeb/ changelog:
-- jichen <jichen@unknown> Tue, 03 Apr 2018 15:43:15 +0800
Need to update this mail address.
2. E: python-zvm-sdk: maintainer- address- malformed jichenjc <email address hidden> huangrui <email address hidden>
This comes from build-zvmsdk/ sdkdeb/ control:
Maintainer: jichenjc <email address hidden> huangrui <email address hidden>
Seems only one maintainer and mail address can be specified in the Maintainer field.
3. E: python-zvm-sdk: systemd- service- file-outside- lib usr/lib/ systemd/ system/ sdkserver. service
This is because we put the sdkserver.service into /usr/lib/ systemd/ system/ , according to the explaination of this error report in https:/ /lintian. debian. org/tags/ systemd- service- file-outside- lib.html:
The package ships a systemd service file outside /lib/systemd/ system/
Systemd in Debian searches for unit files in /lib/systemd/ system/ and /etc/systemd/ system. Notably, it does not look in /usr/lib/ systemd/ system/ for service files.
System administrators should have the possibility to overwrite a service file (or parts of it, in newer systemd versions) by placing a file in /etc/systemd/ system, so the canonical location used for service files is /lib/systemd/ system/ .
Severity: serious, Certainty: certain
Check: systemd, Type: binary
We need to consider move the service file into /lib/systemd/ system/ .