89luca89 / 89luca89/lilipod

Runtime error during initial "Starting container"

Đang mở
#16 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
673
Fork
25
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.