Hi there,
The Devuan v6.0 excalibur release of the `devuan/devuan:latest` container started causing my GitHub Actions for the Dorothy dotfile ecosystem
https://github.com/bevry/dorothy to fail. I've tracked it down to `/usr/sbin` having permissions 0777 which causes the openssh-client dependency of git to fail to install. Doing `chmod o-w /usr/sbin` resolves the failure.
You can verify it below:
docker run --rm -it devuan/devuan:latest bash
root@1b0eba5523a3:/# apt-get update
Get:1
http://deb.devuan.org/merged excalibur InRelease [48.0 kB]
root@1b0eba5523a3:/# apt-get install -y git
Setting up openssh-client (1:10.0p1-7) ...
Insecure directory in $ENV{PATH} while running with -T switch at /usr/share/perl5/Debian/AdduserLogging.pm line 161.
dpkg: error processing package openssh-client (--configure):
installed openssh-client package post-installation script subprocess returned error exit status 25
Errors were encountered while processing:
openssh-client
root@1b0eba5523a3:/# stat /usr/sbin
File: /usr/sbin
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 0,128 Inode: 22663 Links: 1
Access: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2025-11-07 12:44:41.539765134 +0000
Modify: 2025-11-07 12:44:04.020772808 +0000
Change: 2025-11-07 12:44:04.020772808 +0000
Birth: 2025-11-07 12:44:03.418782666 +0000
root@1b0eba5523a3:/# chmod o-w /usr/sbin
root@1b0eba5523a3:/# stat /usr/sbin
File: /usr/sbin
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 0,128 Inode: 22663 Links: 1
Access: (0775/drwxrwxr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2025-11-07 12:44:41.539765134 +0000
Modify: 2025-11-07 12:44:04.020772808 +0000
Change: 2025-11-07 12:44:59.292608274 +0000
Birth: 2025-11-07 12:44:03.418782666 +0000
root@1b0eba5523a3:/# apt-get install -y git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.47.3-0+deb13u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openssh-client (1:10.0p1-7) ...
Originally posted on the Devuan forum:
https://dev1galaxy.org/viewtopic.php?pid=59262#p59262
Regards,
Benjamin Lupton