Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485348 - lxde-base/lxtask - sandbox violation in /codeset.m4 by rm -f /codeset.m4
Summary: lxde-base/lxtask - sandbox violation in /codeset.m4 by rm -f /codeset.m4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LXDE team (DEFUNCT)
URL:
Whiteboard:
Keywords:
: 485410 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-18 22:13 UTC by Bryan Green
Modified: 2013-09-24 01:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,7.85 KB, text/x-log)
2013-09-19 06:28 UTC, Bryan Green
Details
Patched lxtask (lxtask-0.1.4_p1.tar.gz,1.08 KB, application/octet-stream)
2013-09-19 19:28 UTC, Pavel Kazakov (RETIRED)
Details
Ebuild Diff (ebuild_diff,1015 bytes, patch)
2013-09-19 23:58 UTC, Pavel Kazakov (RETIRED)
Details | Diff
Sandbox Patch (lxtask-0.1.4-sandbox.patch,516 bytes, patch)
2013-09-20 00:01 UTC, Pavel Kazakov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Green 2013-09-18 22:13:54 UTC
emerge of lxde-base/lxtask-0.1.4 fails with access violation


Reproducible: Always

Steps to Reproduce:
1. emerge lxde-meta
2.
3.



Same as recent lxpanel problem, #482028

Portage 2.2.6 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.10.10-gentoo x86_64)
=================================================================
System uname: Linux-3.10.10-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.2
KiB Mem:     3983148 total,   1560948 free
KiB Swap:    4200992 total,   3700044 free
Timestamp of tree: Wed, 18 Sep 2013 21:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x googleearth Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 archive bash-completion berkdb bluetooth branding bzip2 c++0x cairo cdda cdr cli colord corefonts cracklib crypt cryptsetup cscope cups cxx dbus dri dts dvd dvdr eds emboss emerald encode evo exif fam ffmpeg firefox flac fortran fuse gconf gdbm gdu gif gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk iconv introspection ios ipod ipv6 jabber java jpeg lcms ldap libnotify libsecret mad mmx mng modemmanager modules mp3 mp4 mpeg mtp mudflap multilib nautilus ncurses networkmanager nls nptl nss ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell sse sse2 ssl startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upower usb vaapi vdpau vim vim-syntax vorbis wifi wxwidgets x264 xcb xinerama xml xv xvid youtube zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Bryan Green 2013-09-19 06:28:58 UTC
Created attachment 358966 [details]
build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-19 14:20:11 UTC
*** Bug 485410 has been marked as a duplicate of this bug. ***
Comment 3 Pavel Kazakov (RETIRED) gentoo-dev 2013-09-19 19:28:07 UTC
Created attachment 359050 [details]
Patched lxtask

Here is the fix. The tar archive contains the ebuild and 2 patches; one for adding AC_CONFIG_MACRO_DIR([m4]) to configure.ac and one for adding ACLOCAL_AMFLAGS= -I m4 to Makefile.am. 

I'll also contact upstream with the fix.

Any feedback is welcome.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2013-09-19 21:23:19 UTC
(In reply to Pavel Kazakov from comment #3)
> Created attachment 359050 [details]
> Patched lxtask
> 
> Here is the fix. The tar archive contains the ebuild and 2 patches; one for
> adding AC_CONFIG_MACRO_DIR([m4]) to configure.ac and one for adding
> ACLOCAL_AMFLAGS= -I m4 to Makefile.am. 
> 
> I'll also contact upstream with the fix.
> 
> Any feedback is welcome.

-r1 is preferred compared to _p1 because this is a Gentoo revision and not an upstream patchset on top of 0.1.4

It would also be nice to combine both patches into a single patch since both aim to fix the same problem.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2013-09-19 21:24:08 UTC
(In reply to Markos Chandras from comment #4)
> (In reply to Pavel Kazakov from comment #3)
> > Created attachment 359050 [details]
> > Patched lxtask
> > 
> > Here is the fix. The tar archive contains the ebuild and 2 patches; one for
> > adding AC_CONFIG_MACRO_DIR([m4]) to configure.ac and one for adding
> > ACLOCAL_AMFLAGS= -I m4 to Makefile.am. 
> > 
> > I'll also contact upstream with the fix.
> > 
> > Any feedback is welcome.
> 
> -r1 is preferred compared to _p1 because this is a Gentoo revision and not
> an upstream patchset on top of 0.1.4
> 
> It would also be nice to combine both patches into a single patch since both
> aim to fix the same problem.

Oh and please try to attach files (and ebuild diffs instead of complete ebuilds) instead of tarballs. Makes the review much easier and faster ;)
Comment 6 Pavel Kazakov (RETIRED) gentoo-dev 2013-09-19 23:58:49 UTC
Created attachment 359074 [details, diff]
Ebuild Diff

> Oh and please try to attach files (and ebuild diffs instead of complete
> ebuilds) instead of tarballs. Makes the review much easier and faster ;)

Thanks for the feedback :)

Here's round 2. Attaching ebuild diff.
Comment 7 Pavel Kazakov (RETIRED) gentoo-dev 2013-09-20 00:01:23 UTC
Created attachment 359078 [details, diff]
Sandbox Patch

Attaching patch
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2013-09-23 19:36:21 UTC
Any luck with contacting upstream about that?
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2013-09-23 19:39:56 UTC
+*lxtask-0.1.4-r1 (23 Sep 2013)
+
+  23 Sep 2013; Markos Chandras <hwoarang@gentoo.org>
+  +files/lxtask-0.1.4-sandbox.patch, +lxtask-0.1.4-r1.ebuild:
+  Add patch to fix sandbox violations. Bug #485348. Thanks to Pavel Kazakov
+  <nullishzero@gmail.com>
+
Comment 10 Pavel Kazakov (RETIRED) gentoo-dev 2013-09-24 01:09:40 UTC
(In reply to Markos Chandras from comment #8)
> Any luck with contacting upstream about that?

Was waiting for the final go-ahead before sending it upstream.

Issue has been noted on the upstream bugtracker[1].

1) http://sourceforge.net/tracker/?func=detail&aid=3615048&group_id=180858&atid=894869