Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144343 - =app-misc/beep-1.3-r1: stabilisation request
Summary: =app-misc/beep-1.3-r1: stabilisation request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2006-08-18 11:22 UTC by BakaOhKi
Modified: 2016-05-20 20:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BakaOhKi 2006-08-18 11:22:41 UTC
While 1.2.2 is fine, the r1 version doesn't seem to be working: it beeps a standard bell, but frequency and timeout does nothing.Reverting back to 1.2.2. solves the problem.

Emerge --info:
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/default /etc/env.d /etc/gconf /etc/init.d /etc/openldap /etc/revdep-rebuild /etc/sound/events /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="hu_HU"
LC_ALL="hu_HU"
LINGUAS="hu en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac alsa audiofile avi berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr cjk cli crypt cups dlloader dri dts dv dvd dvdr dvdread eds emboss encode exif fame ffmpeg flac foomaticdb fortran gif gimpprint gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib ipv6 isdnlog joystick jpeg jpeg2k kdeenablefinal lcms lirc lzo lzw lzw-tiff mad matroska mjpeg mng mod mp3 mpeg musepack musicbrainz ncurses nls nptl nvidia ogg opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session sndfile speex spell spl ssl svg tcpd tga theora tiff truetype truetype-fonts type1-fonts udev usb v4l v4l2 vcd vorbis wmf xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux linguas_hu linguas_en lirc_devices_leadtek_0010 userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin von Gagern 2007-02-24 01:41:56 UTC
I guess this is because r1 no longer installs the binary suid root, and all a unprivileged user on an xterm or remote terminal can do is echo the bell character, which gives you no control over frequency and duration.

I'm all for adding a suid USE flag and just submitted bug 168201 for this.
In the meanwhile, have a look at the beep man page and run this command:
chmod 4711 /usr/bin/beep
but know that there might be security implications in doing so.
But you'll be off no worse than when reverting to 1.2.2.
Comment 2 Patrice Clement (RETIRED) gentoo-dev 2015-08-28 12:57:38 UTC
This bug should have been filed upstream in the first instance but anyway.

Arch teams, please proceed. 1.3 has been in the tree for a very long time.
Comment 3 Martin von Gagern 2015-08-28 20:27:22 UTC
The following is irrelevant for stabilization, and should belong on bug #168201. But since the following lines appeared in comment #2, I'm inclined to respond.

(In reply to Patrice Clement from comment #2)
> This bug should have been filed upstream in the first instance

This bug here should NOT have been reported upstream, because the problem is due to a Gentoo-specific patch, namely beep-1.2.2-nosuid.patch, which suppressed the relevant error message. The 1.3 version doesn't have this patch applied, resulting in an error message. For details see bug #168201.
Comment 4 Patrice Clement (RETIRED) gentoo-dev 2015-09-24 22:56:32 UTC
Stable for amd64+ppc+ppc64.
Comment 5 Agostino Sarubbo gentoo-dev 2015-09-25 14:30:44 UTC
x86 stable
Comment 6 Markus Meier gentoo-dev 2015-11-26 19:14:48 UTC
arm stable
Comment 7 Tobias Klausmann (RETIRED) gentoo-dev 2016-02-01 09:34:28 UTC
Stable on alpha.
Comment 8 Patrice Clement (RETIRED) gentoo-dev 2016-05-20 20:32:21 UTC
commit 97cf053bcb5d64aaaa8616d9f1791cc066f32fcd (HEAD -> master, origin/master, origin/HEAD)
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: Fri May 20 20:03:35 2016 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Fri May 20 20:03:54 2016 +0000

app-misc/beep: Stable for sparc using the ALLARCHES policy.

Gentoo-Bug: https://bugs.gentoo.org/144343

Package-Manager: portage-2.2.28

app-misc/beep/beep-1.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)