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

Runtime error during initial "Starting container" #16

Open
eugenesan opened this issue May 1, 2024 · 0 comments
Open

Runtime error during initial "Starting container" #16

eugenesan opened this issue May 1, 2024 · 0 comments

Comments

@eugenesan
Copy link

During initial start, I am seeing the following in the lilipod log:

...
Get:77 http://archive.ubuntu.com/ubuntu noble/main amd64 dbus-user-session amd64 1.14.10-4ubuntu4 [9960 B]
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
github.com/89luca89/lilipod/pkg/logging.ReadLog({0x990060, 0xc0000aa220?}, 0xfffffff1886e0900, 0xfffffff1886e0900, 0x1, 0x0)
/home/user/Develop/src/lilipod/pkg/logging/logging.go:127 +0x6a7
github.com/89luca89/lilipod/cmd.logs(0xc000286008, {0xc0000e0d00?, 0x4?, 0x8ca620?})
/home/user/Develop/src/lilipod/cmd/logs.go:80 +0x2c9
github.com/spf13/cobra.(*Command).execute(0xc000286008, {0xc0000c4060, 0x2, 0x2})
/home/user/Develop/src/lilipod/vendor/github.com/spf13/cobra/command.go:940 +0x882
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001ea908)
/home/user/Develop/src/lilipod/vendor/github.com/spf13/cobra/command.go:1068 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
/home/user/Develop/src/lilipod/vendor/github.com/spf13/cobra/command.go:992
main.main()
/home/user/Develop/src/lilipod/main.go:109 +0x5b
...

Otherwise the container seems to be functioning normally, except I can't recall if podman does set the hostname but lilipod surely doesn't.

Container: ubuntu:24.04, lilpod: 0.0.3(68b04f2), distrobox: 0.7.1.0

P.S.
After initial start is done and contaner is running, "lilipod logs" returns nothing. Is that by design?

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