[gentoo-user] rsync script
Hi [EMAIL PROTECTED] 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ If i put this two lines in crontab it will run correctly,My requirement was to create a script, this script should indicate success or failures and the reason for failure Any ideas Thanks and Regards Kaushal
Re: [gentoo-user] rsync script
On Friday 21 March 2008, Kaushal Shriyan wrote: Hi [EMAIL PROTECTED] 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ If i put this two lines in crontab it will run correctly,My requirement was to create a script, this script should indicate success or failures and the reason for failure crontab will only send a mail is there is anyput to stdout. What output do you get if you run the rsync manually? Do you have any packages installed that can actually send the mail? -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] rsync script
On Fri, Mar 21, 2008 at 12:56 PM, Alan McKinnon [EMAIL PROTECTED] wrote: On Friday 21 March 2008, Kaushal Shriyan wrote: Hi [EMAIL PROTECTED] 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ If i put this two lines in crontab it will run correctly,My requirement was to create a script, this script should indicate success or failures and the reason for failure crontab will only send a mail is there is anyput to stdout. What output do you get if you run the rsync manually? Hi Alan When i run the rysnc command by hand, it runs successfully without any issues. I can see it on stdout saying building list files and then the rsync process Do you have any packages installed that can actually send the mail? I did not understand this question Thanks and Regards Kaushal -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] rsync script
Quoting Kaushal Shriyan [EMAIL PROTECTED]: On Fri, Mar 21, 2008 at 12:56 PM, Alan McKinnon [EMAIL PROTECTED] wrote: On Friday 21 March 2008, Kaushal Shriyan wrote: Hi [EMAIL PROTECTED] 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ Run rsync through a script that tests the exit value, then prints an error message if the exit value is not equal to 0 and nothing otherwise. Run the script from cron and it will send you an e-mail if there is a problem. In bash, $? is the exit value of the last command. This is a bit verbose, but you could put the following in rsync-host77.sh: #!/bin/bash TIMESTAMP=`date +%Y-%m-%d-%H:%M:%S:%N` rsync -av /bogus [EMAIL PROTECTED]:/bogus/ rsync-${TIMESTAMP}.log EXITVALUE=$? if [[ ${EXITVALUE} -ne 0 ]] then echo Error: rsync exited with status ${EXITVALUE} echo echo Please check the file rsync-${TIMESTAMP}.log for errors. fi To find exit values and their corresponding meanings, search for EXIT VALUES in http://www.linuxmanpages.com/man1/rsync.1.php Hope this helps, -Collin -- Collin Starkweather, Ph.D. http://www.linkedin.com/in/collinstarkweather -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Fusion-icon
/usr/bin/python is symlinked to python2.5 to my system too and nothing seems to be wrong... so this is done by the ebuild. AFAIK python versions are multi-slotted, e.g. I have versions 2.4.4-r8 and 2.5.1-r5 currently installed. Obviously, there must be some packages that rely on previous versions of python... Στις Πεμ 20 Μαρ 2008, ο/η Danis Petkakis έγραψε: well i seem to have without to my knowledge symlinked 'usr/bin/python /usr/bin/python2' to python-2.5...i corrected the symlink to point to python-2.4 and run 'python-updater' again and there were a lot of packages that were built again and now my problem is solved...thanks for your help...but could you tell me why it was a mistake to have symlinked the above to python-2.5?? On 20/03/2008, birbilis [EMAIL PROTECTED] wrote: I think this is the package you need: app-admin/python-updater. http://gentoo-portage.com/app-admin/python-updater Hope it helps, Στις Πεμ 20 Μαρ 2008, ο/η Danis Petkakis έγραψε: root@ ~ equery l python [ Searching for package 'python' in all categories among: ] * installed packages [I--] [ ] app-admin/python-updater-0.2 (0) [I--] [ ] dev-lang/python-2.4.4-r9 (2.4) [I--] [ ~] dev-python/compizconfig-python-0.6.0.1 (0) [I--] [ ] dev-python/dbus-python-0.80.2 (0) [I--] [ ] dev-python/python-docs-2.4.4 (2.4) [I--] [ ] dev-python/python-fchksum-1.7.1 (0) [I--] [ ] dev-python/qscintilla-python-2.1 (0) [I--] [ ] dev-python/wxpython-2.6.4.0-r1 (2.6) should i emerge all of this again?? how can i tell if i have other python modules installed?? On 19/03/2008, birbilis [EMAIL PROTECTED] wrote: Re-emerge dev-python/sip and probably all the python modules you have installed (?). There must be a script for this though i don't recall it Στις Τετ 19 Μαρ 2008, ο/η Danis Petkakis έγραψε: hello there...yesterday i did a major stupidity of mine...i accidentaly unmerged python and borked my system...i managed to get my system back to work but since then fusion-icon doesn't work...here is what i get when running it from konsole jrn23@ ~ fusion-icon * Detected Session: kde * Searching for installed applications... * NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING * Using the GTK Interface * /usr/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so: undefined symbol: PyUnicodeUCS4_FromObject ... Trying another interface * Using the Qt4 Interface * /usr/lib/python2.5/site-packages/sip.so: undefined symbol: PyUnicodeUCS4_AsWideChar ... Trying another interface * Using the Qt3 Interface * Interface not installed *** Error: All interfaces failed, aborting! could someone tell me how to solve this?? after the crash and after i recovered python in order to get 'emerge' to work i did 'emerge -vNuD world' and then 'revdep-rebuild' and re-emerged fusion-icon...what else should i do?? -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] rsync script
On Fri, Mar 21, 2008 at 2:03 PM, Collin Starkweather [EMAIL PROTECTED] wrote: Quoting Kaushal Shriyan [EMAIL PROTECTED]: On Fri, Mar 21, 2008 at 12:56 PM, Alan McKinnon [EMAIL PROTECTED] wrote: On Friday 21 March 2008, Kaushal Shriyan wrote: Hi [EMAIL PROTECTED] 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ Run rsync through a script that tests the exit value, then prints an error message if the exit value is not equal to 0 and nothing otherwise. Run the script from cron and it will send you an e-mail if there is a problem. In bash, $? is the exit value of the last command. This is a bit verbose, but you could put the following in rsync-host77.sh: #!/bin/bash TIMESTAMP=`date +%Y-%m-%d-%H:%M:%S:%N` rsync -av /bogus [EMAIL PROTECTED]:/bogus/ rsync-${TIMESTAMP}.log EXITVALUE=$? if [[ ${EXITVALUE} -ne 0 ]] then echo Error: rsync exited with status ${EXITVALUE} echo echo Please check the file rsync-${TIMESTAMP}.log for errors. fi To find exit values and their corresponding meanings, search for EXIT VALUES in http://www.linuxmanpages.com/man1/rsync.1.php Hope this helps, -Collin -- Collin Starkweather, Ph.D. http://www.linkedin.com/in/collinstarkweather -- gentoo-user@lists.gentoo.org mailing list Hi Collin Thanks Collin Correct me if i am wrong please. I want to understand your script step 1 : put the above code in text file and name it as rsync-host77.sh in the folder /home/kaushal in the machine where rsync command will execute step 2 : cd /home/kaushal $crontab -e 0 18 * * * rsync -host77.sh If i want to run the rsync script at 6 pm everyday Also where will the rsync-${TIMESTAMP}.log file will be located, I believe it will be in /home/kaushal folder. Lets say if i have to put rsync-${TIMESTAMP}.log in /tmp folder then the above rsync line would look like rsync -av /bogus [EMAIL PROTECTED]:/bogus/ /tmp/rsync-${TIMESTAMP}.log is that correct what i understand from your email Thanks a Lot again Thanks and Regards Kaushal
Re: [gentoo-user] rsync script
Quoting Kaushal Shriyan [EMAIL PROTECTED]: Correct me if i am wrong please. I want to understand your script step 1 : put the above code in text file and name it as rsync-host77.sh in the folder /home/kaushal in the machine where rsync command will execute step 2 : cd /home/kaushal $crontab -e 0 18 * * * rsync -host77.sh If i want to run the rsync script at 6 pm everyday Also where will the rsync-${TIMESTAMP}.log file will be located, I believe it will be in /home/kaushal folder. Lets say if i have to put rsync-${TIMESTAMP}.log in /tmp folder then the above rsync line would look like rsync -av /bogus [EMAIL PROTECTED]:/bogus/ /tmp/rsync-${TIMESTAMP}.log is that correct what i understand from your email You are correct, sir! You must also, of course, be sure to chmod u+x rsync-host77.sh. Note that if you want an e-mail on either success or failure (your original post seemed to indicate this might be the case) bash understands if-then-else-fi. Cheers, -Collin -- Collin Starkweather, Ph.D. http://www.linkedin.com/in/collinstarkweather -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
Hello! I'm trying to create nessus-bin-3.2.0 ebuild. I've downloaded Nessus-3.2.0-suse10.0.i586.rpm, checked its md5 sum, and I've done just a `cp nessus-bin-3.0.5.ebuild nessus-bin-3.2.0.ebuild`. But even scr_unpack() fails: Unpacking Nessus-3.2.0-suse10.0.i586.rpm to /tmp/portage/net-analyzer/nessus-bin-3.2.0/work !!! ERROR: net-analyzer/nessus-bin-3.2.0 failed. Call stack: ebuild.sh, line 1638: Called dyn_unpack ebuild.sh, line 763: Called qa_call 'src_unpack' ebuild.sh, line 44: Called src_unpack ebuild.sh, line 1328: Called rpm_src_unpack rpm.eclass, line 72: Called die !!! failure unpacking Nessus-3.2.0-suse10.0.i586.rpm !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/tmp/portage/net-analyzer/nessus- bin-3.2.0/temp/build.log'. I've looked into rpm.eclass, and found that problem is in rpm_unpack() { . rpmoff=`rpmoffset ${rpmfile}` [ -z ${rpmoff} ] return 1 $ rpmoffset /path/to/Nessus-3.2.0-suse10.0.i586.rpm $ echo $? 1 $ rpm2targz /usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm /usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm - no magic compression identifier found - skipping file $ emerge -pv rpm2targz These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-arch/rpm2targz-9.0-r6 0 kB How can I fix this? Thanks. -- Vladimir Rusinov Voronezh, Russia UNIX Admin @ Murano Software
[gentoo-user] WLAN performance
Hi list! Can anyone tell me how I could find the bottleneck on my wireless network? According to iwconfig, both cards are cofigured for 54 MBit/s but I only get about 13 MBit/s, both on NFS and scp. Might it be the driver (iwl3945, rt61 from kernel 2.6.24)? Unfortunately, iwspy doesn't work on these cards. signature.asc Description: This is a digitally signed message part
[gentoo-user] Re: emerge: touch: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
/usr/lib/portage/bin/ebuild.sh preprocess_ebuild_env() { echo Touch: $(type touch) local filter_opts= if [ -f ${T}/environment.raw ] ; then # This is a signal from the python side, indicating that the # environment may contain stale SANDBOX_{DENY,PREDICT,READ,WRITE} # and FEATURES variables that should be filtered out. Between # phases, these variables are normally preserved. filter_opts=--filter-sandbox --filter-features ${filter_opts} fi filter_readonly_variables ${filter_opts} ${T}/environment \ ${T}/environment.filtered || return $? unset filter_opts mv ${T}/environment.filtered ${T}/environment || return $? rm -f ${T}/environment.success || return $? # WARNING: Code inside this subshell should avoid making assumptions # about variables or functions after source ${T}/environment has been # called. Any variables that need to be relied upon should already be # filtered out above. ( export SANDBOX_ON=1 source ${T}/environment || exit $? # We have to temporarily disable sandbox since the # SANDBOX_{DENY,READ,PREDICT,WRITE} values we've just loaded # may be unusable (triggering in spurious sandbox violations) # until we've merged them with our current values. export SANDBOX_ON=0 # It's remotely possible that save_ebuild_env() has been overridden # by the above source command. To protect ourselves, we override it # here with our own version. ${PORTAGE_BIN_PATH} is safe to use here # because it's already filtered above. source ${PORTAGE_BIN_PATH}/isolated-functions.sh || exit $? # Rely on save_ebuild_env() to filter out any remaining variables # and functions that could interfere with the current environment. save_ebuild_env || exit $? echo Touch: $(type touch) ## touch ${T}/environment.success || exit $? ) ${T}/environment.filtered /usr/lib/portage/bin/ebuild.sh with -xv option ... export type touch ++ type touch + echo Touch: touch is /bin/touch + touch /var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment.success touch: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory + exit 127 + local retval ### running touch /var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment.success in the console causes no error Fred Kastl schrieb: hi, on every emerge --unmerge i get the following error Message: touch: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory. ### revdep-rebuild found no missing library for touch or portage. ### ldconfig -p | grep librt.so.1 librt.so.1 (libc6, OS ABI: Linux 2.6.9) = /lib/librt.so.1 ### ll /lib/librt.so.1 lrwxrwxrwx 1 root root 14 19. Feb 19:22 /lib/librt.so.1 - librt-2.6.1.so ### ll /lib/librt-2.6.1.so -rwxr-xr-x 1 root root 32400 8. Nov 14:05 /lib/librt-2.6.1.so ### equery belongs /lib/librt-2.6.1.so [ Searching for file(s) /lib/librt-2.6.1.so in *... ] sys-libs/glibc-2.6.1 (/lib/librt-2.6.1.so) ### fileaccess while running emerge --unmerge fileaccess-dazuko /lib | grep librt OPEN uid:0 pid:31995 mode:33261 flags:0 file_uid:0 file_gid:0 file_device:0 file_size:32400 file:/lib/librt-2.6.1.so OPEN uid:0 pid:32002 mode:33261 flags:0 file_uid:0 file_gid:0 file_device:0 file_size:32400 file:/lib/librt-2.6.1.so can anyone help ? regards Fred emerge --unmerge app-admin/gnomesu These are the packages that would be unmerged: app-admin/gnomesu selected: 0.3.1 protected: none omitted: none 'Selected' packages are slated for removal. 'Protected' and 'omitted' packages will not be removed. Would you like to unmerge these packages? [Yes/No] y Waiting 5 seconds before starting... (Control-C to abort)... Unmerging in: 5 4 3 2 1 Unmerging app-admin/gnomesu-0.3.1... touch: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory * * ERROR: media-tv/tvbrowser-2.5.3 failed. * Call stack: * ebuild.sh, line 1641: Called die * The specific snippet of code: * preprocess_ebuild_env || \ * die error processing environment * The die message: * error processing environment * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment'. * !!! FAILED prerm: 1 * The 'prerm' phase of the
Re: [gentoo-user] WLAN performance
ahh, marketing. Some people will believe anything! Check the table at http://www.oreillynet.com/pub/a/wireless/2003/08/08/wireless_throughput.html or numerous other guides courtesy of google. This shows that maximum throughput is roughly 27Mb/s for 54g, but in my experience its much less in the real world. Note that configuring a card for 54mb/s is the maximum - unless you are quite close (distance wise), have little interference and dont have a busy 802.11b on the same AP, you are not even going to see a 54, but a fallback. And I think encryption will clip it even further if you are using that (as you should be!) BillK On Fri, 2008-03-21 at 11:33 +0100, Florian Philipp wrote: Hi list! Can anyone tell me how I could find the bottleneck on my wireless network? According to iwconfig, both cards are cofigured for 54 MBit/s but I only get about 13 MBit/s, both on NFS and scp. Might it be the driver (iwl3945, rt61 from kernel 2.6.24)? Unfortunately, iwspy doesn't work on these cards. -- William Kenworthy [EMAIL PROTECTED] Home in Perth! -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] rsync script
On Friday 21 March 2008, Kaushal Shriyan wrote: On Fri, Mar 21, 2008 at 12:56 PM, Alan McKinnon [EMAIL PROTECTED] wrote: On Friday 21 March 2008, Kaushal Shriyan wrote: Hi [EMAIL PROTECTED] 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ If i put this two lines in crontab it will run correctly,My requirement was to create a script, this script should indicate success or failures and the reason for failure crontab will only send a mail is there is anyput to stdout. What output do you get if you run the rsync manually? Hi Alan When i run the rysnc command by hand, it runs successfully without any issues. I can see it on stdout saying building list files and then the rsync process Most likely cause is that he shell that crontab runs in is NOT the same shell as your user account and does not have the same PATH. Solution: never rely on PATH in a crontab, supply the full PATH yourself. Try calling rsync as /usr/bin/rsync as see if that fixes it Do you have any packages installed that can actually send the mail? I did not understand this question crontab does not do SMTP, it does not know how to send mail. You need a mailer to be installed - like sendmail or mail -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
On Friday 21 March 2008 10:11:30 Vladimir Rusinov wrote: How can I fix this? Sorry, I can't tell you how, but I can concur with your findings. I've tried 3 different 3.2.0 release RPMs and rpmoffset/rpm2targz can't parse any of them. However the 3.0.5 suse10 RPM does work. I'm going to look for a newer rpm2targz. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] DVD Playback Problem
Hi Guys, First, let me say that I did search this problem on Google. I found a somewhat relevant solution, but before I try it, I thought I would post here. The problem is jerky playback of the dvd when I try to play it using kaffeine. The laptop on which I am trying to play the DVD is a Dell Inspiron M1710. It is less than a year old (purchased late April 2006). One of the things the post said was to check that dma was enabled by running hdparm -I /dev/hdc. I did that and this is the output: /dev/hdc: ATAPI CD-ROM, with removable media Model Number: TSSTcorp DVD+/-RW TS-L632D Serial Number: Firmware Revision: DE04 Standards: Likely used CD-ROM ATAPI-1 Configuration: DRQ response: 50us. Packet size: 12 bytes Capabilities: LBA, IORDY(can be disabled) DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=227ns IORDY flow control=120ns Commands/features: EnabledSupported: HW reset results: CBLID- below Vih Device num = 0 Another thing this post said was that the person switched from the scsi/sata system for the drive to the deprecated ide/sata model. Admittedly, I haven't rebuild the kernel in a while. I'm running 2.6.21-gentoo-r4. This was because when I tried to upgrade to the next stable version of the kernel after 2.6.21-gentoo-r4, it wouldn't recognize my hard drive as a sata, so I went back to a kernel version that I knew worked. Do you think a kernel upgrade would help solve the problem. BTW I have 2 gig of memory on this laptop, so the issue shouldn't be memory related. Any ideas? Thanks in advance for the assistance! :-) Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] WLAN performance
On 21 Mar 2008, at 10:33, Florian Philipp wrote: ... both cards are cofigured for 54 MBit/s ... I only get about 13 MBit/s, both on NFS and scp. I'd be really quite happy with that. As BillK remarks, 50% of your 54 Mbit is consumed by protocol overhead. You're probably going to tell us that the two machines are currently right next to each other, so losing an additional 50% to interference other intangibles might seem at first sight unreasonable, but I doubt you'll ever do any better than that, and you could waste a lot of time trying. Wireless is for surfing on the sofa - you can easily get eighty times this throughput with a cable, so investing time energy in trying to get a two-times performance increase is a poor return. Stroller. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] version of different apps in gentoo portage
Hello I have a question about versions of some applications in gentoo portage. As I noticed there are some apps which stable version aren't updated too frequently. for example mod_security for apache on official page there is stable version 2.5.1 and in portage : [ebuild R ] www-apache/mod_security-2.1.2 USE=-doc 0 kB amavisd officialy - stable version 2.5.4 - there is even RC for 2.6 version and in portage: [ebuild N] mail-filter/amavisd-new-2.4.1 USE=mysql -ldap -milter -postgres 823 kB I understand that to be marked as stable in gentoo it needs to has some time but for example 2.4.1 amavisd version is from 2006.05.08 so it lasts really long and I don't know why?! I know that I can install it from sources but for sure there's important reason why the newest versions aren't in portage. and by the way - it's my first post here so best regards to everyone :) nichu -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] ebuild does not honnor PROVIDE direktive
I'm trying to install the courier-suite (version 0.58.0 from Bernd Wurst) on one of my testservers. When I run emerge --verbose --pretend --tree courier I get the following output: [ebuild N] mail-mta/courier-0.58.0 USE=crypt fam ldap nls nowebadmin nowebmail -fax -ipv6 -mailwrapper -mysql -norewrite -pam -postgres -spell 6,957 kB [1] [ebuild N] app-crypt/gnupg-2.0.7-r1 USE=bzip2 nls -doc -ldap -openct -pcsc-lite (-selinux) -smartcard 3,526 kB [ebuild N] mail-mta/ssmtp-2.61-r2 USE=ssl -ipv6 -mailwrapper -md5sum 53 kB [ebuild N] dev-libs/libksba-1.0.2-r1 514 kB [ebuild N] net-misc/curl-7.17.1 USE=ssl -ares -gnutls -idn -ipv6 -kerberos -ldap -nss -test 1,682 kB [ebuild N] app-crypt/pinentry-0.7.4-r1 USE=-caps -gtk -ncurses -qt3 407 kB [ebuild N] dev-libs/libassuan-1.0.4 291 kB [ebuild N] net-libs/courier-authlib-0.60.2 USE=crypt ldap -berkdb -debug -gdbm -mysql -pam -postgres -vpopmail 2,108 kB [1] [ebuild N] sys-libs/db-4.5.20_p2 USE=-bootstrap -doc -java -nocxx -tcl -test 9,068 kB [ebuild N] sys-libs/gdbm-1.8.3-r3 USE=-berkdb 224 kB [ebuild N] dev-libs/libpcre-7.6-r1 USE=bzip2 cxx unicode zlib -doc 785 kB [ebuild N] net-nds/openldap-2.3.41 USE=crypt minimal sasl ssl tcpd -berkdb -debug -gdbm -ipv6 -kerberos -odbc -overlays -perl -samba (-selinux) -slp -smbkrb5passwd 3,712 kB [ebuild N] dev-libs/cyrus-sasl-2.1.22-r2 USE=crypt ssl urandom -authdaemond -berkdb -gdbm -java -kerberos -ldap -mysql -ntlm_unsupported_patch -pam -postgres -sample -srp 1,572 kB [ebuild NS ]sys-devel/automake-1.7.9-r1 565 kB [ebuild N] app-misc/mime-types-7 7 kB [nomerge ] dev-libs/libassuan-1.0.4 [ebuild N] dev-libs/pth-2.0.7-r1 USE=-debug 638 kB [nomerge ] app-crypt/gnupg-2.0.7-r1 USE=bzip2 nls -doc -ldap -openct -pcsc-lite (-selinux) -smartcard [ebuild N] dev-libs/libgcrypt-1.4.0-r1 USE=nls -bindist -idea 943 kB [ebuild N] dev-libs/libgpg-error-1.6 USE=nls 374 kB [blocks B ] mail-mta/ssmtp (is blocking mail-mta/courier-0.58.0) [blocks B ] mail-mta/courier (is blocking mail-mta/ssmtp-2.61-r2) What I can't understand is why emerge is trying to emerge ssmtp. I see that gnupg-2.0.7-r1 has a RDEPEND on virtual/mta which courier and ssmtp PROVIDE. Can someone share som light why emerge doesn't use the PROVIDE=virtual/mta virtual/mda virtual/imapd line in courier-0.58.0.ebuild. -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
On Fri, 21 Mar 2008 10:00:52 -0500, Dale wrote: What is this and why is it so persistent about it having to be there? I'm fine with it being built in but I just don't like modules. Then don't set CONFIG_MODULES ;-) -- Neil Bothwick KPLA Klingon Radio : All glory, all the time! signature.asc Description: PGP signature
Re: [gentoo-user] ebuild does not honnor PROVIDE direktive
On Fri, 21 Mar 2008 16:18:31 +0100, Dan Johansson wrote: [ebuild N] mail-mta/courier-0.58.0 USE=crypt fam ldap nls nowebadmin nowebmail -fax -ipv6 -mailwrapper -mysql -norewrite -pam -postgres -spell 6,957 kB [1] [ebuild N] app-crypt/gnupg-2.0.7-r1 USE=bzip2 nls -doc -ldap -openct -pcsc-lite (-selinux) -smartcard 3,526 kB [ebuild N] mail-mta/ssmtp-2.61-r2 USE=ssl -ipv6 -mailwrapper -md5sum 53 kB [blocks B ] mail-mta/ssmtp (is blocking mail-mta/courier-0.58.0) [blocks B ] mail-mta/courier (is blocking mail-mta/ssmtp-2.61-r2) What I can't understand is why emerge is trying to emerge ssmtp. I see that gnupg-2.0.7-r1 has a RDEPEND on virtual/mta which courier and ssmtp PROVIDE. Can someone share som light why emerge doesn't use the PROVIDE=virtual/mta virtual/mda virtual/imapd line in courier-0.58.0.ebuild. Because at the time gnupg is to emerge, courier is not installed, so it uses the default mta, which is ssmtp. You could try USE=-crypt emerge courier to install it without needing gnupg, then emerge it normally. Then gnupg will be pulled in, but courier will already satisfy the virtual/mta dependency. -- Neil Bothwick No, you *can't* call 999 now. I'm downloading my mail. signature.asc Description: PGP signature
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
Neil Bothwick wrote: On Fri, 21 Mar 2008 10:00:52 -0500, Dale wrote: What is this and why is it so persistent about it having to be there? I'm fine with it being built in but I just don't like modules. Then don't set CONFIG_MODULES ;-) Changed that now. It sort of puked when I ran make by asking this: Enable loadable module support (MODULES) [N/y/?] (NEW) N Now I get this: The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled. make: *** [modules_install] Error 1 Apparently it doesn't like the idea. Now what? Do I have to have modules because of this mess? o_O Thanks. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
It's pretty simple, either disable it if you dont need it. if you do, you've got 2 options .. module or compile in .. ? Why make it so difficult ? On Mar 21, 2008, at 10:49 AM, Dale wrote: Neil Bothwick wrote: On Fri, 21 Mar 2008 10:00:52 -0500, Dale wrote: What is this and why is it so persistent about it having to be there? I'm fine with it being built in but I just don't like modules. Then don't set CONFIG_MODULES ;-) Changed that now. It sort of puked when I ran make by asking this: Enable loadable module support (MODULES) [N/y/?] (NEW) N Now I get this: The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled. make: *** [modules_install] Error 1 Apparently it doesn't like the idea. Now what? Do I have to have modules because of this mess? o_O Thanks. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] DVD Playback Problem
On Fri, 2008-03-21 at 08:55 -0500, CJoeB wrote: Hi Guys, First, let me say that I did search this problem on Google. I found a somewhat relevant solution, but before I try it, I thought I would post here. The problem is jerky playback of the dvd when I try to play it using kaffeine. The laptop on which I am trying to play the DVD is a Dell Inspiron M1710. It is less than a year old (purchased late April 2006). One of the things the post said was to check that dma was enabled by running hdparm -I /dev/hdc. I did that and this is the output: /dev/hdc: ATAPI CD-ROM, with removable media Model Number: TSSTcorp DVD+/-RW TS-L632D Serial Number: Firmware Revision: DE04 Standards: Likely used CD-ROM ATAPI-1 Configuration: DRQ response: 50us. Packet size: 12 bytes Capabilities: LBA, IORDY(can be disabled) DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=227ns IORDY flow control=120ns Commands/features: EnabledSupported: HW reset results: CBLID- below Vih Device num = 0 Another thing this post said was that the person switched from the scsi/sata system for the drive to the deprecated ide/sata model. Admittedly, I haven't rebuild the kernel in a while. I'm running 2.6.21-gentoo-r4. This was because when I tried to upgrade to the next stable version of the kernel after 2.6.21-gentoo-r4, it wouldn't recognize my hard drive as a sata, so I went back to a kernel version that I knew worked. Do you think a kernel upgrade would help solve the problem. BTW I have 2 gig of memory on this laptop, so the issue shouldn't be memory related. Any ideas? Thanks in advance for the assistance! :-) Regards, Colleen -- That a kernel recognizes a sata-drive as pata usually happens if there are generic drivers present in the kernel. Deselect everything generic and you should be fine. Then you should try mplayer instead of kaffeine to be sure it's not software related. signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
deface wrote: It's pretty simple, either disable it if you dont need it. if you do, you've got 2 options .. module or compile in .. ? Why make it so difficult ? Well, I don't have the compile in option either. If I choose to compile it in, it changes it back to a module when I run make. So, it is either a module or a exit with error message. Since I don't have modules, I'm not sure I need loadable module support, what is it going to load since I have no modules EXCEPT for nvidia. I do need that one module. As usual, I'm missing something and it confuses me. Maybe I need to leave it in since it is so pesky about having it? Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] ebuild does not honnor PROVIDE direktive
On Friday 21 March 2008, Neil Bothwick wrote: On Fri, 21 Mar 2008 16:18:31 +0100, Dan Johansson wrote: [ebuild N] mail-mta/courier-0.58.0 USE=crypt fam ldap nls nowebadmin nowebmail -fax -ipv6 -mailwrapper -mysql -norewrite -pam -postgres -spell 6,957 kB [1] [ebuild N] app-crypt/gnupg-2.0.7-r1 USE=bzip2 nls -doc -ldap -openct -pcsc-lite (-selinux) -smartcard 3,526 kB [ebuild N] mail-mta/ssmtp-2.61-r2 USE=ssl -ipv6 -mailwrapper -md5sum 53 kB [blocks B ] mail-mta/ssmtp (is blocking mail-mta/courier-0.58.0) [blocks B ] mail-mta/courier (is blocking mail-mta/ssmtp-2.61-r2) What I can't understand is why emerge is trying to emerge ssmtp. I see that gnupg-2.0.7-r1 has a RDEPEND on virtual/mta which courier and ssmtp PROVIDE. Can someone share som light why emerge doesn't use the PROVIDE=virtual/mta virtual/mda virtual/imapd line in courier-0.58.0.ebuild. Because at the time gnupg is to emerge, courier is not installed, so it uses the default mta, which is ssmtp. You could try USE=-crypt emerge courier to install it without needing gnupg, then emerge it normally. Then gnupg will be pulled in, but courier will already satisfy the virtual/mta dependency. THANKS, that did it. (:-) -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
try removing the .conf copy your old .config over .. then run a make oldconfig .. On Mar 21, 2008, at 11:13 AM, Dale wrote: deface wrote: It's pretty simple, either disable it if you dont need it. if you do, you've got 2 options .. module or compile in .. ? Why make it so difficult ? Well, I don't have the compile in option either. If I choose to compile it in, it changes it back to a module when I run make. So, it is either a module or a exit with error message. Since I don't have modules, I'm not sure I need loadable module support, what is it going to load since I have no modules EXCEPT for nvidia. I do need that one module. As usual, I'm missing something and it confuses me. Maybe I need to leave it in since it is so pesky about having it? Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] {OT} Power supply or motherboard dead?
You're absolutely right. The correct way of testing it for voltage is to plug a power connector to a device such as a disk drive/Mobo and then to insert the apparatus behind the connector while plugged. -Original Message- From: Stroller [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 12:18 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] {OT} Power supply or motherboard dead? On 20 Mar 2008, at 19:42, Marzan, Richard non Unisys wrote: Get a volt meter and measure the voltage. Red is 5+ volts yellow is 12+ volts; if you're getting less than that or way too much than those values then the component needs to be replaced. I believe that the PSU has to be under load for the voltage to test correctly. You can get testers for ATX PSUs for about £20, I noticed recently, and a search suggests they're much cheaper on eBay (see items 190207549145, 280209639310) Try also swapping the memory modules out one by one; interchanging them and see if that makes it boot up. Some, not all, BIOS programs need some ram to boot the machine. Grant, It's not clear from your other posts whether you've tried this. If I'm testing a motherboard I _always_ want to have RAM in it - testing without doesn't prove anything (to my satisfaction). It could also be a broken power switch. If that is the case, try to ground the pwr pin to a grnd(black) pin with a flat head screw driver on the MB. Forgot to mention this in my previous post - this is usually one of the first things I try, because it's so easy to do. Stroller. -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] version of different apps in gentoo portage
On Fri, Mar 21, 2008 at 3:42 PM, Marcin Niśkiewicz [EMAIL PROTECTED] wrote: mod_security for apache on official page there is stable version 2.5.1 and in portage : [ebuild R ] www-apache/mod_security-2.1.2 USE=-doc 0 kB See http://bugs.gentoo.org/show_bug.cgi?id=209632 amavisd officialy - stable version 2.5.4 - there is even RC for 2.6 version and in portage: [ebuild N] mail-filter/amavisd-new-2.4.1 USE=mysql -ldap -milter -postgres 823 kB Seems like version 2.5.2 has been marked stable since Jan 08 on x86, Feb 05 on ppc64, Feb 17 alpha/sparc, Feb 22 ppc. Try syncing your portage tree. ~Henry
Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
On 3/21/08, Mike Williams [EMAIL PROTECTED] wrote: On Friday 21 March 2008 10:11:30 Vladimir Rusinov wrote: How can I fix this? Sorry, I can't tell you how, but I can concur with your findings. I've tried 3 different 3.2.0 release RPMs and rpmoffset/rpm2targz can't parse any of them. However the 3.0.5 suse10 RPM does work. I'm going to look for a newer rpm2targz. Well, I've noticed that rpm.eclass tries to use rpm2cpio first. I've installed rpm package and it unpacks and installs now. I have not yet tested installed packages, but anyway I'll submit the ebuild and comments to bugzilla after few hours. -- Vladimir Rusinov Voronezh, Russia UNIX Admin @ Murano Software
Re: [gentoo-user] [OFF TOPIC] PGP Messages Email clients
Matt Nordhoff wrote: Chris Brennan wrote: Matt Nordhoff wrote: | Yeah, yours is the only one I'm having trouble with. :-P | | Can't find it on any of the key servers I've tried. | | (Note: Im kind of a PGP newbie. I didn't look very hard.) mmm then I will regenerate my key and resubmit it later tonight ... Where did you submit it to? I mostly tried subkeys.pgp.net. Just checked today on subkeys.pgp.net and I can't get it. From my understanding most of the servers sync so if you put it on one it's out there. I think my pgp signature blocks are going out as signature.asc which is good for most people. I'm using enigmail for thunderbird which is great. -- Eric -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
On Fri, 21 Mar 2008 11:13:49 -0500, Dale wrote: Since I don't have modules, I'm not sure I need loadable module support, what is it going to load since I have no modules EXCEPT for nvidia. I do need that one module. In which case, you need loadable module support. It's not like using modules is a big deal, once loaded it functions the same as a compiled in module, but if it's not needed you save the memory. I know some people prefer to disable modules entirely for security reasons, but if you need one you don't have that option. -- Neil Bothwick WORM: (n.) acronym for Write Once, Read Mangled. Used to describe a normally-functioning computer disk of the very latest design. signature.asc Description: PGP signature
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
On 21 Mar 2008, at 15:00, Dale wrote: ... I'm not sure what this is but it keeps setting it as a module. I tried removing it by setting it to is not set but it puts it back to module when I compile the kernel. I'm not convinced that all the other posters are fully grokking your problem (some of them may be; heck, I could be wrong, and they all may be). I suspect that this is caused because CONFIG_SCSI_WAIT_SCAN depends upon some other kernel option, and because you have that compiled in as a module. Thus the dependencies of the parent are forced to be modular. I wouldn't disable CONFIG_MODULES, because as I understand it that prevents you having any modules at all, and builds a completely monolithic kernel. I used to be of the monolithic school of kernel building, but feel that I have seen the error of my ways and that modules are generally a Good Thing (tm). I would compile-into-the-kernel (what's the right word for compile a driver not-as-a-module? compile statically?) all SCSI options, and see if that fixes. If so you can subsequently modularise bit by bit until you understand what's going on. (PS: you say you don't know what it is - why do you care if it's modular or not?) Stroller. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] [OT] iTunes with Gentoo?
According to the winedb, as of wine 0.9.57, iTunes works ok under wine, store services included. I haven't tested it myself, since I am not a fan of iTunes. http://appdb.winehq.org/objectManager.php?sClass=versioniId=10543 -- Jesús Guerrero [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] [OT] iTunes with Gentoo?
Florian Philipp wrote: On Tue, 2008-03-18 at 10:11 -0700, Joshua D Doll wrote: Michael Schmarck wrote: Hello. Sorry for being somewhat Off Topic, but could you guys please tell me if it's possible to use iTunes with wine-0.9.57 under a ~x86 system? Is it possible to change the store location to something other than US (as that's required to buy songs, as far as I know)? Thanks, Michael iTunes works pretty well, running on a VM of windows. I run windows XP with VMWare Workstation and have iTunes installed to sync my iPod, because no OSS solutions handle m4a very well :-(. --Joshua Doll But you have no way to burn an audio-cd from it and thus get rid of drm, right? I've burned a copy of CDs from within the VM, but not using iTunes. I personally don't have very many DRM'd music, like I said I just use it to transfer m4a (apple lossless which is not DRM'd) files to my iPod. --Joshua Doll -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
deface wrote: try removing the .conf copy your old .config over .. then run a make oldconfig .. On Mar 21, 2008, at 11:13 AM, Dale wrote: deface wrote: It's pretty simple, either disable it if you dont need it. if you do, you've got 2 options .. module or compile in .. ? Why make it so difficult ? Well, I don't have the compile in option either. If I choose to compile it in, it changes it back to a module when I run make. So, it is either a module or a exit with error message. Since I don't have modules, I'm not sure I need loadable module support, what is it going to load since I have no modules EXCEPT for nvidia. I do need that one module. As usual, I'm missing something and it confuses me. Maybe I need to leave it in since it is so pesky about having it? Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list That was how I got where I am now. It's how I always update my kernel. After oldconfig I would just open the .config file and change that one line then do my make. This time, it is stubborn. I dunno. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
On Friday 21 March 2008 18:27:27 Vladimir Rusinov wrote: Well, I've noticed that rpm.eclass tries to use rpm2cpio first. I've installed rpm package and it unpacks and installs now. I have not yet tested installed packages, but anyway I'll submit the ebuild and comments to bugzilla after few hours. I was going to suggest you check bugzilla for an existing bug on the matter, but I see you've already found it! :) I've taken a slightly different route, going for the debian package. Instead of looking for an eclass to handle the conversion i just did it manually with deb2targz. Handley debian has openssl-0.9.8, so the dependancies are correct without having to resort to ugly symlinks, although nessusd does complain about no version information available in libssl and libcrypto. As you, I haven't done any testing as I don't know how to use it. My job is just to provide servers for those who do. -- Mike Williams -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
On Fri, 21 Mar 2008 21:23:11 +, Stroller wrote: I suspect that this is caused because CONFIG_SCSI_WAIT_SCAN depends upon some other kernel option, and because you have that compiled in as a module. Thus the dependencies of the parent are forced to be modular. I thought Dale said that he hadn't anything set to compile as a module. -- Neil Bothwick Only an idiot actually READS taglines. signature.asc Description: PGP signature
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
Neil Bothwick wrote: On Fri, 21 Mar 2008 21:23:11 +, Stroller wrote: I suspect that this is caused because CONFIG_SCSI_WAIT_SCAN depends upon some other kernel option, and because you have that compiled in as a module. Thus the dependencies of the parent are forced to be modular. I thought Dale said that he hadn't anything set to compile as a module. That's correct. The only module I have is nvidia which is my video driver. I don't have or really want any modules but it's not looking to promising right now. Maybe I need a new hammer? Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] {OT} Power supply or motherboard dead?
On Thu, Mar 20, 2008 at 6:29 PM, Grant [EMAIL PROTECTED] wrote: A Gentoo desktop of mine won't turn on anymore. I was hoping it was the power supply but I've installed a new one which doesn't fix the problem. Is there a sure way to know if the motherboard needs replacement or if I have two dead power supplies? Hi there, I work on PCs for a living, mostly peoples' home computers, and in the case of a dead pc the cause is nearly as often something else as it is a dead PSU. Causes such as a duff CD-ROM drive or a damaged USB connector are surprising but not uncommon, so reset the BIOS (using the method described by Volker) and if that doesn't work unplug as much as possible from the motherboard - you'll surely need the CPU RAM for it to post, but you may wish to swap out the RAM at some point in your diagnostics - and unplug most everything else. That means drives, PCI cards, USB devices, stuff connected to the USB serial headers, graphics card if possible. Also don't connect the power supply to any of the drives, or anything else that you're not currently using. I've seen cheap power supplies take out the motherboard when they go. Sorry if you find that to be the case. I removed everything from the motherboard and even tried another CPU that used to run on that same motherboard. No luck. I can't test the power supply in my P3 router because the CPU power plug is different. I should have said before that every couple times I try to turn it on, the CPU fan spins about 2% of a full rotation and some of the LEDs along the back light up for a second. Would you guys say it is most likely the motherboard at this point? - Grant -- gentoo-user@lists.gentoo.org mailing list I'm going to take a stab in the dark and say this is an Emachines PC. Am I right? Emachines, when the PSU goes bad, have a habit of taking out the motherboard, too. Hooking the old PSU up to a new motherboard fries the new one. I fried 2 motherboards (not Emachines supplied) back in my early days doing this (PSU wasn't Emachines, either). So, it can happen with other PSU/motherboards. If the motherboard has a status light and it isn't even coming on, then the motherboard is dead. Even bad CPUs I've damaged still allowed the motherboard, fans, etc. to power up (though nothing came up on the screen). -- - Mark Shields
Re: [gentoo-user] CONFIG_SCSI_WAIT_SCAN=m I don't want modules here.
On 22 Mar 2008, at 01:08, Neil Bothwick wrote: On Fri, 21 Mar 2008 21:23:11 +, Stroller wrote: I suspect that this is caused because CONFIG_SCSI_WAIT_SCAN depends upon some other kernel option, and because you have that compiled in as a module. Thus the dependencies of the parent are forced to be modular. I thought Dale said that he hadn't anything set to compile as a module. He doesn't seem to specifically state that. He does (subsequently?) say that he doesn't _want_ anything as a module (beware teh dark side!), but that's not the same thing. As I read Dale's original post, all he says is I set CONFIG_SCSI_WAIT_SCAN as `not set` (and in his post of 21 March 2008 16:13:49 GMT he says if I say `compile it in') and it keeps turning back into a module. Of course this would prolly be much easier if Dale just posted a copy of his .config. I have a feeling something obvious is being overlooked, and it wouldn't do any hard to post the output of `cd / usr/src/linux ls -ld /usr/src/linux md5sum .config make make modules_install` so we can see stuff for ourselves. You'll notice that I look to check things like the /usr/src/linux symlink here and that the .config used is actually the same one as I suggest he posts. Stroller. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Root shell terminates after first keystroke
Tonight, for no apparent reason, a problem has started cropping up when I 'sudo su'. The root shell will start up fine, but after the first time I hit a key, the shell terminates - apparently normally. A sample try looks like this (I begin to type emerge, with little success): [EMAIL PROTECTED] ~ $ sudo su wozniak tim # eexit [EMAIL PROTECTED] ~ $ This occurs no matter how long I wait before hitting a key. Using 'su' without the preceding 'sudo' will let me into a normal root shell without the problem occurring. The problem also occurs only in Konsole, not at a tty. I should mention, based on this, that I'm running KDE4. How might I go about fixing this? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Root shell terminates after first keystroke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim wrote: Tonight, for no apparent reason, a problem has started cropping up when I 'sudo su'. The root shell will start up fine, but after the first time I hit a key, the shell terminates - apparently normally. A sample try looks like this (I begin to type emerge, with little success): [EMAIL PROTECTED] ~ $ sudo su wozniak tim # eexit [EMAIL PROTECTED] ~ $ This occurs no matter how long I wait before hitting a key. Using 'su' without the preceding 'sudo' will let me into a normal root shell without the problem occurring. The problem also occurs only in Konsole, not at a tty. I should mention, based on this, that I'm running KDE4. How might I go about fixing this? Dumb question, why are you exec'ing /sudo su/? Why not just /su/ or /su - -/ or /sudo/ ? - -- ~eric PGP: D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH5IspaiVxdKlBO58RAgauAJ9DzETIQaEU96MScKipdcylhwXdxQCfTzqI 78dioXd2b/IKyswemBhQlT8= =BC8T -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Root shell terminates after first keystroke
Eric Martin wrote: Tim wrote: Tonight, for no apparent reason, a problem has started cropping up when I 'sudo su'. The root shell will start up fine, but after the first time I hit a key, the shell terminates - apparently normally. A sample try looks like this (I begin to type emerge, with little success): [EMAIL PROTECTED] ~ $ sudo su wozniak tim # eexit [EMAIL PROTECTED] ~ $ This occurs no matter how long I wait before hitting a key. Using 'su' without the preceding 'sudo' will let me into a normal root shell without the problem occurring. The problem also occurs only in Konsole, not at a tty. I should mention, based on this, that I'm running KDE4. How might I go about fixing this? Dumb question, why are you exec'ing /sudo su/? Why not just /su/ or /su -/ or /sudo/ ? I figured out how to execute 'sudo su' without a password before I figured out how to do the same with 'su'. I use sudo on a regular basis (e.g. sudo emerge -avu world) without trouble, including after this problem started, and su works too, it just adds the hassle of typing a root password. I know, I know, my laziness is winning out over proper security, shame on me. -- gentoo-user@lists.gentoo.org mailing list