gliderlabs / gliderlabs/docker-alpine

cannot remove cron directory

Open
#489 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
5.7k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

docker run -it alpine:3.9 (also seems to effect earlier versions including 3.7)

```
/ # ls -lah /var/spool
total 12
drwxr-xr-x 3 root root 4.0K Jan 30 02:54 .
drwxr-xr-x 11 root root 4.0K Jan 30 02:54 ..
drwxr-xr-x 2 root root 4.0K Jan 30 02:54 cron
/ # ls -lah /var/spool/cron/
total 8
drwxr-xr-x 2 root root 4.0K Jan 30 02:54 .
drwxr-xr-x 3 root root 4.0K Jan 30 02:54 ..
lrwxrwxrwx 1 root root 13 Jan 30 02:54 crontabs -> /etc/crontabs
```

```
/ # rm -rf /var/spool/cron
rm: can't remove '/var/spool/cron': Invalid argument
```
From that point im left at a have working shell with just
`>
`
and cannot do much

Also deleting the crontabs doesnt seem to make any difference

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.