-
Notifications
You must be signed in to change notification settings - Fork 3k
win-sshproxy.exe fails to start after Windows update disables Event Logs #21426
Description
Issue Description
After a recent Windows update, it appears that the Event Logs service was disabled automatically. This caused an issue where podman machine start could not successfully execute because win-sshproxy.exe failed to start. Manually re-enabling the Event Logs service resolved the issue. However, I believe Podman should not rely on the Event Logs, or at the very least, should provide clearer and more direct error messaging to help diagnose such issues.
Steps to reproduce the issue
Steps to reproduce the issue
- With Windows Event Logs service disabled (which might happen due to a Windows update), run
podman machine start.
Describe the results you received
The podman machine start command fails with an error indicating that win-sshproxy.exe failed to start, but it does not specify that this is due to the Windows Event Logs being disabled.
Describe the results you expected
Podman should either not rely on Windows Event Logs to start win-sshproxy.exe, or provide a clear error message indicating the dependency and how to resolve the issue if the Event Logs service is disabled.
podman info output
Client: Podman Engine
Version: 4.8.3
API Version: 4.8.3
Go Version: go1.20.12
Git Commit: 85dc30df56566a654700722a4dd190e1b9680ee7
Built: Wed Jan 3 21:50:42 2024
OS/Arch: windows/amd64
Server: Podman Engine
Version: 4.8.3
API Version: 4.8.3
Go Version: go1.21.5
Built: Wed Jan 3 22:11:40 2024
OS/Arch: linux/amd64
host:
arch: amd64
buildahVersion: 1.33.2
cgroupControllers:
- cpuset
- cpu
- cpuacct
- blkio
- memory
- devices
- freezer
- net_cls
- perf_event
- net_prio
- hugetlb
- pids
- rdma
- misc
cgroupManager: cgroupfs
cgroupVersion: v1
conmon:
package: conmon-2.1.8-2.fc39.x86_64
path: /usr/bin/conmon
version: 'conmon version 2.1.8, commit: '
cpuUtilization:
idlePercent: 99.92
systemPercent: 0.03
userPercent: 0.05
cpus: 12
databaseBackend: sqlite
distribution:
distribution: fedora
variant: container
version: "39"
eventLogger: journald
freeLocks: 2047
hostname: ryanlin-pc0
idMappings:
gidmap: null
uidmap: null
kernel: 5.15.133.1-microsoft-standard-WSL2
linkmode: dynamic
logDriver: journald
memFree: 12437889024
memTotal: 16642101248
networkBackend: netavark
networkBackendInfo:
backend: netavark
dns:
package: aardvark-dns-1.9.0-1.fc39.x86_64
path: /usr/libexec/podman/aardvark-dns
version: aardvark-dns 1.9.0
package: netavark-1.9.0-1.fc39.x86_64
path: /usr/libexec/podman/netavark
version: netavark 1.9.0
ociRuntime:
name: crun
package: crun-1.13-1.fc39.x86_64
path: /usr/bin/crun
version: |-
crun version 1.13
commit: c761349704905da07cfe67f38dda6850334a160f
rundir: /run/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
os: linux
pasta:
executable: /usr/bin/pasta
package: passt-0^20231230.gf091893-1.fc39.x86_64
version: |
pasta 0^20231230.gf091893-1.fc39.x86_64
Copyright Red Hat
GNU General Public License, version 2 or later
<https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
remoteSocket:
exists: true
path: /run/podman/podman.sock
security:
apparmorEnabled: false
capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
rootless: false
seccompEnabled: true
seccompProfilePath: /usr/share/containers/seccomp.json
selinuxEnabled: false
serviceIsRemote: true
slirp4netns:
executable: /usr/bin/slirp4netns
package: slirp4netns-1.2.2-1.fc39.x86_64
version: |-
slirp4netns version 1.2.2
commit: 0ee2d87523e906518d34a6b423271e4826f71faf
libslirp: 4.7.0
SLIRP_CONFIG_VERSION_MAX: 4
libseccomp: 2.5.3
swapFree: 4294967296
swapTotal: 4294967296
uptime: 23h 18m 43.00s (Approximately 0.96 days)
variant: ""
plugins:
authorization: null
log:
- k8s-file
- none
- passthrough
- journald
network:
- bridge
- macvlan
- ipvlan
volume:
- local
registries:
search:
- docker.io
store:
configFile: /usr/share/containers/storage.conf
containerStore:
number: 1
paused: 0
running: 1
stopped: 0
graphDriverName: overlay
graphOptions:
overlay.mountopt: nodev,metacopy=on
graphRoot: /var/lib/containers/storage
graphRootAllocated: 1081101176832
graphRootUsed: 2789609472
graphStatus:
Backing Filesystem: extfs
Native Overlay Diff: "false"
Supports d_type: "true"
Supports shifting: "false"
Supports volatile: "true"
Using metacopy: "true"
imageCopyTmpDir: /var/tmp
imageStore:
number: 1
runRoot: /run/containers/storage
transientStore: false
volumePath: /var/lib/containers/storage/volumes
version:
APIVersion: 4.8.3
Built: 1704291100
BuiltTime: Wed Jan 3 22:11:40 2024
GitCommit: ""
GoVersion: go1.21.5
Os: linux
OsArch: linux/amd64
Version: 4.8.3Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
The issue was resolved after manually enabling the Event Logs service in Windows.
