[Bug 1518386] [NEW] RDC can't restore to previous session

2015-11-20 Thread Mikhail Kulinich
Public bug reported: I followed the proposal from https://bugs.launchpad.net/gnome- session/+bug/1251281 and updated my Ubuntu 14.04 installation with workarounds for accessing Ubuntu desktop using Windows 7 RDC. Also, I use xrdp on Ubuntu. I expect that when I just close Windows 7 RDC, my Ubuntu

[Bug 942060] [NEW] OpenSSL 0.9.8k seg. faults

2012-02-27 Thread Mikhail Kulinich
Public bug reported: I observe wrong behavior of OpenSSL library in error cases. I.e. when trying to convert DER encoded (malformed in fact) public key into internal OpenSSL structures I get core dump of the whole application. But it seems, it is applicable only in multi threaded environment. The

[Bug 942060] Re: OpenSSL 0.9.8k seg. faults

2012-02-27 Thread Mikhail Kulinich
** Attachment added: "The test case to reproduce core dump" https://bugs.launchpad.net/bugs/942060/+attachment/2788242/+files/d2i.cc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/942060 Title: Op

[Bug 794202] Re: It is not possible to set capabilities on large file (>2Gb ?)

2011-06-17 Thread Mikhail Kulinich
Serge, such a big executable is a hard work of dozen designers during last 15 years. For the moment, it is much easier/cheaper to fix libcap2 than refactor this application. :-( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 794202] Re: It is not possible to set capabilities on large file (>2Gb ?)

2011-06-17 Thread Mikhail Kulinich
Hi, Unfortunately, I am not able to test my changes in different environments, but it works at least at Ubuntu 10.04 x86. Also, I found a script with tests inside libcap2 sources and all of them are passed. So, when the fix can be expected in Ubuntu repository for regular updates? -- You rece

[Bug 794026] Re: bind to port less than 1024 by non-root user

2011-06-09 Thread Mikhail Kulinich
Thanks again for your help. Nice article. Put more light on my understanding. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/794026 Title: bind to port less than 1024 by non-root user To manage noti

[Bug 794202] Re: It is not possible to set capabilities on large file (>2Gb ?)

2011-06-09 Thread Mikhail Kulinich
Serge, I am not sure that patch is correct for all cases (GCC versions, Libc etc). >From my point of view, all system calls/data structures for working with FS >should be replaced by *64 analogs if available. -- You received this bug notification because you are a member of Ubuntu Bugs, which i

[Bug 794202] Re: It is not possible to set capabilities on large file (>2Gb ?)

2011-06-08 Thread Mikhail Kulinich
I have tried to recompile libcap2 with compile-time flags for large files and it works for me. Diff is attached. # ./setcap 'cap_net_bind_service=+ep' /tmp/prog.x # ./getcap /tmp/prog.x /tmp/prog.x = cap_net_bind_service+ep ** Patch added: "Fix for large files (> 2Gb)" https://bugs.launchpa

[Bug 794202] Re: It is not possible to set capabilities on large file (>2Gb ?)

2011-06-07 Thread Mikhail Kulinich
Just checked the source code of setcap and found that it does not support large files. Consider the following code in cap_file.c/cap_set_file: ... struct stat buf; if (lstat(filename, &buf) != 0) { _cap_debug("unable to stat file [%s]", filename); return -1; } ... If

[Bug 794202] Re: It is not possible to set capabilities on large file (>2Gb ?)

2011-06-07 Thread Mikhail Kulinich
Yes, sure. Also, I am using linux kernel with PAE support, because I have 8Gb of RAM and want it all available on my 32-bit Ubuntu installation: ii linux-generic-pae2.6.32.29.35 # strace setcap 'cap_net_bind_service=+ep' /tmp/prog.x execve("/sbin/setcap", ["setcap", "cap_ne

[Bug 794202] Re: It is not possible to set capabilities on large file (>2Gb ?)

2011-06-07 Thread Mikhail Kulinich
Filesystem is ext4. $ df -h /tmp FilesystemSize Used Avail Use% Mounted on /dev/sda6 207G 26G 171G 14% / $ mount /dev/sda6 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) none on /

[Bug 794026] Re: bind to port less than 1024 by non-root user

2011-06-07 Thread Mikhail Kulinich
Thanks for your effort. It is so pity that there is no such a simple way to do that. For instance, in Solaris 10 you can launch 'usermod -K defaultpriv=basic,net_privaddr $USER_NAME' command to get expected behavior. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 794026] Re: bind to port less than 1024 by non-root user

2011-06-07 Thread Mikhail Kulinich
If it is so, I am not able to bind on these ports at all. The only way I found is to use setcap which also does not work in my case (https://bugs.launchpad.net/ubuntu/+source/libcap2/+bug/794202). Could you propose any other way? I need to launch an application (which binds to low ports) with the

[Bug 794202] [NEW] It is not possible to set capabilities on large file (>2Gb ?)

2011-06-07 Thread Mikhail Kulinich
Public bug reported: Binary package hint: libcap2 OS: Ubuntu 10.04.2 + latest updates # apt-cache policy libcap2-bin libcap2-bin: Installed: 1:2.17-2ubuntu1 Candidate: 1:2.17-2ubuntu1 setcap utility is not able to set capability on large file: # setcap 'cap_net_bind_service=+ep' /tmp/prog

[Bug 794026] [NEW] bind to port less than 1024 by non-root user

2011-06-07 Thread Mikhail Kulinich
Public bug reported: Binary package hint: apparmor I've created the following profile for my application (using logprof tool): -- # Last Modified: Thu May 19 14:09:16 2011 #include /tmp/test_lin_new.x flags=(complain) { #include #include

[Bug 482536] Re: assertion failed in X window system

2009-11-14 Thread Mikhail Kulinich
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/35679442/Dependencies.txt ** Attachment added: "ProcMaps.txt" http://launchpadlibrarian.net/35679443/ProcMaps.txt ** Attachment added: "ProcStatus.txt" http://launchpadlibrarian.net/35679444/ProcStatus.txt -- assert

[Bug 482536] [NEW] assertion failed in X window system

2009-11-14 Thread Mikhail Kulinich
Public bug reported: Description:Ubuntu 9.10 Release:9.10 ProblemType: Bug Architecture: i386 Date: Sat Nov 14 11:54:52 2009 DistroRelease: Ubuntu 9.10 ExecutablePath: /usr/bin/gnome-terminal InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5) NonfreeKernelModule