Bug 39000 - Check if insserv was called
Check if insserv was called
Status: RESOLVED FIXED
Product: UCS Test
Classification: Unclassified
Component: App Center
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bastian Reitemeier
App Center maintainers
:
Depends on:
Blocks: 43306
  Show dependency treegraph
 
Reported: 2015-07-22 09:37 CEST by Stefan Gohmann
Modified: 2017-01-05 21:09 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-07-22 09:37:15 CEST
An App called insserv in the postinst which changed the complete boot order and it looks like some Unviention services had been removed from the default runlevel.

A test case should check it.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-07-22 12:07:10 CEST
Please check if the described behaviour is reproducible and how to test it.
Comment 2 Bastian Reitemeier univentionstaff 2015-09-09 13:45:32 CEST
Added a test that will check a list of univention programs and the filenames of their respective startup scripts in /etc/rc2.d: 

packets = {
	'univention-management-console-server':
		'S20univention-management-console-server',
	'univention-welcome-screen': 'S99univention-welcome-screen',
	'univention-directory-policy': 'S20univention-directory-policy',
	'univention-firewall': 'S05univention-firewall',
	'univention-runit': 'S08univention-runit',
	'univention-updater': 'S97univention-maintenance',
	'univention-network-common': 'S98univention-network-common',
	'univention-system-setup-boot': 'S93univention-system-setup-boot',
	'univention-directory-notifier': 'S20univention-directory-notifier',
	'univention-directory-listener': 'S50univention-directory-listener',
	'univention-s4-connector': 'S97univention-s4-connector',
	'univention-management-console-web-server':
		'S20univention-management-console-web-server'
}

The test then checks each of these apps for installation, and, if they are installed, checks wether the init-script still exists with the correct name.