Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

machinery inspect command failing on SLE 15 SP3 #2287

Open
AhteshamulHaque opened this issue Jan 23, 2023 · 0 comments
Open

machinery inspect command failing on SLE 15 SP3 #2287

AhteshamulHaque opened this issue Jan 23, 2023 · 0 comments

Comments

@AhteshamulHaque
Copy link

AhteshamulHaque commented Jan 23, 2023

The command I ran:

machinery inspect localhost

Its output:

Inspecting localhost for os, packages, patterns, repositories, users, groups, services, changed-config-files, changed-managed-files, unmanaged-files...

Note: There are filters being applied during inspection. (Use '--verbose' option to show the filters)


Inspecting os...
 -> Found operating system 'SUSE Linux Enterprise Server 15 SP3' version '15-SP3'.
Inspecting packages...
 -> Found 2464 packages.
Inspecting patterns...
 -> Found 27 patterns.
Inspecting repositories...
 -> Found 78 repositories.
Inspecting users...
 -> Found 42 users.
Inspecting groups...
 -> Found 65 groups.
Inspecting services...
 -> Found 386 services.
Inspecting changed-config-files...
 -> Found 18 changed configuration files...Machinery experienced an unexpected error. Please file a bug report at: https://github.com/SUSE/machinery/issues/new
Traceback (most recent call last):
	18: from /usr/bin/machinery:23:in `<main>'
	17: from /usr/bin/machinery:23:in `load'
	16: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/bin/machinery:41:in `<top (required)>'
	15: from /usr/lib64/ruby/gems/2.5.0/gems/gli-2.13.1/lib/gli/app_support.rb:83:in `run'
	14: from /usr/lib64/ruby/gems/2.5.0/gems/gli-2.13.1/lib/gli/app_support.rb:309:in `call_command'
	13: from /usr/lib64/ruby/gems/2.5.0/gems/gli-2.13.1/lib/gli/app_support.rb:296:in `block in call_command'
	12: from /usr/lib64/ruby/gems/2.5.0/gems/gli-2.13.1/lib/gli/command_support.rb:126:in `execute'
	11: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/cli.rb:768:in `block (2 levels) in <class:Cli>'
	10: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/inspect_task.rb:21:in `inspect_system'
	 9: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/inspect_task.rb:79:in `build_description'
	 8: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/inspect_task.rb:79:in `each'
	 7: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/inspect_task.rb:87:in `block in build_description'
	 6: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/plugins/changed_config_files/changed_config_files_inspector.rb:45:in `inspect'
	 5: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/managed_files_database.rb:73:in `changed_files'
	 4: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/managed_files_database.rb:198:in `get_path_data'
	 3: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/managed_files_database.rb:172:in `get_file_properties'
	 2: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/managed_files_database.rb:172:in `each_line'
	 1: from /usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/managed_files_database.rb:173:in `block in get_file_properties'
/usr/lib64/ruby/gems/2.5.0/gems/machinery-tool-1.24.1/lib/managed_files_database.rb:141:in `parse_stat_line': The inspection failed because of the unknown type `socket` of file `/var/lib/named/dev/log`. (RuntimeError)
machinery --version
machinery version 1.24.1 (system description format version 10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant