[bzr] error when encountering large file

Bug #1058301 reported by C de-Avillez
48
This bug affects 11 people
Affects Status Importance Assigned to Milestone
etckeeper (Ubuntu)
Triaged
High
Unassigned
Nominated for Precise by Robie Basak

Bug Description

ran an dist-upgrade, got the following at the end:

ldconfig deferred processing now taking place
bzr: warning: skipping /etc/X11/core (larger than add.maximum_file_size of 20000000 bytes)
Committing to: /etc/
bzr: ERROR: No changes to commit. Please 'bzr add' the files you want to commit, or use --unchanged to force an empty commit.
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi'
E: Sub-process returned an error code

a 'sudo bzr status' on /etc shows:

[cerdea-aws]cerdea@xango3:/etc/etckeeper/post-install.d$ sudo bzr status
[sudo] password for cerdea:
unknown:
  X11/core

From previous experience, if I remove /etc/X11/core, there is no error. So it seems the coredump written by X mucks with etckeeper processing. Still, etckeeper should survive it (mostly because the coredump is being written to /etc/X11 by X itself).

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: etckeeper 0.61ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-16.24-generic 3.5.4
Uname: Linux 3.5.0-16-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.5.3-0ubuntu1
Architecture: amd64
CheckboxSubmission: c8a7d84e13c3b258e707f056604eb0e0
CheckboxSystem: d00f84de8a555815fa1c4660280da308
Date: Fri Sep 28 14:32:23 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120701)
PackageArchitecture: all
SourcePackage: etckeeper
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
C de-Avillez (hggdh2) wrote :
summary: - error is displayed if there are no changes to commit on post-install
+ error is displayed if no changes are good to commit on post-install
Revision history for this message
James Page (james-page) wrote : Re: error is displayed if no changes are good to commit on post-install

This might actually be a behavioural change in bzr which is impacting into etckeeper.

Revision history for this message
Robie Basak (racb) wrote :

Confirmed. Reproducable by creating a large file in /etc and then running a suitable operation (I used "apt-get install hello").

Changed in etckeeper (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Robie Basak (racb) wrote :

Affects:

Precise:
bzr 2.5.1-0ubuntu2
etckeeper 0.61ubuntu2

Quantal:
bzr 2.6.0~beta2-0ubuntu1
etckeeper 0.61ubuntu2

Jelmer Vernooij (jelmer)
summary: - error is displayed if no changes are good to commit on post-install
+ [bzr] error when encountering large file
Revision history for this message
Kevin Cole (kjcole) wrote :

As a temporary work around just manually add

X11/core

to the end of /etc/.bzrignore

Yes?

(On my system, nothing else in /etc comes anywhere near the size of /etc/X11/core. So, that's likely to be the only file tripping this error for a while.)

Revision history for this message
Semo (semox78) wrote :

Please FIX it.

I have the same error here on Ubuntu 14.04 LTS:

bzr: warning: Überspringe /etc/X11/core (Größer als add.maximum_file_size von 20000000 Bytes)

Translation: Ignoring [file] (larger than [Attribute name] of 20MiB )

It happens after updating the OS. This bug is now 2 years old! Isn't there anybody able to repair it?
Because I'm not. If possible I'd try it, but I even dunno how to test for several systems and so on.

Thanks and regards,
Semo

Revision history for this message
Chuck Torrens (hockeybum27) wrote :

I have the same issue after upgrading from 12.04 to 14.041 x64 bit.

Is it concerning that /etc/X11/core is so large?
If so, is it indicative of a problem with X11?
Is it a bug in bzr?

I am going to try the workaround posted by kjcole (adding to .bzrignore).

Revision history for this message
Sorin Sbarnea (ssbarnea) wrote :

Any fixes for this? For some strange reason I do still see these warnings even if I manually added the paths to /etc/.bzrignore

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.