yousefvand / secret-service

Service to keep secrets of applications
MIT License
85 stars 11 forks source link

Manual build in Github Actions failing at start attempt of secretservice: Error: Process completed with exit code 3. #19

Closed jsoneaday closed 1 year ago

jsoneaday commented 1 year ago

Hi I'm doing a manual build from a ubuntu runner in github actions and it gets up to the command "systemctl status --user secretserviced.service" and it fails there. Your docs don't indicate any dependencies, are any required?

// some of the lines are my own comments

go: downloading github.com/sirupsen/logrus v[1](https://github.com/archway-network/keyring-go/actions/runs/4387744808/jobs/7683401489#step:7:1).8.1
go: downloading github.com/godbus/dbus/v5 v5.0.6
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/monnand/dhkx v0.0.0-20180522003156-9e5b033f1ac4
go: downloading golang.org/x/crypto v0.0.0-20220210151621-f4118a5b[28](https://github.com/archway-network/keyring-go/actions/runs/4387744808/jobs/7683401489#step:7:29)e2
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/spf13/viper v1.10.1
go: downloading github.com/spf13/cobra v1.3.0
go: downloading github.com/fsnotify/fsnotify v1.5.1
go: downloading github.com/magiconair/properties v1.8.5
go: downloading github.com/mitchellh/mapstructure v1.4.3
go: downloading github.com/spf13/afero v1.8.1
go: downloading github.com/spf13/cast v1.4.1
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading gopkg.in/ini.v1 v1.66.4
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/pelletier/go-toml v1.9.4
copy secreteserviced.service file
Start systemctl
Enable secretserviced
Created symlink /home/runner/.config/systemd/user/default.target.wants/secretserviced.service → /home/runner/.config/systemd/user/secretserviced.service.
Enable secretservice
● secretserviced.service - Service to keep secrets of applications
     Loaded: loaded (/home/runner/.config/systemd/user/secretserviced.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2023-03-10 19:20:22 UTC; 6ms ago
       Docs: https://github.com/yousefvand/secret-service
    Process: 3430 ExecStart=/home/runner/work/keyring-go/keyring-go/secretserviced (code=exited, status=203/EXEC)
   Main PID: 3430 (code=exited, status=203/EXEC)
        CPU: 1ms
Error: Process completed with exit code 3.
yousefvand commented 1 year ago

I have no idea. You may look at my setting as an example.