diff options
author | Fedja Beader <specing@contact.me.on.irc.freenode.net> | 2013-08-06 00:27:30 +0200 |
---|---|---|
committer | Fedja Beader <specing@contact.me.on.irc.freenode.net> | 2013-08-06 00:27:30 +0200 |
commit | 6b0ffd31035ddf6907dcf513afda9975ef425d02 (patch) | |
tree | 3f11a85ac314e3f7533eadfc94a4d42d7c052e46 /init.d | |
parent | 1c94d793c025b763429e4bd006a78cfb2945ebb3 (diff) |
Fix Permission Denied on reading dmesg in an LXC container
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/bootmisc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index 565f6f21..a7e54a7c 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -190,7 +190,7 @@ start() if yesno $log_dmesg; then if $logw || checkpath -W /var/log; then # Create an 'after-boot' dmesg log - if [ "$RC_SYS" != VSERVER -a "$RC_SYS" != OPENVZ ]; then + if [ "$RC_SYS" != VSERVER -a "$RC_SYS" != OPENVZ -a "$RC_SYS" != LXC ]; then dmesg > /var/log/dmesg chmod 640 /var/log/dmesg fi |