[Bug 565002] Re: ldopen failing with relative path when linux capability is set

2020-02-04 Thread Douglas Leeder
Looks like the change was in kernel 3.6: /proc/sys/fs/protected_hardlinks http://man7.org/linux/man-pages/man5/proc.5.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/565002 Title: ldopen failing

[Bug 565002] Re: ldopen failing with relative path when linux capability is set

2020-02-04 Thread Douglas Leeder
Certainly Tavis's original attack is impossible, since you can't create the hardlink: $ ln /bin/ping /tmp/target ln: failed to create hard link '/tmp/target' => '/bin/ping': Operation not permitted I don't know when the change was made to prevent hard-linking files the user doesn't own, but

[Bug 565002] Re: ldopen failing with relative path when linux capability is set

2020-02-04 Thread Douglas Leeder
This is the commit that added the protection: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=800179c9b8a1e796e441674776d11cd4c05d61d7 Ubuntu must turn it on by default. The risk, without that kernel option turned on, is: 1. High priv (setuid etc) binary with

[Bug 565002] Re: ldopen failing with relative path when linux capability is set

2020-01-31 Thread Douglas Leeder
I've managed to hack something together for a launcher: https://github.com/paperclip/origin_experiment/tree/launcher The main pain point is that you have to put the permission in both the inheritable set, and the ambient set before it'll get passed to the new process (that can use $ORIGIN). --

[Bug 565002] Re: ldopen failing with relative path when linux capability is set

2020-01-31 Thread Douglas Leeder
I've created a git repo to reproduce this issue without using ldopen: https://github.com/paperclip/origin_experiment However it now looks like this might be deliberate behaviour: https://seclists.org/fulldisclosure/2010/Oct/257 Tavis says that expanding $ORIGIN allows attacks against SUID

[Bug 565002] Re: ldopen failing with relative path when linux capability is set

2020-01-30 Thread Douglas Leeder
I have something very similar on Ubuntu 18.04 where the RUNPATH in the binary isn't working for normal linking. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/565002 Title: ldopen failing with

[Bug 1709554] Re: package linux-image-4.4.0-89-generic (not installed) failed to install/upgrade: unable to clean up mess surrounding './boot/config-4.4.0-89-generic' before installing another version

2017-08-09 Thread Douglas Leeder
apt-get -f install worked once I'd remounted /boot I guess it would be nicer to report the problem more clearly, but I've resolved it for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1709554

[Bug 1709554] [NEW] package linux-image-4.4.0-89-generic (not installed) failed to install/upgrade: unable to clean up mess surrounding './boot/config-4.4.0-89-generic' before installing another versi

2017-08-09 Thread Douglas Leeder
Public bug reported: apt upgrade - not sure what failed. Errors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-89-generic_4.4.0-89.112_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) # lsb_release -rd Description:Ubuntu 16.04.3 LTS Release:

[Bug 1709554] Re: package linux-image-4.4.0-89-generic (not installed) failed to install/upgrade: unable to clean up mess surrounding './boot/config-4.4.0-89-generic' before installing another version

2017-08-09 Thread Douglas Leeder
[38464.903593] EXT4-fs error (device sda5): ext4_find_entry:1450: inode #2: comm dpkg: reading directory lblock 0 [38464.974734] EXT4-fs error (device sda5): ext4_find_entry:1450: inode #2: comm postrm: reading directory lblock 0 [38464.974881] EXT4-fs error (device sda5): ext4_find_entry:1450:

[Bug 1709554] Re: package linux-image-4.4.0-89-generic (not installed) failed to install/upgrade: unable to clean up mess surrounding './boot/config-4.4.0-89-generic' before installing another version

2017-08-09 Thread Douglas Leeder
I'm not sure what happened - maybe sda became sdb during a hibernate/sleep cycle? umount/e2fsck/mount seems to have mounted rw, and I'm now trying the install again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1709554] Re: package linux-image-4.4.0-89-generic (not installed) failed to install/upgrade: unable to clean up mess surrounding './boot/config-4.4.0-89-generic' before installing another version

2017-08-09 Thread Douglas Leeder
/dev/sda5 on /boot type ext4 (ro,relatime,data=ordered) Does look like /boot is mounted ro - but I don't remember doing that explicitly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1709554 Title:

[Bug 52534] Re: @ sign (ASCII 64) received via synergy transformed into Ω (unicode 03A9) on output

2012-08-24 Thread Douglas Leeder
Still in 12.04 as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/52534 Title: @ sign (ASCII 64) received via synergy transformed into Ω (unicode 03A9) on output To manage

[Bug 52534] Re: @ sign (ASCII 64) received via synergy transformed into Ω (unicode 03A9) on output

2012-08-24 Thread Douglas Leeder
Work around from superuser: http://superuser.com/questions/77734 /synergy-linux-keyboard-problem xmodmap -e keycode 24 = q Q at at at at on the client. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report.

[Bug 985661] Re: High load average

2012-08-01 Thread Douglas Leeder
Any idea when it will go for general release? I'm looking forward to having useful load averages again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/985661 Title: High load average To manage

[Bug 704231] Re: Unity blocks other programs from receiving super key-press events.

2012-05-14 Thread Douglas Leeder
I can still reproduce the issue: Setup synergy with the Ubuntu 12.04 machine as master, Windows 7 machine as slave. super set as Key to show the launcher in CompizConfig Settings Manager. (default) Go onto the Windows desktop. Press the Windows key (super). Windows start menu displayed.

[Bug 985661] Re: High load average

2012-05-04 Thread Douglas Leeder
Looking at the 3.2.0-22 changelog: '* Revert sched: tg-se-load should be initialised to tg-shares' looks to me like it could be a candidate for the cause? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 798023] Re: apt-get update fails with error 416 Requested Range Not Satisfiable

2011-06-16 Thread Douglas Leeder
One way around the problem might be to change your sources.list to a different country, so that apt-get is forced to download the whole file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/798023

[Bug 607966] [NEW] package openjdk-6-jre-headless 6b18-1.8-0ubuntu2 failed to install/upgrade: corrupted filesystem tarfile - corrupted package archive

2010-07-20 Thread Douglas Leeder
Public bug reported: Just installing updates. $ lsb_release -rd Description:Ubuntu 10.04.1 LTS Release:10.04 $ apt-cache policy openjdk-6-jre-headless openjdk-6-jre-headless: Installed: 6b18-1.8-0ubuntu2 Candidate: 6b18-1.8-4ubuntu3 Version table: 6b18-1.8-4ubuntu3 0

[Bug 607966] Re: package openjdk-6-jre-headless 6b18-1.8-0ubuntu2 failed to install/upgrade: corrupted filesystem tarfile - corrupted package archive

2010-07-20 Thread Douglas Leeder
** Attachment added: AptOrdering.txt http://launchpadlibrarian.net/52228497/AptOrdering.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/52228498/Dependencies.txt ** Attachment added: Df.txt http://launchpadlibrarian.net/52228499/Df.txt ** Attachment added: