[Bug 2083618] [NEW] bson2json opens files in text mode

2024-10-03 Thread Erik Carstensen
Public bug reported: /usr/bin/bson2json opens the input file in text mode: ifh = open(sys.argv[1]) This inevitably causes the tool to crash, e.g.: ``` /tmp$ echo '{}' >x.json /tmp$ json2bson x.json >x.bson /tmp$ bson2json x.bson Traceback (most recent call last): File "/usr/bin/bson2json"

[Bug 509180] Re: ecryptfs sometimes seems to add trailing garbage to encrypted files

2011-05-06 Thread Erik Carstensen
> What about the damage that's already been done to files The damage is temporary and disappears as soon as you unmount the ecryptfs volume, unless you for some reason read the file and write it back to disk. I wrote a script that fixes up git objects broken by this bug: https://bugs.launchpad.n

[Bug 680391] Re: gedit adds extra newlines when a CR/LF pair crosses a 8k boundary

2010-11-23 Thread Erik Carstensen
** Attachment added: "Example file where this happens" https://bugs.launchpad.net/bugs/680391/+attachment/1742309/+files/64.txt -- gedit adds extra newlines when a CR/LF pair crosses a 8k boundary https://bugs.launchpad.net/bugs/680391 You received this bug notification because you are a mem

[Bug 680391] [NEW] gedit adds extra newlines when a CR/LF pair crosses a 8k boundary

2010-11-23 Thread Erik Carstensen
Public bug reported: Binary package hint: gedit When opening a file where a CR/LF pair occurs across an 8k boundary (i.e., the CR is on character 0x2000 * n -1 and the LF is on character 0x2000 * n), then gedit reads it as two newlines. Using standard lucid gedit: Architecture: amd64 Version: 2.

[Bug 509180] Re: ecryptfs sometimes seems to add trailing garbage to encrypted files

2010-07-14 Thread Erik Carstensen
One painful workaround is to not touch the file and remount the ecryptfs partition (which usually means that you have to log out and re-login). Another workaround is to use a script that I just wrote, which automatically tries to drop the trailing garbage (kind of like the link you posted, but aut

[Bug 509180] Re: ecryptfs sometimes seems to add trailing garbage to encrypted files

2010-06-22 Thread Erik Carstensen
I got this traceback in syslog today, together with a different set of symptoms (no signs of padded files, but a process is helplessly hung; when I try to inspect the process with gdb or strace they hang too and must be SIGKILL:ed. And I cannot suspend). ecryptfs appears in the traceback so I thoug

[Bug 509180] Re: ecryptfs sometimes seems to add trailing garbage to encrypted files

2010-06-21 Thread Erik Carstensen
I got the same problem again today, with a new lucid kernel. uname -a Linux ockeghem 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux The following error message is probably related: Jun 21 14:22:07 ockeghem kernel: [191186.234951] ecryptfs_read_and_validate_header_

[Bug 556255] Re: unlock screen -dialog comes up twice

2010-06-08 Thread Erik Carstensen
It still happens for me after those updates. -- unlock screen -dialog comes up twice https://bugs.launchpad.net/bugs/556255 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https:/

[Bug 509180] Re: ecryptfs sometimes seems to add trailing garbage to encrypted files

2010-05-17 Thread Erik Carstensen
The above data was posted with my current kernel, which is the standard one from karmic. With this setup the problem still happens. I will upgrade to lucid shortly, we'll see if the problem still exists there. -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.lau

[Bug 509180] XsessionErrors.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "XsessionErrors.txt" http://launchpadlibrarian.net/48608592/XsessionErrors.txt ** Changed in: linux (Ubuntu) Status: Incomplete => New ** Tags added: apport-collected -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.ne

[Bug 509180] Lsusb.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "Lsusb.txt" http://launchpadlibrarian.net/48608575/Lsusb.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 509180] UdevDb.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "UdevDb.txt" http://launchpadlibrarian.net/48608584/UdevDb.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 509180] ProcInterrupts.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "ProcInterrupts.txt" http://launchpadlibrarian.net/48608579/ProcInterrupts.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which i

[Bug 509180] WifiSyslog.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "WifiSyslog.txt" http://launchpadlibrarian.net/48608588/WifiSyslog.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subscr

[Bug 509180] RfKill.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "RfKill.txt" http://launchpadlibrarian.net/48608582/RfKill.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 509180] UdevLog.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "UdevLog.txt" http://launchpadlibrarian.net/48608586/UdevLog.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 509180] PciMultimedia.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "PciMultimedia.txt" http://launchpadlibrarian.net/48608577/PciMultimedia.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 509180] ProcModules.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "ProcModules.txt" http://launchpadlibrarian.net/48608580/ProcModules.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 509180] ProcCpuinfo.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "ProcCpuinfo.txt" http://launchpadlibrarian.net/48608578/ProcCpuinfo.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 509180] Lspci.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "Lspci.txt" http://launchpadlibrarian.net/48608574/Lspci.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 509180] IwConfig.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "IwConfig.txt" http://launchpadlibrarian.net/48608573/IwConfig.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 509180] CurrentDmesg.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "CurrentDmesg.txt" http://launchpadlibrarian.net/48608572/CurrentDmesg.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is su

[Bug 509180] Card0.Codecs.codec.1.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "Card0.Codecs.codec.1.txt" http://launchpadlibrarian.net/48608571/Card0.Codecs.codec.1.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu B

[Bug 509180] Card0.Amixer.values.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "Card0.Amixer.values.txt" http://launchpadlibrarian.net/48608569/Card0.Amixer.values.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bug

[Bug 509180] AlsaDevices.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "AlsaDevices.txt" http://launchpadlibrarian.net/48608535/AlsaDevices.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 509180] Card0.Codecs.codec.0.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "Card0.Codecs.codec.0.txt" http://launchpadlibrarian.net/48608570/Card0.Codecs.codec.0.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu B

[Bug 509180] BootDmesg.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "BootDmesg.txt" http://launchpadlibrarian.net/48608568/BootDmesg.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is subscrib

[Bug 509180] apport-collect data

2010-05-17 Thread Erik Carstensen
Architecture: amd64 ArecordDevices: List of CAPTURE Hardware Devices card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/control

[Bug 509180] AplayDevices.txt

2010-05-17 Thread Erik Carstensen
** Attachment added: "AplayDevices.txt" http://launchpadlibrarian.net/48608536/AplayDevices.txt -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/509180 You received this bug notification because you are a member of Ubuntu Bugs, which is su

[Bug 509180] Re: ecryptfs sometimes seems to add trailing garbage to encrypted files

2010-04-09 Thread Erik Carstensen
Do you know of any way to remount an ecryptfs mount without first having to log out? That would suffice as a workaround most of the time, and would make this bug a lot less annoying for me. -- ecryptfs sometimes seems to add trailing garbage to encrypted files https://bugs.launchpad.net/bugs/5091