Activity log for bug #1652622

Date Who What changed Old value New value Message
2016-12-26 14:03:01 codywohlers bug added bug
2016-12-26 14:04:43 codywohlers description Docker image `ubuntu:16.04` (docker-brew-ubuntu), which pulls from partner-images, has a default `/etc/cron.weekly` entry. Therefore if you install `cron` then fstrim is run every week and produces the following errors in a docker container: `$ docker run -ti -v tmp:/tmp2 ubuntu:16.04 /sbin/fstrim --all fstrim: /etc/hosts: not a directory fstrim: /etc/hostname: not a directory fstrim: /etc/resolv.conf: not a directory fstrim: /tmp2: FITRIM ioctl failed: Operation not permitted` I think the `/etc/cron.weekly/fstrim` entry should be removed from the image so that if you install cron it is not run. Also, should `/sbin/fstrim` even be included at all? (It is part of linux-utils) References: docker-brew-ubuntu github issue 72: https://github.com/tianon/docker-brew-ubuntu-core/issues/72 serverfault question 820169: http://serverfault.com/questions/820169/should-i-be-running-fstrim-in-a-container/ Docker image ubuntu:16.04 (docker-brew-ubuntu), which pulls from partner-images, has a default /etc/cron.weekly entry. Therefore if you install cron then fstrim is run every week and produces the following errors in a docker container: $ docker run -ti -v tmp:/tmp2 ubuntu:16.04 /sbin/fstrim --all fstrim: /etc/hosts: not a directory fstrim: /etc/hostname: not a directory fstrim: /etc/resolv.conf: not a directory fstrim: /tmp2: FITRIM ioctl failed: Operation not permitted I think the `/etc/cron.weekly/fstrim` entry should be removed from the image so that if you install cron it is not run. Also, should `/sbin/fstrim` even be included at all? (It is part of linux-utils) References: docker-brew-ubuntu github issue 72: https://github.com/tianon/docker-brew-ubuntu-core/issues/72 serverfault question 820169: http://serverfault.com/questions/820169/should-i-be-running-fstrim-in-a-container/
2016-12-26 14:05:24 codywohlers description Docker image ubuntu:16.04 (docker-brew-ubuntu), which pulls from partner-images, has a default /etc/cron.weekly entry. Therefore if you install cron then fstrim is run every week and produces the following errors in a docker container: $ docker run -ti -v tmp:/tmp2 ubuntu:16.04 /sbin/fstrim --all fstrim: /etc/hosts: not a directory fstrim: /etc/hostname: not a directory fstrim: /etc/resolv.conf: not a directory fstrim: /tmp2: FITRIM ioctl failed: Operation not permitted I think the `/etc/cron.weekly/fstrim` entry should be removed from the image so that if you install cron it is not run. Also, should `/sbin/fstrim` even be included at all? (It is part of linux-utils) References: docker-brew-ubuntu github issue 72: https://github.com/tianon/docker-brew-ubuntu-core/issues/72 serverfault question 820169: http://serverfault.com/questions/820169/should-i-be-running-fstrim-in-a-container/ Docker image `ubuntu:16.04` (docker-brew-ubuntu), which pulls from partner-images, has a default `/etc/cron.weekly` entry. Therefore if you install cron then fstrim is run every week and produces the following errors in a docker container: $ docker run -ti -v tmp:/tmp2 ubuntu:16.04 /sbin/fstrim --all fstrim: /etc/hosts: not a directory fstrim: /etc/hostname: not a directory fstrim: /etc/resolv.conf: not a directory fstrim: /tmp2: FITRIM ioctl failed: Operation not permitted I think the `/etc/cron.weekly/fstrim` entry should be removed from the image so that if you install cron it is not run. Also, should `/sbin/fstrim` even be included at all? (It is part of linux-utils) References: docker-brew-ubuntu github issue 72: https://github.com/tianon/docker-brew-ubuntu-core/issues/72 serverfault question 820169: http://serverfault.com/questions/820169/should-i-be-running-fstrim-in-a-container/
2016-12-26 14:06:30 codywohlers tags container cron docker fstrim linux-util partner-images container cron docker fstrim linux-utils partner-images
2017-06-04 08:46:04 Mitar bug added subscriber Mitar
2019-08-20 14:21:00 Eric Desrochers marked as duplicate 1589289