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

archlinux cannot load config file #52

Open
gagalago opened this issue Apr 29, 2021 · 0 comments
Open

archlinux cannot load config file #52

gagalago opened this issue Apr 29, 2021 · 0 comments

Comments

@gagalago
Copy link
Contributor

gagalago commented Apr 29, 2021

when I try to start dory I have the following error:

$ dory start  
<internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- /usr/lib/ruby/gems/3.0.0/gems/dory-1.1.1/lib/dory/config (LoadError)
	from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /usr/lib/ruby/gems/3.0.0/gems/dory-1.1.1/lib/dory.rb:2:in `block in <top (required)>'
	from /usr/lib/ruby/gems/3.0.0/gems/dory-1.1.1/lib/dory.rb:1:in `each'
	from /usr/lib/ruby/gems/3.0.0/gems/dory-1.1.1/lib/dory.rb:1:in `<top (required)>'
	from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /usr/lib/ruby/gems/3.0.0/gems/dory-1.1.1/bin/dory:7:in `<top (required)>'
	from /usr/bin/dory:23:in `load'
	from /usr/bin/dory:23:in `<main>'

I can see that it's the only file that is not readable by any user

$ ls -la /usr/lib/ruby/gems/3.0.0/gems/dory-1.1.1/lib/dory/
total 68
drwxr-xr-x 3 root root 4096 29 avr 17:19 .
drwxr-xr-x 3 root root 4096 29 avr 17:19 ..
-rw-r----- 1 root root 4911 15 avr 18:55 config.rb
-rw-r--r-- 1 root root  711 15 avr 18:55 dinghy.rb
-rw-r--r-- 1 root root 7771 15 avr 18:55 dnsmasq.rb
-rw-r--r-- 1 root root 3154 15 avr 18:55 docker_service.rb
-rw-r--r-- 1 root root 1141 15 avr 18:55 os.rb
-rw-r--r-- 1 root root  763 15 avr 18:55 port_utils.rb
-rw-r--r-- 1 root root 1548 15 avr 18:55 proxy.rb
drwxr-xr-x 2 root root 4096 29 avr 17:19 resolv
-rw-r--r-- 1 root root  662 15 avr 18:55 resolv.rb
-rw-r--r-- 1 root root  582 15 avr 18:55 shell.rb
-rw-r--r-- 1 root root 1362 15 avr 18:55 systemd.rb
-rw-r--r-- 1 root root  545 15 avr 18:55 upgrade.rb
-rw-r--r-- 1 root root   93 15 avr 18:55 version.rb

if I run dory with sudo, it's working but I should not need it (only for the restart of network)

is the problem come from this gem or from the packaging to archlinux?

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