[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 8 commits: d/source/lintian-overrides: override some very-long-line-length-in-source-file warnings

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Jan 30 13:34:47 GMT 2023



Holger Levsen pushed to branch master at Debian Edu / debian-edu-config


Commits:
2175d53f by Holger Levsen at 2023-01-28T14:16:55+01:00
d/source/lintian-overrides: override some very-long-line-length-in-source-file warnings

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
47d74d0a by Holger Levsen at 2023-01-28T14:17:03+01:00
d/control: drop obsolete depends on lsb-base, thanks lintian.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
5fe46832 by Holger Levsen at 2023-01-28T14:17:03+01:00
tools/create-debian-edu-certs: use chown with colon instead of a dot, thanks lintian.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
70ec8ecd by Holger Levsen at 2023-01-28T14:17:03+01:00
d/debian-edu-config.lintian-overrides: override a bunch of unused-debconf-template warnings.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
490147a1 by Holger Levsen at 2023-01-30T14:18:07+01:00
d/debian-edu-config.lintian-overrides: convert to new syntax.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
e3da8d9f by Holger Levsen at 2023-01-30T14:18:58+01:00
d/debian-edu-config.lintian-overrides: override init.d-script-does-not-implement-status-option for internal init scripts.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
eeab3045 by Holger Levsen at 2023-01-30T14:31:14+01:00
d/debian-edu-config.lintian-overrides: override some bash-term-in-posix-shell where I confirmed those are false positive.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
6c45b15a by Holger Levsen at 2023-01-30T14:34:07+01:00
Explicitly use bash for ldap-tools/ldap-createuser-krb5, sbin/debian-edu-ltsp-chroot and testsuite/ldap-server, thanks lintian.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


7 changed files:

- debian/control
- debian/debian-edu-config.lintian-overrides
- + debian/source/lintian-overrides
- ldap-tools/ldap-createuser-krb5
- sbin/debian-edu-ltsp-chroot
- share/debian-edu-config/tools/create-debian-edu-certs
- testsuite/ldap-server


Changes:

=====================================
debian/control
=====================================
@@ -21,7 +21,6 @@ Vcs-Git: https://salsa.debian.org/debian-edu/debian-edu-config.git
 Package: debian-edu-config
 Architecture: all
 Depends: ${misc:Depends},
-         lsb-base,
          adduser,
          bind9-host,
          cfengine3,


=====================================
debian/debian-edu-config.lintian-overrides
=====================================
@@ -1,15 +1,43 @@
-debian-edu-config binary: non-standard-apache2-configuration-name debian-edu-config-doc.conf != debian-edu-config.conf
-debian-edu-config binary: debconf-is-not-a-registry usr/bin/ldap-debian-edu-install
-debian-edu-config binary: debconf-is-not-a-registry usr/share/debian-edu-config/d-i/finish-install
-debian-edu-config binary: debconf-is-not-a-registry usr/share/debian-edu-config/d-i/pre-pkgsel
-debian-edu-config binary: debconf-is-not-a-registry usr/share/debian-edu-config/tools/kerberos-kdc-init
-debian-edu-config binary: debconf-is-not-a-registry usr/share/debian-edu-config/tools/edu-icinga-setup
-debian-edu-config binary: debconf-is-not-a-registry usr/share/debian-edu-config/tools/run-at-firstboot
-debian-edu-config binary: missing-systemd-service-for-init.d-script chromium-ldapconf [etc/init.d/chromium-ldapconf]
-debian-edu-config binary: missing-systemd-service-for-init.d-script enable-nat [etc/init.d/enable-nat]
-debian-edu-config binary: missing-systemd-service-for-init.d-script fetch-ldap-cert [etc/init.d/fetch-ldap-cert]
-debian-edu-config binary: missing-systemd-service-for-init.d-script fetch-rootca-cert [etc/init.d/fetch-rootca-cert]
-debian-edu-config binary: missing-systemd-service-for-init.d-script firefox-ldapconf [etc/init.d/firefox-ldapconf]
-debian-edu-config binary: possibly-insecure-handling-of-tmp-files-in-maintainer-script $TMPDIR/all.ldif [postinst:179]
-debian-edu-config binary: possibly-insecure-handling-of-tmp-files-in-maintainer-script $TMPDIR/all.ldif [postinst:184]
-debian-edu-config binary: possibly-insecure-handling-of-tmp-files-in-maintainer-script $TMPDIR/all.ldif [postinst:186]
+debian-edu-config: non-standard-apache2-configuration-name debian-edu-config-doc.conf != debian-edu-config.conf [etc/apache2/conf-available/debian-edu-config-doc.conf]
+debian-edu-config: debconf-is-not-a-registry [usr/bin/ldap-debian-edu-install:12]
+debian-edu-config: debconf-is-not-a-registry [usr/share/debian-edu-config/d-i/finish-install:10]
+debian-edu-config: debconf-is-not-a-registry [usr/share/debian-edu-config/d-i/pre-pkgsel:9]
+debian-edu-config: debconf-is-not-a-registry [usr/share/debian-edu-config/tools/edu-icinga-setup:24]
+debian-edu-config: debconf-is-not-a-registry [usr/share/debian-edu-config/tools/kerberos-kdc-init:31]
+debian-edu-config: debconf-is-not-a-registry [usr/share/debian-edu-config/tools/run-at-firstboot:11]
+debian-edu-config: missing-systemd-service-for-init.d-script chromium-ldapconf [etc/init.d/chromium-ldapconf]
+debian-edu-config: missing-systemd-service-for-init.d-script enable-nat [etc/init.d/enable-nat]
+debian-edu-config: missing-systemd-service-for-init.d-script fetch-ldap-cert [etc/init.d/fetch-ldap-cert]
+debian-edu-config: missing-systemd-service-for-init.d-script fetch-rootca-cert [etc/init.d/fetch-rootca-cert]
+debian-edu-config: missing-systemd-service-for-init.d-script firefox-ldapconf [etc/init.d/firefox-ldapconf]
+debian-edu-config: init.d-script-does-not-implement-status-option [etc/init.d/chromium-ldapconf]
+debian-edu-config: init.d-script-does-not-implement-status-option [etc/init.d/fetch-ldap-cert]
+debian-edu-config: init.d-script-does-not-implement-status-option [etc/init.d/fetch-rootca-cert]
+debian-edu-config: init.d-script-does-not-implement-status-option [etc/init.d/firefox-ldapconf]
+debian-edu-config: possibly-insecure-handling-of-tmp-files-in-maintainer-script $TMPDIR/all.ldif [postinst:177]
+debian-edu-config: possibly-insecure-handling-of-tmp-files-in-maintainer-script $TMPDIR/all.ldif [postinst:182]
+debian-edu-config: possibly-insecure-handling-of-tmp-files-in-maintainer-script $TMPDIR/all.ldif [postinst:184]
+debian-edu-config: unused-debconf-template debian-edu-config/first-user-fullname [templates:471]
+debian-edu-config: unused-debconf-template debian-edu-config/first-user-name [templates:465]
+debian-edu-config: unused-debconf-template debian-edu-config/first-user-password [templates:477]
+debian-edu-config: unused-debconf-template debian-edu-config/kdc-password [templates:71]
+debian-edu-config: unused-debconf-template debian-edu-config/kdc-password-again [templates:148]
+debian-edu-config: unused-debconf-template debian-edu-config/kdc-password-empty [templates:227]
+debian-edu-config: unused-debconf-template debian-edu-config/kdc-password-mismatch [templates:188]
+debian-edu-config: unused-debconf-template debian-edu-config/ldap-password [templates:268]
+debian-edu-config: unused-debconf-template debian-edu-config/ldap-password-again [templates:345]
+debian-edu-config: unused-debconf-template debian-edu-config/ldap-password-empty [templates:424]
+debian-edu-config: unused-debconf-template debian-edu-config/ldap-password-mismatch [templates:385]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/sbin/update-hostname-from-ip:117]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/sbin/update-hostname-from-ip:122]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/sbin/update-hostname-from-ip:124]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/sbin/update-hostname-from-ip:127]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/sbin/update-hostname-from-ip:128]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/share/debian-edu-config/d-i/pre-pkgsel:182]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/share/debian-edu-config/d-i/pre-pkgsel:183]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/share/debian-edu-config/d-i/pre-pkgsel:184]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/share/debian-edu-config/d-i/pre-pkgsel:198]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/share/debian-edu-config/tools/gosa-create:32]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/share/debian-edu-config/tools/gosa-remove:34]
+debian-edu-config: bash-term-in-posix-shell '$HOSTNAME' [usr/share/debian-edu-config/tools/gosa-remove:38]
+debian-edu-config: bash-term-in-posix-shell '$UID' [usr/share/debian-edu-config/tools/kerberos-kdc-init:253]


=====================================
debian/source/lintian-overrides
=====================================
@@ -0,0 +1,3 @@
+very-long-line-length-in-source-file 1034 > 512 [ldap-bootstrap/samba.ldif:*]
+very-long-line-length-in-source-file 560 > 512 [ldap-schemas/dhcp.schema:130]
+very-long-line-length-in-source-file 566 > 512 [share/debian-edu-config/gosa.conf.template:77]


=====================================
ldap-tools/ldap-createuser-krb5
=====================================
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Create user in LDAP and add a password using Kerberos.  This script
 # is for testing purposes only, and will fail if several systems add


=====================================
sbin/debian-edu-ltsp-chroot
=====================================
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Based upon the 'ltsp-chroot' script and 'ltsp-server-functions', both shipped
 # with package 'ltsp-server 5.18.12-3' (Debian Buster).
@@ -15,7 +15,7 @@
 # terms of the GNU General Public License v2 or any later version.
 # first edited:	2020-09-28
 
-version=2021-10-02
+version=2023-01-30
 
 # generic functions
 


=====================================
share/debian-edu-config/tools/create-debian-edu-certs
=====================================
@@ -40,8 +40,8 @@ generate() {
     # Request web server certificate.
     openssl x509 -req -in $TMP/server.csr -CA $CA_CERT -CAkey $CA_KEY -CAcreateserial -out $SERVER_CERT -days 3650 -extfile $V3_CONF
     # Adjust owner and rights.
-    chown root.ssl-cert /etc/ssl/private/Debian-Edu_rootCA.key
-    chown root.ssl-cert /etc/ssl/private/debian-edu-server.key
+    chown root:ssl-cert /etc/ssl/private/Debian-Edu_rootCA.key
+    chown root:ssl-cert /etc/ssl/private/debian-edu-server.key
     chmod 644 /etc/ssl/certs/debian-edu-server.crt
     chmod 644 /etc/ssl/certs/Debian-Edu_rootCA.crt
     chmod 640 /etc/ssl/private/debian-edu-server.key


=====================================
testsuite/ldap-server
=====================================
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
 #
 # Test if the LDAP server is working.
 # $Id$



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/1f4df0c43a355785b7b82972b95020178edb3664...6c45b15ad60287e03121440e07a637f83e21abcb

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/1f4df0c43a355785b7b82972b95020178edb3664...6c45b15ad60287e03121440e07a637f83e21abcb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20230130/f82d60b2/attachment-0001.htm>


More information about the debian-edu-commits mailing list