Skip to content

Commit

Permalink
Workaround 1286602 - disable the nocow rules.
Browse files Browse the repository at this point in the history
Addressing
Cannot set file attribute for '/var/log/journal', value=0x00800000, mask=0x00800000: Operation not supported
  • Loading branch information
adelton committed Nov 30, 2015
1 parent e699660 commit b69d549
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ RUN set -e ; cd / ; mkdir /data-template ; cat /etc/volume-data-list | while rea
ADD volume-data-autoupdate /etc/volume-data-autoupdate
RUN rm -rf /var/log-removed
RUN sed -i 's!^d /var/log.*!L /var/log - - - - /data/var/log!' /usr/lib/tmpfiles.d/var.conf
# Workaround 1286602
RUN mv /usr/lib/tmpfiles.d/journal-nocow.conf /usr/lib/tmpfiles.d/journal-nocow.conf.disabled
RUN mv /data-template/etc/dirsrv/schema /usr/share/dirsrv/schema && ln -s /usr/share/dirsrv/schema /data-template/etc/dirsrv/schema
RUN echo 0.5 > /etc/volume-version
RUN uuidgen > /data-template/build-id
Expand Down

0 comments on commit b69d549

Please sign in to comment.