Skip to content

After restarting the operating system, it is not possible to log in with the default account key #1109

@GaoLe996

Description

@GaoLe996

OS: Rocky linux 9
RustFS: rustfs 1.0.0-alpha.72

/etc/default/rustfs:
RUSTFS_ACCESS_KEY=rustfsadmin RUSTFS_SECRET_KEY=rustfsadmin RUSTFS_VOLUMES="/data/rustfs0" RUSTFS_ADDRESS=":9000" RUSTFS_CONSOLE_ENABLE=true RUST_LOG=error RUSTFS_OBS_LOG_DIRECTORY="/var/logs/rustfs/"

/etc/systemd/system/rustfs.service:
`
[Unit]
Description=RustFS Object Storage Server
Documentation=https://rustfs.com/docs/
After=network-online.target
Wants=network-online.target

[Service]
Type=notify
NotifyAccess=main
User=rustfs-user
Group=rustfs-user

WorkingDirectory=/usr/local
EnvironmentFile=-/etc/default/rustfs
ExecStart=/usr/local/bin/rustfs $RUSTFS_VOLUMES

LimitNOFILE=1048576
LimitNPROC=32768
TasksMax=infinity

Restart=always
RestartSec=10s

OOMScoreAdjust=-1000
SendSIGKILL=no

TimeoutStartSec=30s
TimeoutStopSec=30s

NoNewPrivileges=true

ProtectHome=true
PrivateTmp=true
PrivateDevices=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictSUIDSGID=true
RestrictRealtime=true

service log configuration

StandardOutput=append:/var/logs/rustfs/rustfs.log
StandardError=append:/var/logs/rustfs/rustfs-err.log

[Install]
WantedBy=multi-user.target
`

Question:
It was possible to log in normally with the default account just after deployment, but after restarting the operating system, it now prompts that login is not possible for some reason.

Image

Metadata

Metadata

Assignees

Labels

S-reproducingStatus: Reproducing a bug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions