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

multiple grin wallet instances do not work in firejail #2392

Closed
bitcoal opened this issue Jan 16, 2019 · 1 comment
Closed

multiple grin wallet instances do not work in firejail #2392

bitcoal opened this issue Jan 16, 2019 · 1 comment

Comments

@bitcoal
Copy link

bitcoal commented Jan 16, 2019

for example, you can run one of these commands but trying to run both will always crash

firejail --private=grinjail grin wallet listen
firejail --private=grinjail grin wallet owner_api

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: LmdbErr(Error::Code(11, 'Resource temporarily unavailable'))': libcore/result.rs:1009stack backtrace:
   0:     0x55b8a62e1f9d - backtrace::backtrace::trace::hd74837959dc31a2c
   1:     0x55b8a62e11b2 - <backtrace::capture::Backtrace as core::default::Default>::default::hfbe03539066da14f
   2:     0x55b8a62e1229 - backtrace::capture::Backtrace::new::hd9d47426559d8b68
   3:     0x55b8a626af10 - grin_util::logger::send_panic_to_log::{{closure}}::h6b81febaf2dee014
   4:     0x55b8a63b2d66 - std::panicking::rust_panic_with_hook::hde420d6fd4455550
                        at libstd/panicking.rs:480
   5:     0x55b8a63b28b1 - std::panicking::continue_panic_fmt::h8f394f3c578bcc76
                        at libstd/panicking.rs:390
   6:     0x55b8a63b2795 - rust_begin_unwind
                        at libstd/panicking.rs:325
   7:     0x55b8a63fc80c - core::panicking::panic_fmt::hca5dc4e8b320bc56
                        at libcore/panicking.rs:77
   8:     0x55b8a5dcfc69 - core::result::unwrap_failed::h8c284ee1d6d1149f
   9:     0x55b8a5d53b05 - <grin_wallet::lmdb_wallet::LMDBBackend<C, K> as grin_wallet::libwallet::types::WalletBackend<C, K>>::set_parent_key_id_by_name::h7053ed9b116daaa3
  10:     0x55b8a5d7546c - grin_wallet::instantiate_wallet::hb1394b9760302a48
  11:     0x55b8a5db1af8 - <grin_wallet::adapters::http::HTTPWalletCommAdapter as grin_wallet::adapters::WalletCommAdapter>::listen::hb4f5cb93467bfd21
  12:     0x55b8a5d7339b - grin_wallet::command::listen::h5df7eba17a7757d8
  13:     0x55b8a5b4818f - grin::cmd::wallet_args::wallet_command::hd3086f986bd21039
  14:     0x55b8a5afc96a - grin::cmd::wallet::wallet_command::h27357f4cb98f8140
  15:     0x55b8a5b66e10 - grin::real_main::h7464ec6aee075aa9
  16:     0x55b8a5b653d5 - grin::main::h76cf7ec850a9936e
  17:     0x55b8a5b33712 - std::rt::lang_start::{{closure}}::hd67b3eb73f2382c8
  18:     0x55b8a63b2732 - std::rt::lang_start_internal::{{closure}}::hafa8ecdacd368ebb
                        at libstd/rt.rs:59
                         - std::panicking::try::do_call::h8c0dbb48abbdf4df
                        at libstd/panicking.rs:310
  19:     0x55b8a63c4e09 - __rust_maybe_catch_panic
                        at libpanic_unwind/lib.rs:102
  20:     0x55b8a6393f8a - std::panicking::try::hbc21637ba5f64d73
                        at libstd/panicking.rs:289
                         - std::panic::catch_unwind::h954917b922b8d970
                        at libstd/panic.rs:392
                         - std::rt::lang_start_internal::h5b2de3cc38c3b406
                        at libstd/rt.rs:58
  21:     0x55b8a5b67854 - main
  22:     0x7fdb7fd0882f - __libc_start_main
  23:     0x55b8a5aa9eb8 - _start
  24:                0x0 - <unknown>
@yeastplume
Copy link
Member

yeastplume commented Jan 22, 2019

Multiple wallet instances will conflict with each other's ports unless they're properly configured. Please feel free to open an enhancement issue if you feel firejail should be supported.

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

2 participants