Bug 47215 - univention-system-check fails on base system
univention-system-check fails on base system
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Sysinfo
UCS 4.3
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Felix Botner
Philipp Hahn
:
Depends on: 40461
Blocks: 47217
  Show dependency treegraph
 
Reported: 2018-06-20 11:19 CEST by Philipp Hahn
Modified: 2023-03-25 06:43 CET (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Troubleshooting
Max CVSS v3 score:


Attachments
ucs-test log (23.56 KB, text/x-log)
2018-06-20 11:19 CEST, Philipp Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2018-06-20 11:19:33 CEST
Created attachment 9566 [details]
ucs-test log

> [basic]    - FAILED   - check_for_dockerd_process.sh
a base system runs no docker
> [basic]    - FAILED   - joinstatus.sh
a base system is never joined
> [basic]    - FAILED   - univention_ldapsearch_machine_basic.sh
a base system has no working LDAP
> [basic]    - FAILED   - univention_ldapsearch_machine_kerberos.sh
a base system has no working Kerberos
> [basic]    - FAILED   - package_status.sh
???
> [basic]    - FAILED   - check_for_ntpd_process.sh
a base system has no NTP integration
> [basic]    - OK       - check_nagios_status.py
> [basic]    - OK       - secure_apt_is_activated.sh
> [samba]    - OK       - no_3000_mapping_in_net_cache.sh
> [samba]    - OK       - hosts_sids_equal_in_ucs_and_samba.sh
> [samba]    - FAILED   - cn_idmap_exists.sh
???
> [samba]    - FAILED   - check_s4_connector_autostart.sh
???
> [samba]    - OK       - check_ddns_update.sh
> [samba]    - FAILED   - check_for_temporary_udm_sids.sh
a base system is not in LDAP
> [samba]    - OK       - check_samba_processes.sh
> [samba]    - OK       - disabled_drsuapi_adtakeover_incomplete.sh
> [samba]    - OK       - check_smbclient_via_krb5_keytab.sh
> [samba]    - OK       - check_winbind_idmap_range.sh
> [samba]    - OK       - cn_system_exists_only_once.sh
> [samba]    - OK       - krbtgt_has_rid_502.sh
> [samba]    - OK       - wbinfo_checks.sh
> [samba]    - OK       - check_s4_connector_rejects.sh
> [samba]    - OK       - check_for_USN_rollback.sh
> [samba]    - OK       - maximum_password_age_smaller_999.sh
> [samba]    - OK       - master_is_member_of_enterprise_domain_controllers.sh
> [samba]    - OK       - check_s4_connector_listener_active.sh
> [samba]    - OK       - check_samba_drs_replication.sh
> [samba]    - OK       - check_msds_keyversionnumber.sh
> [samba]    - OK       - check_guid_msdcs_dns_alias.sh
> [samba]    - OK       - check_samba_domain_trust.sh
> [samba]    - OK       - testjoin.sh
> [listener] - FAILED   - all_handlers_initialized.sh
a base system is never joined
> [listener] - FAILED   - replication.sh
a base system is never joined and thus never replicates
> [dns]      - OK       - forward_and_reverse_dns_kdc.sh
a base system has no working Kerberos
> [dns]      - FAILED   - forward_dns_myself.sh
a base system does not run DNS
Comment 1 Felix Botner univentionstaff 2018-06-20 17:11:08 CEST
fixed in r83028 dev/trunk/internal/univention-system-check
Comment 2 Philipp Hahn univentionstaff 2018-06-20 18:07:59 CEST
(In reply to Felix Botner from comment #1)
> fixed in r83028 dev/trunk/internal/univention-system-check
I thing it was r83030

OK: svn diff -c r83030
OK: ./univention-system-check

REOPEN: Please create a new signed .tgz and put it on the download server.

PS: After that ucs/test/ucs-test/tests/00_checks/01_univention_system_check needs to be re-enabled by deleting line 3: ## roles-not: [basesystem]

PS: You should fix the following line as it matches any file ending on [.hpsy|]:
+    for test in glob.glob(self.options.checks_dir + '/*/*[.sh|.py]'):
Comment 3 Felix Botner univentionstaff 2018-06-21 12:19:52 CEST
(In reply to Philipp Hahn from comment #2)
> (In reply to Felix Botner from comment #1)
> > fixed in r83028 dev/trunk/internal/univention-system-check
> I thing it was r83030
> 
> OK: svn diff -c r83030
> OK: ./univention-system-check
> 
> REOPEN: Please create a new signed .tgz and put it on the download server.

done
 
> PS: After that ucs/test/ucs-test/tests/00_checks/01_univention_system_check
> needs to be re-enabled by deleting line 3: ## roles-not: [basesystem]

done
 
> PS: You should fix the following line as it matches any file ending on
> [.hpsy|]:
> +    for test in glob.glob(self.options.checks_dir + '/*/*[.sh|.py]'):

done
Comment 4 Philipp Hahn univentionstaff 2018-06-21 14:09:52 CEST
(In reply to Felix Botner from comment #3)
> (In reply to Philipp Hahn from comment #2)
> > (In reply to Felix Botner from comment #1)
> > > fixed in r83028 dev/trunk/internal/univention-system-check
> > I thing it was r83030
> > 
> > OK: svn diff -c r83030
> > OK: ./univention-system-check
> > 
> > REOPEN: Please create a new signed .tgz and put it on the download server.
> 
> done

OK: /usr/share/ucs-test/00_checks/01_univention_system_check

> > PS: After that ucs/test/ucs-test/tests/00_checks/01_univention_system_check
> > needs to be re-enabled by deleting line 3: ## roles-not: [basesystem]
> 
> done

OK: git show d0f685b2992153ccdc66684dd53404db59c6026f

> > PS: You should fix the following line as it matches any file ending on
> > [.hpsy|]:
> > +    for test in glob.glob(self.options.checks_dir + '/*/*[.sh|.py]'):
> 
> done

OK: svn diff -c 83031