tiredofit / docker-db-backup

Backup multiple database types on a scheduled basis with many customizable options
MIT License
825 stars 121 forks source link

4.0.35 Exec into container "error loading shared library" #344

Open Circenn5130 opened 3 months ago

Circenn5130 commented 3 months ago

Summary

exec into container produces a stream of various "Error relocating /bin/bash"

Steps to reproduce

What is the expected correct behavior?

cli prompt [tiredofit/db-backup 19:15:06 /]

Relevant logs and/or screenshots

Error loading shared library libreadline.so.8: Exec format error (needed by /bin/bash)
Error relocating /bin/bash: unstifle_history: symbol not found
Error relocating /bin/bash: rl_make_bare_keymap: symbol not found
Error relocating /bin/bash: rl_bind_key_if_unbound_in_map: symbol not found
Error relocating /bin/bash: rl_macro_dumper: symbol not found
Error relocating /bin/bash: previous_history: symbol not found
Error relocating /bin/bash: rl_vi_end_word: symbol not found
Error relocating /bin/bash: rl_parse_and_bind: symbol not found
Error relocating /bin/bash: rl_redisplay: symbol not found
Error relocating /bin/bash: rl_emacs_editing_mode: symbol not found
Error relocating /bin/bash: rl_push_macro_input: symbol not found
Error relocating /bin/bash: rl_bind_key_in_map: symbol not found
Error relocating /bin/bash: clear_history: symbol not found
Error relocating /bin/bash: add_history: symbol not found
Error relocating /bin/bash: rl_redraw_prompt_last_line: symbol not found
Error relocating /bin/bash: rl_filename_completion_function: symbol not found
Error relocating /bin/bash: rl_function_of_keyseq_len: symbol not found
Error relocating /bin/bash: history_get: symbol not found
Error relocating /bin/bash: rl_get_keymap: symbol not found
Error relocating /bin/bash: rl_kill_text: symbol not found
Error relocating /bin/bash: remove_history: symbol not found
Error relocating /bin/bash: history_truncate_file: symbol not found
Error relocating /bin/bash: rl_generic_bind: symbol not found
Error relocating /bin/bash: rl_read_key: symbol not found
Error relocating /bin/bash: rl_tilde_expand: symbol not found
Error relocating /bin/bash: read_history: symbol not found
Error relocating /bin/bash: rl_add_defun: symbol not found
Error relocating /bin/bash: history_expand: symbol not found
Error relocating /bin/bash: rl_newline: symbol not found
Error relocating /bin/bash: rl_vi_editing_mode: symbol not found
Error relocating /bin/bash: rl_translate_keyseq: symbol not found
Error relocating /bin/bash: rl_forced_update_display: symbol not found
Error relocating /bin/bash: rl_set_timeout: symbol not found
Error relocating /bin/bash: rl_read_init_file: symbol not found
Error relocating /bin/bash: rl_username_completion_function: symbol not found
Error relocating /bin/bash: rl_insert: symbol not found
Error relocating /bin/bash: rl_invoking_keyseqs: symbol not found
Error relocating /bin/bash: append_history: symbol not found
Error relocating /bin/bash: rl_tab_insert: symbol not found
Error relocating /bin/bash: free_history_entry: symbol not found
Error relocating /bin/bash: rl_unbind_key_in_map: symbol not found
Error relocating /bin/bash: rl_set_signals: symbol not found
Error relocating /bin/bash: readline: symbol not found
Error relocating /bin/bash: rl_variable_value: symbol not found
Error relocating /bin/bash: history_set_pos: symbol not found
Error relocating /bin/bash: rl_unbind_function_in_map: symbol not found
Error relocating /bin/bash: read_history_range: symbol not found
Error relocating /bin/bash: history_is_stifled: symbol not found
Error relocating /bin/bash: rl_menu_complete: symbol not found
Error relocating /bin/bash: stifle_history: symbol not found
Error relocating /bin/bash: replace_history_entry: symbol not found
Error relocating /bin/bash: rl_insert_text: symbol not found
Error relocating /bin/bash: rl_get_keymap_by_name: symbol not found
Error relocating /bin/bash: rl_set_screen_size: symbol not found
Error relocating /bin/bash: rl_clear_signals: symbol not found
Error relocating /bin/bash: rl_vi_bWord: symbol not found
Error relocating /bin/bash: rl_get_termcap: symbol not found
Error relocating /bin/bash: rl_begin_undo_group: symbol not found
Error relocating /bin/bash: rl_ding: symbol not found
Error relocating /bin/bash: where_history: symbol not found
Error relocating /bin/bash: rl_delete_text: symbol not found
Error relocating /bin/bash: rl_function_of_keyseq: symbol not found
Error relocating /bin/bash: rl_bind_keyseq: symbol not found
Error relocating /bin/bash: rl_reset_terminal: symbol not found
Error relocating /bin/bash: history_tokenize: symbol not found
Error relocating /bin/bash: rl_forward_word: symbol not found
Error relocating /bin/bash: rl_copy_text: symbol not found
Error relocating /bin/bash: rl_yank_last_arg: symbol not found
Error relocating /bin/bash: rl_function_dumper: symbol not found
Error relocating /bin/bash: _rl_find_next_mbchar: symbol not found
Error relocating /bin/bash: rl_vi_insertion_mode: symbol not found
Error relocating /bin/bash: rl_end_undo_group: symbol not found
Error relocating /bin/bash: rl_variable_bind: symbol not found
Error relocating /bin/bash: rl_named_function: symbol not found
Error relocating /bin/bash: rl_initialize: symbol not found
Error relocating /bin/bash: rl_vi_start_inserting: symbol not found
Error relocating /bin/bash: rl_complete: symbol not found
Error relocating /bin/bash: rl_complete: symbol not found
Error relocating /bin/bash: rl_complete_internal: symbol not found
Error relocating /bin/bash: history_list: symbol not found
Error relocating /bin/bash: tilde_expand: symbol not found
Error relocating /bin/bash: rl_funmap_names: symbol not found
Error relocating /bin/bash: rl_set_keymap: symbol not found
Error relocating /bin/bash: rl_variable_dumper: symbol not found
Error relocating /bin/bash: rl_bind_keyseq_in_map: symbol not found
Error relocating /bin/bash: write_history: symbol not found
Error relocating /bin/bash: rl_on_new_line: symbol not found
Error relocating /bin/bash: rl_clear_visible_line: symbol not found
Error relocating /bin/bash: rl_completion_matches: symbol not found
Error relocating /bin/bash: rl_completion_mode: symbol not found
Error relocating /bin/bash: rl_add_undo: symbol not found
Error relocating /bin/bash: rl_cleanup_after_signal: symbol not found
Error relocating /bin/bash: rl_list_funmap_names: symbol not found
Error relocating /bin/bash: using_history: symbol not found
Error relocating /bin/bash: history_get_time: symbol not found
Error relocating /bin/bash: remove_history_range: symbol not found
Error relocating /bin/bash: rl_crlf: symbol not found
Error relocating /bin/bash: rl_trim_arg_from_keyseq: symbol not found
Error relocating /bin/bash: history_length: symbol not found
Error relocating /bin/bash: rl_completion_found_quote: symbol not found
Error relocating /bin/bash: rl_completion_type: symbol not found
Error relocating /bin/bash: rl_point: symbol not found
Error relocating /bin/bash: history_lines_written_to_file: symbol not found
Error relocating /bin/bash: history_max_entries: symbol not found
Error relocating /bin/bash: history_write_timestamps: symbol not found
Error relocating /bin/bash: rl_completion_suppress_quote: symbol not found
Error relocating /bin/bash: rl_basic_word_break_characters: symbol not found
Error relocating /bin/bash: rl_mark: symbol not found
Error relocating /bin/bash: rl_directory_rewrite_hook: symbol not found
Error relocating /bin/bash: rl_end: symbol not found
Error relocating /bin/bash: rl_directory_completion_hook: symbol not found
Error relocating /bin/bash: rl_completer_word_break_characters: symbol not found
Error relocating /bin/bash: rl_dispatching: symbol not found
Error relocating /bin/bash: rl_filename_quoting_desired: symbol not found
Error relocating /bin/bash: history_search_delimiter_chars: symbol not found
Error relocating /bin/bash: rl_executing_keyseq: symbol not found
Error relocating /bin/bash: rl_key_sequence_length: symbol not found
Error relocating /bin/bash: rl_filename_dequoting_function: symbol not found
Error relocating /bin/bash: rl_filename_rewrite_hook: symbol not found
Error relocating /bin/bash: rl_filename_stat_hook: symbol not found
Error relocating /bin/bash: vi_insertion_keymap: symbol not found
Error relocating /bin/bash: rl_prep_term_function: symbol not found
Error relocating /bin/bash: rl_menu_completion_entry_function: symbol not found
Error relocating /bin/bash: rl_attempted_completion_function: symbol not found
Error relocating /bin/bash: history_comment_char: symbol not found
Error relocating /bin/bash: rl_filename_completion_desired: symbol not found
Error relocating /bin/bash: rl_done: symbol not found
Error relocating /bin/bash: rl_completion_append_character: symbol not found
Error relocating /bin/bash: rl_sort_completion_matches: symbol not found
Error relocating /bin/bash: history_lines_read_from_file: symbol not found
Error relocating /bin/bash: emacs_ctlx_keymap: symbol not found
Error relocating /bin/bash: rl_deprep_term_function: symbol not found
Error relocating /bin/bash: rl_editing_mode: symbol not found
Error relocating /bin/bash: tilde_additional_prefixes: symbol not found
Error relocating /bin/bash: history_subst_char: symbol not found
Error relocating /bin/bash: rl_readline_state: symbol not found
Error relocating /bin/bash: rl_attempted_completion_over: symbol not found
Error relocating /bin/bash: vi_movement_keymap: symbol not found
Error relocating /bin/bash: rl_filename_quote_characters: symbol not found
Error relocating /bin/bash: rl_filename_quoting_function: symbol not found
Error relocating /bin/bash: history_quotes_inhibit_expansion: symbol not found
Error relocating /bin/bash: rl_readline_name: symbol not found
Error relocating /bin/bash: rl_line_buffer: symbol not found
Error relocating /bin/bash: emacs_meta_keymap: symbol not found
Error relocating /bin/bash: rl_char_is_quoted_p: symbol not found
Error relocating /bin/bash: rl_completion_entry_function: symbol not found
Error relocating /bin/bash: rl_last_func: symbol not found
Error relocating /bin/bash: rl_ignore_some_completions_function: symbol not found
Error relocating /bin/bash: rl_completion_invoking_key: symbol not found
Error relocating /bin/bash: rl_instream: symbol not found
Error relocating /bin/bash: tilde_expansion_preexpansion_hook: symbol not found
Error relocating /bin/bash: tilde_additional_suffixes: symbol not found
Error relocating /bin/bash: rl_completion_suppress_append: symbol not found
Error relocating /bin/bash: history_inhibit_expansion_function: symbol not found
Error relocating /bin/bash: rl_completer_quote_characters: symbol not found
Error relocating /bin/bash: rl_completion_quote_character: symbol not found
Error relocating /bin/bash: history_base: symbol not found
Error relocating /bin/bash: rl_terminal_name: symbol not found
Error relocating /bin/bash: history_expansion_char: symbol not found
Error relocating /bin/bash: rl_outstream: symbol not found
Error relocating /bin/bash: emacs_standard_keymap: symbol not found
Error relocating /bin/bash: rl_startup_hook: symbol not found
Error relocating /bin/bash: history_quoting_state: symbol not found
Error relocating /bin/bash: rl_signal_event_hook: symbol not found
Error relocating /bin/bash: rl_special_prefixes: symbol not found
Error relocating /bin/bash: rl_explicit_arg: symbol not found
Error relocating /bin/bash: rl_num_chars_to_read: symbol not found
Error relocating /bin/bash: rl_completion_mark_symlink_dirs: symbol not found
command terminated with exit code 127

Environment

Dropping back to 4.0.34 works as expected

Circenn5130 commented 3 months ago

Additional logs from when the container is started

2024-05-09 19:55:13 | s6-rc: fatal: unable to take locks: No such file or directory
2024-05-09 19:55:14 | s6-rc: fatal: unable to take locks: No such file or directory
2024-05-09 19:55:14 | s6-linux-init-shutdownd: warning: /run/s6/basedir/scripts/rc.shutdown exited 111
Circenn5130 commented 3 months ago

Was able to sort out increasing the verbosity for S6.

2024-05-09 20:47:20 | s6-rc-compile: tracing: from s6-rc-compile internals: adding identifier s6rc-oneshot-runner of type longrun
2024-05-09 20:47:20 | s6-rc-compile: tracing: from s6-rc-compile internals: adding identifier s6rc-fdholder of type longrun
2024-05-09 20:47:20 | s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/user
2024-05-09 20:47:20 | s6-rc-compile: info: user has type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier user of type bundle
2024-05-09 20:47:20 | s6-rc-compile: info: parsing /etc/s6-overlay/s6-rc.d/user2
2024-05-09 20:47:20 | s6-rc-compile: info: user2 has type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: from /etc/s6-overlay/s6-rc.d: adding identifier user2 of type bundle
2024-05-09 20:47:20 | s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/base
2024-05-09 20:47:20 | s6-rc-compile: info: base has type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier base of type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: from base: adding identifier fix-attrs of type unknown
2024-05-09 20:47:20 | s6-rc-compile: tracing: from base: adding identifier legacy-cont-init of type unknown
2024-05-09 20:47:20 | s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/fix-attrs
2024-05-09 20:47:20 | s6-rc-compile: info: fix-attrs has type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier fix-attrs of type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: previously encountered identifier fix-attrs now has type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: dependency from fix-attrs to s6rc-oneshot-runner (0)
2024-05-09 20:47:20 | s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/legacy-cont-init
2024-05-09 20:47:20 | s6-rc-compile: info: legacy-cont-init has type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier legacy-cont-init of type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: previously encountered identifier legacy-cont-init now has type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: from legacy-cont-init: adding identifier fix-attrs of type unknown
2024-05-09 20:47:20 | s6-rc-compile: tracing: identifier fix-attrs was already declared with type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: dependency from legacy-cont-init to fix-attrs (50)
2024-05-09 20:47:20 | s6-rc-compile: tracing: dependency from legacy-cont-init to s6rc-oneshot-runner (0)
2024-05-09 20:47:20 | s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/legacy-services
2024-05-09 20:47:20 | s6-rc-compile: info: legacy-services has type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier legacy-services of type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: from legacy-services: adding identifier base of type unknown
2024-05-09 20:47:20 | s6-rc-compile: tracing: identifier base was already declared with type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: from legacy-services: adding identifier user of type unknown
2024-05-09 20:47:20 | s6-rc-compile: tracing: identifier user was already declared with type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: dependency from legacy-services to base (45)
2024-05-09 20:47:20 | s6-rc-compile: tracing: dependency from legacy-services to user (34)
2024-05-09 20:47:20 | s6-rc-compile: tracing: dependency from legacy-services to s6rc-oneshot-runner (0)
2024-05-09 20:47:20 | s6-rc-compile: info: parsing /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources/top
2024-05-09 20:47:20 | s6-rc-compile: info: top has type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: from /package/admin/s6-overlay-3.1.6.2/etc/s6-rc/sources: adding identifier top of type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: from top: adding identifier base of type unknown
2024-05-09 20:47:20 | s6-rc-compile: tracing: identifier base was already declared with type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: from top: adding identifier user of type unknown
2024-05-09 20:47:20 | s6-rc-compile: tracing: identifier user was already declared with type bundle
2024-05-09 20:47:20 | s6-rc-compile: tracing: from top: adding identifier legacy-services of type unknown
2024-05-09 20:47:20 | s6-rc-compile: tracing: identifier legacy-services was already declared with type oneshot
2024-05-09 20:47:20 | s6-rc-compile: tracing: from top: adding identifier user2 of type unknown
2024-05-09 20:47:20 | s6-rc-compile: tracing: identifier user2 was already declared with type bundle
2024-05-09 20:47:20 | s6-rc-compile: info: making bundles for pipelines
2024-05-09 20:47:20 | s6-rc-compile: info: resolving bundle names
2024-05-09 20:47:20 | s6-rc-compile: info: converting bundle array
2024-05-09 20:47:20 | s6-rc-compile: info: resolving service names
2024-05-09 20:47:20 | s6-rc-compile: tracing: fix-attrs depends on longrun s6rc-oneshot-runner (0)
2024-05-09 20:47:20 | s6-rc-compile: tracing: legacy-cont-init depends on oneshot fix-attrs (2)
2024-05-09 20:47:20 | s6-rc-compile: tracing: legacy-cont-init depends on longrun s6rc-oneshot-runner (0)
2024-05-09 20:47:20 | s6-rc-compile: tracing: legacy-services depends on bundle base
2024-05-09 20:47:20 | s6-rc-compile: tracing: legacy-services depends on bundle user
2024-05-09 20:47:20 | s6-rc-compile: tracing: legacy-services depends on longrun s6rc-oneshot-runner (0)
2024-05-09 20:47:20 | s6-rc-compile: info: converting service dependency array
2024-05-09 20:47:20 | s6-rc-compile: info: checking database correctness
2024-05-09 20:47:20 | s6-rc-compile: info: writing compiled information to /run/s6/db
2024-05-09 20:47:20 | s6-rc-compile: info: writing /run/s6/db/n
2024-05-09 20:47:20 | s6-rc-compile: info: writing /run/s6/db/resolve.cdb
2024-05-09 20:47:20 | s6-rc-compile: info: writing /run/s6/db/db
2024-05-09 20:47:20 | s6-rc-compile: info: writing /run/s6/db/servicedirs
2024-05-09 20:47:20 | s6-rc: fatal: unable to take locks: No such file or directory
2024-05-09 20:47:21 | s6-rc: fatal: unable to take locks: No such file or directory
2024-05-09 20:47:21 | s6-linux-init-shutdownd: warning: /run/s6/basedir/scripts/rc.shutdown exited 111