Re: [gentoo-user] emerge kdesktop fails
Am Dienstag 19 Juni 2007 07:02 schrieb Abhay Kedia: > On Sunday 17 Jun 2007 4:06:05 pm dexter wrote: > > I was advised to upgrade to newest gcc - I did, and I also have the > > latest binutils avaluable in the portage. None of those thing helped. > > I'm quite stuck - I've installed gentoo on several other machines, but > > never had such a problem. > > You upgraded GCC and binutils from which versions? Did you run > revdep-rebuild to see if your system is consistent? Emerge Qt again and > post little more of the error message you are getting i.e. including at > least 15-20 lines before the actual error. I'll do as soon as the PCs will arrive. At the moment those two chroots are no more than two tar.7z waiting to be extracted because everything else worked just fine. pgpGGVgYu186h.pgp Description: PGP signature
Re: [gentoo-user] Re: FeatureRequest Was: Re: Why are gentoo people so in love with colorized output?!?
Am 11.06.2007 um 09:53 schrieb Alexander Skwar: Robert Welz <[EMAIL PROTECTED]> wrote: Am 04.04.2007 um 06:17 schrieb [EMAIL PROTECTED]: Why do --nocolor and --color=n not work (sys-apps/portage-2.1.2.3)? Why does the damned thing default to thinking I want blaring bizarre colors scattered all over my screen? Because it makes things easier to read. Today I fought with a shell script: #! /bin/bash restart_result=`/etc/init.d/boinc restart /usr/bin/echo -e "$restart_result" | /root/bin/mail "check chroots" cron-Oberon and no simpe way to switch color and other ANSI Sequences to off Where did you get colors? Init scripts support a "--nocolor" switch. Did this switch not work? Or did you get colors somewhere else? Oh fine, that works: restart_result=`/etc/init.d/boinc --nocolor restart` /usr/bin/echo -e "$restart_result" | /root/bin/mail "check chroots" cron-Oberon gives: * Service boinc stopping * Service boinc stopped * Service boinc starting * Service boinc started instead of [32;01m*[0m Service boinc stopping [32;01m*[0m Service boinc stopped [32;01m*[0m Service boinc starting [32;01m*[0m Service boinc started Thanks! Robert Alexander Skwar -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] Compile something with debugging information
Hello. All of a sudden, I'm having problems with the Postfix installation on my server. smtpd dies with a Signal 11. To debug this, I'd like to build postfix again, but this time portage should not strip the binaries and it should be compiled with debugging information compiled in (ie. with -g). How would I do that? Thanks a lot, Alexander Skwar -- [EMAIL PROTECTED] mailing list
[gentoo-user] hacking an ebuild
Hello, The devs seems to be busy. Also, I should have learn this some time ago anyway. There is a existing ebuild for JFFNMS, but, it is masked for amd64. Is there a guide I can follow to use an x86 ebuild and create an amd64 derivative ebuild? Since it uses php and other high level software, I would not think that this is a terrible difficult process? If not, can somebody briefly itemized what needs to be done, in very general terms, to hack together an ebuild for amd64 when one exist for x86? James -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: gentoo-user dropping mails again?
Michael Sullivan espersunited.com> writes: > > two emails I sent to this list in the last couple of days did not arrive in my > > inbox - or on gmane. Is gentoo-user loosing mails again? Has anybody else > > seen this problem? > I sent another email in shortly after I sent my email in asking about > spamassassin a couple of weeks ago. According to my mail logs, they > both went through just fine. But the spamassassin question came back, > but the other question (incidentally which was about asterisk) never > came through... Well if your using gmane, it seems to be a regular scheduled event to get hosed in the afternoon (EST) and sporadically miss messages. I'm not sure where the problem exist, but, I have not found another interface better than gmane, so I just ignore the issues as much as possible. Funding may be the largest culprit with gmane. So I just wait until gmane is really hosed and drop the admin a little notice from time to time, when it dies off completely. ymmv, James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hacking an ebuild
I advise you to read the dev howto at http://www.gentoo.org/doc/en/index.xml?catid=gentoodev Gal' 2007/6/19, James <[EMAIL PROTECTED]>: Hello, The devs seems to be busy. Also, I should have learn this some time ago anyway. There is a existing ebuild for JFFNMS, but, it is masked for amd64. Is there a guide I can follow to use an x86 ebuild and create an amd64 derivative ebuild? Since it uses php and other high level software, I would not think that this is a terrible difficult process? If not, can somebody briefly itemized what needs to be done, in very general terms, to hack together an ebuild for amd64 when one exist for x86? James -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Compile something with debugging information
Ingrid wrote: > All of a sudden, I'm having problems with the Postfix installation on > my server. smtpd dies with a Signal 11. > > To debug this, I'd like to build postfix again, but this time portage > should not strip the binaries and it should be compiled with debugging > information compiled in (ie. with -g). > > How would I do that? FEATURES="nostrip -ccache keeptemp keepwork test noclean" \ CFLAGS="-march=athlon-xp -O0 -pipe -ggdb3" sudo emerge postfix This seems to be at least one way to go. Alexander Skwar -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Compile something with debugging information
On Tuesday 19 June 2007, Alexander Skwar wrote: > Hello. > > All of a sudden, I'm having problems with the Postfix installation on > my server. smtpd dies with a Signal 11. > > To debug this, I'd like to build postfix again, but this time portage > should not strip the binaries and it should be compiled with > debugging information compiled in (ie. with -g). I've never tried this myself, but man 5 ebuild makes mention of EXTRA_ECONF and that it is for users to use, not ebuild writers. alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hacking an ebuild
On Tuesday 19 June 2007, James wrote: > Hello, > > > The devs seems to be busy. Also, I should have learn this some time > ago anyway. There is a existing ebuild for JFFNMS, but, it is masked > for amd64. Is there a guide I can follow to use an x86 ebuild and > create an amd64 derivative ebuild? Since it uses php and other high > level software, I would not think that this is a terrible difficult > process? > > If not, can somebody briefly itemized what needs to be done, > in very general terms, to hack together an ebuild for amd64 > when one exist for x86? I took a quick look inside the ebuils. Nothing there seems amd64 specific, so here's how I would proceed; Create a user overlay in the usual place - $PORTDIR/local/ Copy the ebuild there as normal modify KEYWORDS="~x86 ~amd64 Check that all the dependencies have amd64 ebuilds as well emerge jffnms and see what happens alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
[gentoo-user] Can't login with a normal user
Hey, for a few days now I'm unable to log in to my PC[0] with a normal user (root works just fine). The following error is printed: /bin/zsh: Permission denied The same happens when I try it with a user that has /bin/bash as the default shell. The permissions for both files are: -rwxr-xr-x 2 root root Furthermore, it occurs regardless if I try to log in directly at the terminal or per SSH. I've no clue how to get rid of this problem or even how it manifested itself in the first place. So any help would be very appreciated! Regards, Jan-Hendrik Zab [0] - Running a ~amd64 Gentoo. -- | Jan-Hendrik Zab | +49 (0)1773392888 | http://www.v3ng34nce.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
Jan-Hendrik Zab escribió: Hey, for a few days now I'm unable to log in to my PC[0] with a normal user (root works just fine). The following error is printed: /bin/zsh: Permission denied The same happens when I try it with a user that has /bin/bash as the default shell. The permissions for both files are: -rwxr-xr-x 2 root root Furthermore, it occurs regardless if I try to log in directly at the terminal or per SSH. I've no clue how to get rid of this problem or even how it manifested itself in the first place. So any help would be very appreciated! Regards, Jan-Hendrik Zab [0] - Running a ~amd64 Gentoo. IMHO, the problem is it can't get the bash program to execute. Permissions on bash binary seem ok to me, maybe a problem with /bin's permissions? HTH, Abraham -- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
Hi, On Tue, 19 Jun 2007 14:53:44 +0200 Jan-Hendrik Zab <[EMAIL PROTECTED]> wrote: > Hey, > for a few days now I'm unable to log in to my PC[0] with a normal user > (root works just fine). The following error is printed: > > /bin/zsh: Permission denied - noexec partition (unlikely, since more or less nothing would work), or - PAM getting angry, maybe because your /etc/shells doesn't contain the shells? If it's none of these, check the system log. PAM should monitor the reason. If that doesn't tell anything, try running "strace -f su - youruser" -hwh -- [EMAIL PROTECTED] mailing list
[gentoo-user] Grub/Boot font problems
Hi, On an install I'm trying to get working when grub comes up I get no screen. It's just black. If I hit enter the machine starts booting fine. Once it starts booing the first line or two looks good but then the fonts become messed up and pretty much unreadable. It stays this way I get to the two lines that say: Setting terminal to UTF-8 Setting user font and then everything becomes readable. What kernel config items do I want to look at to fix this? Or is there possibly a boot line option for this sort of thing? I am currently using no options at the boot line. Note that this is an older NVidia card. Thanks, Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Grub/Boot font problems
Hi, On Tue, 19 Jun 2007 06:50:17 -0700 "Mark Knecht" <[EMAIL PROTECTED]> wrote: >On an install I'm trying to get working when grub comes up I get no > screen. It's just black. If I hit enter the machine starts booting > fine. Probably a misbehavin' VGA BIOS. I guess you're using grub in text mode? >Once it starts booing the first line or two looks good but then the > fonts become messed up and pretty much unreadable. It stays this way I > get to the two lines that say: > > Setting terminal to UTF-8 > Setting user font > > and then everything becomes readable. > >What kernel config items do I want to look at to fix this? None, most probably. You could however resort to use framebuffer console and experiment with vesa, vesa-tng or more specific framebuffer drivers. >Or is there possibly a boot line option for this sort of thing? I > am currently using no options at the boot line. In order to use the framebuffer, you might need to specify a "video" parameter. It's documented in the kernel's documentation. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Compile something with debugging information
> To debug this, I'd like to build postfix again, but this time portage > should not strip the binaries and it should be compiled with debugging > information compiled in (ie. with -g). > > How would I do that? There is a good howto which explains building packages with debug information and generating backtraces at http://www.gentoo.org/proj/en/qa/backtraces.xml. FEATURES="nostrip -ccache keeptemp keepwork test noclean" \ CFLAGS="-march=athlon-xp -O0 -pipe -ggdb3" sudo emerge postfix This seems to be at least one way to go. You can set this in /etc/portage/env/mail-mta/postfix to enable this Features and Cflags only for this specific package. Regards Daniel -- [EMAIL PROTECTED] mailing list
[gentoo-user] skype again
Right I've got skype installed and working, sort of. If I launch it from the start menu it asks me for my password, which I enter, It then say "database error" and refuses to logon. I've contacted skype, they suggested the following: We suggest you delete ~/.Skype/shared.xml and ~/.Skype/skypename/config.xml directories. You have to kill the process with Skype and restart your computer as well. It didn't work. I can launch and use skype from the command line as root, which suggests it might be a permissions issue. But the question is where, I've looked at the group file and I cant see any obvious groups which my user needs to be a member of. Any suggestions, as always, greatly appreciated Matt -- %%% Dr. Matthew R. Lee CASEB & ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
On Tue, 19 Jun 2007 15:20:31 +0200 Hans-Werner Hilse <[EMAIL PROTECTED]> wrote: > - noexec partition (unlikely, since more or less nothing would work), or > - PAM getting angry, maybe because your /etc/shells doesn't contain the > shells? > > If it's none of these, check the system log. PAM should monitor the > reason. If that doesn't tell anything, try running "strace -f su - youruser" There is no noexec flag on the partition and /etc/shells is okay as well. But when I try to log in on the terminal the following is written into the error log (with ssh only the last two): Jun 19 16:09:15 [login] pam_tally(login:account): option deny=0 allowed in auth phase only Jun 19 16:09:15 [login] pam_tally(login:account): unknown option: no_magic_root Jun 19 16:09:15 [login] pam_unix(login:session): session opened for user jonsnow by LOGIN(uid=0) Jun 19 16:09:15 [login] pam_unix(login:session): session closed for user jonsnow The corresponding entries (to the first two lines are) in /etc/pam.d/login. auth required pam_tally.so file=/var/log/faillog onerr=succeed no_magic_root accountrequired pam_tally.so deny=0 file=/var/log/faillog onerr=succeed no_magic_root I tried to remove the options to test if it had some effect but just the first two lines vanished and I still couldn't log in. Additionally, the pam files seem to be the same as on my file server. The permissions of /bin seem to be okay: drwxr-xr-x 2 root root 4096 2007-06-19 14:53 bin/ Jan-Hendrik Zab -- | Jan-Hendrik Zab | +49 (0)1773392888 | http://www.v3ng34nce.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't build glib.
On Monday 18 June 2007 11:17:23 pm Zac Medico wrote: > Mike Diehl wrote: > > make[1]: Entering directory > > `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10' > > Making all in . > > make[2]: Entering directory > > `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10' > > /bin/sh ./libtool --mode=compile > > i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. > > -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG-O2 -mtune=i686 > > -pipe -fPIC -Wall -D_REENTRANT -c garray.c > > ./libtool: line 297: s,^.*/,,g: No such file or directory > > ./libtool: line 711: -e: command not found > > http://bugs.gentoo.org/show_bug.cgi?id=168198 Yup, that fixed it. I'll check bugs first, next time. Thank you. -- Mike Diehl -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
Hi, Did you try to fsck the / fs? > -- Sig. should be separated with "-- ", not "--". signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Can't login with a normal user
On Tue, 19 Jun 2007 17:58:17 +0200 Dirk Heinrichs <[EMAIL PROTECTED]> wrote: > Did you try to fsck the / fs? Yes, I did. There were no problems at all. > > -- > > Sig. should be separated with "-- ", not "--". Claws appends that automatically ('-- ') and it's not only the right string but also displayed correctly on my laptop. O_o Dunno why it should be different in KMail? Jan-Hendrik Zab -- | Jan-Hendrik Zab | +49 (0)1773392888 | http://www.v3ng34nce.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] skype again
On Tuesday 19 June 2007 15:37, Matthew R. Lee wrote: > Right I've got skype installed and working, sort of. Which one? I am still running skype-1.3.0.53-r1, but I can see that all are hard masked except for skype-1.4.0.74-r1 (which is masked by keyword). I don't want to uninstall it because I currently use it almost on a daily basis. I may wait this out. > If I launch it from the start menu it asks me for my password, which I > enter, It then say "database error" and refuses to logon. > I've contacted skype, they suggested the following: > We suggest you delete ~/.Skype/shared.xml and ~/.Skype/skypename/config.xml > directories. You have to kill the process with Skype and restart your > computer as well. > It didn't work. > I can launch and use skype from the command line as root, which suggests it > might be a permissions issue. But the question is where, I've looked at > the group file and I cant see any obvious groups which my user needs to be > a member of. > Any suggestions, as always, greatly appreciated -- Regards, Mick pgpEQJfiWnK7M.pgp Description: PGP signature
Re: [gentoo-user] Can't login with a normal user
Hi, On Tue, 19 Jun 2007 16:39:19 +0200 Jan-Hendrik Zab <[EMAIL PROTECTED]> wrote: > The permissions of /bin seem to be okay: > > drwxr-xr-x 2 root root 4096 2007-06-19 14:53 bin/ Hm, and / ? I think PAM is alright, the log messages you posted indicate that a session _was_ opened, so it fails right after that happened. So if permissions on / are fine, too, I'd try strace'ing a login, just as I suggested earlier. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
Am Dienstag, 19. Juni 2007 schrieb Jan-Hendrik Zab: > On Tue, 19 Jun 2007 17:58:17 +0200 > > Dirk Heinrichs <[EMAIL PROTECTED]> wrote: > > Did you try to fsck the / fs? > > Yes, I did. There were no problems at all. Would have been too easy :-) > Claws appends that automatically ('-- ') and it's not only the right > string but also displayed correctly on my laptop. OK. > O_o Dunno why it > should be different in KMail? Hmm, maybe it's confused because of the two separators. It cuts off after the second one, which seems to be added be the mailing list manager. Didn't see that in the first reply. Sorry. Kmail does indeed strange things, as you can see below: > Jan-Hendrik Zab > -- > > | Jan-Hendrik Zab > | +49 (0)1773392888 > | http://www.v3ng34nce.org Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Grub/Boot font problems
On 6/19/07, Mark Knecht <[EMAIL PROTECTED]> wrote: Hi, On an install I'm trying to get working when grub comes up I get no screen. It's just black. If I hit enter the machine starts booting fine. Once it starts booing the first line or two looks good but then the fonts become messed up and pretty much unreadable. It stays this way I get to the two lines that say: Setting terminal to UTF-8 Setting user font and then everything becomes readable. What kernel config items do I want to look at to fix this? Or is there possibly a boot line option for this sort of thing? I am currently using no options at the boot line. Note that this is an older NVidia card. Thanks, Mark -- [EMAIL PROTECTED] mailing list I had this same problem on another system. IIRC, It turned out the splashimage for grub I was referencing had a typo. Try checking that. -- - Mark Shields
[gentoo-user] sound (?) but no sound
Hello, I've managed to emerge the gentoo base, X and KDE and all are running fine. My last problem is sound. After several attemps (with the kernel ALSA module and ALSA-driver), I've got my SB Live correctly loaded with ALSA Driver - at least there is no error message. I didn't load any module explicitely. The system loads emu10K1-gp However, I have no sound. The KDE control center does show options for midi on the SB Live 5.1, I've unmuted everything I could in alsamixer, kmix shows there is a sound device there. But kinfocenter says there is no information about the sound device, and when I start Amarok, it says there is "no suitable demux plugin". Everything has been compiled with the arts and oggvorbis flags, and I did an emerge -e word to ensure everything had been compiled with the actual flags. What am I missing? Thierry -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
On Tue, 19 Jun 2007 18:34:15 +0200 Hans-Werner Hilse <[EMAIL PROTECTED]> wrote: > > The permissions of /bin seem to be okay: > > > > drwxr-xr-x 2 root root 4096 2007-06-19 14:53 bin/ > > Hm, and / ? > > I think PAM is alright, the log messages you posted indicate that a > session _was_ opened, so it fails right after that happened. So if > permissions on / are fine, too, I'd try strace'ing a login, just as I > suggested earlier. 'strace -f su - jonsnow': http://v3ng34nce.org/debug.out Sorry, forgot to send the link due to some necessary work in the garden ;-) Permissions of '/': drwxr-xr-x 20 root root 4096 2007-06-17 16:21 // Jan-Hendrik Zab -- | Jan-Hendrik Zab | +49 (0)1773392888 | http://www.v3ng34nce.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
Hi, My friend had a problem, similar to yours. He could not login as normal user. In his system something happened and the permission of /usr/bin /bin and in some other directories changed to dr-x-- Restoring their permissions to drwxr-xr-x sovled his problem. I do not know, this could help you or not, just guessing. Regards, István -- IT szolgáltatások, alkalmazásszolgáltatás http://www.osbusiness.hu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
On Tuesday 19 June 2007 12:27:10 Jan-Hendrik Zab wrote: > 'strace -f su - jonsnow': > > [pid 4117] execve("/bin/zsh", ["-su"], [/* 6 vars */]) = > -1 EACCES (Permission denied) Note that the trace clearly shows that /bin/zsh isn't returning an error code (in which case pid 4117 would immediately die) but rather the execve call is returning an error code and the fork()ed copy of su continues executing (writes an error to stderr and then dies). According to http://www.die.net/doc/linux/man/man2/execve.2.html EACCES is only returned by this function for a few reasons: 1) Search permission is denied on a component of the path prefix of filename or the name of a script interpreter. (See also path_resolution(2).) (So, make sure /bin and / are executable by uid 1000.) 2) The file or a script interpreter is not a regular file. (So, make sure /bin/zsh is not a symlink, evidently that doesn't work.) 3) Execute permission is denied for the file or a script or ELF interpreter. (So, make sure that /bin/zsh and /lib/ld-linux.so* are executable. If /bin/zsh is a script make sure the interpreter listed after #! is executable. Proceed recursively if THAT is a script.) (Also, is it possible that you don't have the right /lib/ld-linux.so? See the above link for some detail [the paragraph just above RETURN VALUE]. ldd should be able to show you which one you need.) 4) The file system is mounted noexec. (So, make sure that you filesystem is currently mounted exec.) If all of those check out, I think you'll have to "use the source, luke". > Permissions of '/': > > drwxr-xr-x 20 root root 4096 2007-06-17 16:21 // That looks a little weird, but only because of the extra '/'. On my system: $ ls -ld / drwxr-xr-x 23 root root 664 2007-06-11 20:27 / -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] SELinux change from 2005.1 to 2006.1 policy update fails
On Monday 18 June 2007 20:38, Konstantinos Agouros wrote: > In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Mick) writes: > >On Sunday 17 June 2007 12:22, Konstantinos Agouros wrote: > >> Hi, > >> > >> I tried upgrading from the 2005.1 to the 2006.1 profile. Updating > >> > >> selinux-base-policy-20070329 fails with the following message: > >> >>> Setting SELinux security labels > >> /etc/selinux/targeted/contexts/files/file_contexts: No such file or > >> directory > > > >What is listed under /etc/selinux/targeted/contexts/files/ ? > > /etc/selinux is empty. > > When I started with hardened sources this was all put to > /etc/security/selinux so it seems I need some kind of migration script or > is a simple > softlink good enough? Sorry Konstantin, last time I used SELinux for a very short time was more than three years ago . . . I've forgotten most of it since then and things most likely have moved on. Perhaps someone more versed in SELinux could help here? > > >If the file is there then can you check that you are not emerging this > > whil= e=20 > >using FEATURES=3D"userpriv" in your make.conf. Aargh! Why was my previous message received like so "whil= e=20"? What email client are you using? -- Regards, Mick pgpo40DlvHfc9.pgp Description: PGP signature
Re: [gentoo-user] sound (?) but no sound
On Tuesday 19 June 2007 19:20:22 Thierry de Coulon wrote: > Everything has been compiled with the arts and oggvorbis flags, and I did > an emerge -e word to ensure everything had been compiled with the actual > flags. > > What am I missing? > > Thierry IMHO aRts isn't necessary any longer since there is dmix... it causes more pain than it helps. Disable the arts useflag and remerge every affected package: emerge -avN world Go to: -> KDE Controlcenter -> Sound & Multimedia -> Sound-System Uncheck the box "[x] Enable the sound system" Regards, Elias P. -- A really nice number: "09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0" signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] sound (?) but no sound
On Tuesday 19 Jun 2007 10:50:22 pm Thierry de Coulon wrote: > > What am I missing? > Try logging out of KDE and get into a virtual console session. From there try to play a sound file using alsaplayer or play command may be? That will clear out any doubts of aRts playing spoil sport. If you don't get any sound from there as well, then try to restart alsasound and look for any error msgs in dmesg. -- Regards, Abhay signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Can't login with a normal user
On Tue, 19 Jun 2007 13:17:57 -0500 "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote: [snip] > According to http://www.die.net/doc/linux/man/man2/execve.2.html EACCES is > only returned by this function for a few reasons: > > 1) Search permission is denied on a component of the path prefix of filename > or the name of a script interpreter. (See also path_resolution(2).) > > (So, make sure /bin and / are executable by uid 1000.) Both /bin and / have 'drwxr-xr-x' permissions and /bin/zsh has the same, of course without 'd'. > 2) The file or a script interpreter is not a regular file. > > (So, make sure /bin/zsh is not a symlink, evidently that doesn't work.) [EMAIL PROTECTED]:/usr] # file /bin/zsh /bin/zsh: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped So, it is a normal executable file. > 3) Execute permission is denied for the file or a script or ELF interpreter. > > (So, make sure that /bin/zsh and /lib/ld-linux.so* are executable. > If /bin/zsh is a script make sure the interpreter listed after #! is > executable. Proceed recursively if THAT is a script.) /lib64/ld-linux-x86-64.so.2 is a symlink to /lib64/ld-2.5.so which can be executed, /bin/zsh is /linked/ to the symlink and their permission are IMHO correct: -rwxr-xr-x 1 root root 137226 2007-06-17 16:20 /lib64/ld-2.5.so* lrwxrwxrwx 1 root root 9 2007-06-17 16:21 /lib64/ld-linux-x86-64.so.2 -> ld-2.5.so* > (Also, is it possible that you don't have the right /lib/ld-linux.so? See > the > above link for some detail [the paragraph just above RETURN VALUE]. ldd > should be able to show you which one you need.) Well, I think it's the right one. See above. > 4) The file system is mounted noexec. > > (So, make sure that you filesystem is currently mounted exec.) As stated earlier, there is no noexec flag: /dev/sda2 on / type ext3 (rw,noatime) > If all of those check out, I think you'll have to "use the source, luke". > > > Permissions of '/': > > > > drwxr-xr-x 20 root root 4096 2007-06-17 16:21 // > > That looks a little weird, but only because of the extra '/'. > > On my system: > $ ls -ld / > drwxr-xr-x 23 root root 664 2007-06-11 20:27 / That's due to the ZSH settings/command. PS. I really dislike this problem :D Jan-Hendrik Zab -- | Jan-Hendrik Zab | +49 (0)1773392888 | http://www.v3ng34nce.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] skype again
On Tuesday 19 Jun 2007 8:07:45 pm Matthew R. Lee wrote: > > Any suggestions, as always, greatly appreciated > Close all Skype instances (killall skype?) and then rename .Skype directory to something else. This database error sometimes occur when Skype does not shutdown cleanly. -- Regards, Abhay signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] skype again [solved]
On Tuesday 19 June 2007 15:04, Abhay Kedia wrote: > On Tuesday 19 Jun 2007 8:07:45 pm Matthew R. Lee wrote: > > Any suggestions, as always, greatly appreciated > > Close all Skype instances (killall skype?) and then rename .Skype directory > to something else. This database error sometimes occur when Skype does not > shutdown cleanly. Thanks that fixed it -- %%% Dr. Matthew R. Lee CASEB & ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
On Tuesday 19 June 2007 14:03:20 Jan-Hendrik Zab wrote: > I really dislike this problem :D /me agrees. My locally installed man page doesn't provide any other explanations for that return code, so I'm still betting it's one of those things. However, someone more skilled than I might be able to spend some time digging through libc and/or the kernel to determine an alternative cause. Does you dmesg show any kernel faults/backtraces? Sometimes they can muck up things enough to cause "weird errors" but not enough to crash the system. If so, I'd recommend capturing it and rebooting. Then, report the fault as a bug. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ signature.asc Description: This is a digitally signed message part.
[gentoo-user] Way to sync emails with SynCE?
Hi, I can already sync contacts (although raki crashes if I attempt to sync the contacts), tasks and appointments since yesterday. The main reason of installing SynCE was to sync my emails, however, I can't find an option in the configuration menu of raki. Google's just giving me dozens of howtos how to sync my contacts etc. Does anyone know a way to sync emails between Kontact and a pocket pc? Of course, I will post my solution here if there is any and I am the lucky one who finds it. Best regards, Namor ps.: Is it maybe multisync? The current gentoo build (...414-r4) crashes, so I had to install it manually from the svn/cvs/whatever if it really was the solution, respectively not if it isn't. :-) pgpALyXa5xMBM.pgp Description: PGP signature
Re: [gentoo-user] Can't login with a normal user
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Jan-Hendrik Zab wrote: >> On my system: >> $ ls -ld / >> drwxr-xr-x 23 root root 664 2007-06-11 20:27 / > > That's due to the ZSH settings/command. So, we are sure that /bin/zsh is not being run from a chrooted environment or something? - -- Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica Free Music: http://www.buanzo.com.ar/files/buanzo-ultimamente.ogg Consulting and Secure Mail Hosting: http://www.buanzo.com.ar/pro/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGeDYhAlpOsGhXcE0RCnYGAJ45ONGCkistMuvB+nZecaBMrFGSSwCcDx1R As8nkYU+x8PwHdMWoMaJI24= =8Jzs -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] sound (?) but no sound
Thierry de Coulon wrote: > Hello, > > However, I have no sound... > > What am I missing? > While not gentoo specific, this page: https://help.ubuntu.com/community/DebuggingSoundProblems has some good sound debugging info that helped me set up a kubuntu system. I did try most of the commands on my working gentoo system while debugging to give myself a reference. FYI, my problem was getting the S/PDIF optical output working, turned out the analog output was /dev/dsp while the digital output was /dev/dsp1. HTH, Roy -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Can't login with a normal user
On Tue, 19 Jun 2007 14:30:39 -0500 "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote: > My locally installed man page doesn't provide any other explanations for that > return code, so I'm still betting it's one of those things. However, someone > more skilled than I might be able to spend some time digging through libc > and/or the kernel to determine an alternative cause. Well, you win... I looked at least once at `ls -ld /*' and saw nothing out of the ordinary. Then, I just checked again and there it was, /lib64 had the permission '000'. Guess I should've checked more thorough, especially when you mentioned path_resolution(2), sorry. But at last everything works again, thanks everyone! Jan-Hendrik Zab -- | Jan-Hendrik Zab | +49 (0)1773392888 | http://www.v3ng34nce.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] KMail cutting too late (was: Can't login with a normal user)
Dirk Heinrichs wrote: > Am Dienstag, 19. Juni 2007 schrieb Jan-Hendrik Zab: > > O_o Dunno why it should be different in KMail? > > Hmm, maybe it's confused because of the two separators. It cuts > off after the second one, KMail by design cuts at the last separator instead of the first. Attached is a patch that changes this. -- Benno --- kdepim-3.5.1/kmail/kmmessage.cpp.old 2006-01-19 17:55:47.0 +0100 +++ kdepim-3.5.1/kmail/kmmessage.cpp 2006-03-03 16:26:48.0 +0100 @@ -628,9 +628,9 @@ static QString stripSignature( const QString & msg, bool clearSigned ) { if ( clearSigned ) -return msg.left( msg.findRev( QRegExp( "\n--\\s?\n" ) ) ); +return msg.left( msg.find( QRegExp( "\n--\\s?\n" ) ) ); else -return msg.left( msg.findRev( "\n-- \n" ) ); +return msg.left( msg.find( "\n-- \n" ) ); } QString KMMessage::smartQuote( const QString & msg, int maxLineLength )
Re: [gentoo-user] Seamonkey and saving pictures
Dale wrote: > Anybody know if it uses a external program to save pics with > and what it is? I don't use Seamonkey, but one way you might determine the answer to this question is by using strace on it to see if it is calling any external programs or just system calls. You should also be able to see what it's spending a lot of time on. You could also use top to verify that the 100% CPU time is actually being consumed by the Seamonkey process and not some other process. -- Randy Barlow http://electronsweatshop.com But you are a chosen race, a royal priesthood, a holy nation, a people for his own possession, that you may proclaim the excellencies of him who called you out of darkness into his marvelous light. Once you were not a people, but now you are God's people; once you had not received mercy, but now you have received mercy. ~1 Peter 2:9-10 -- [EMAIL PROTECTED] mailing list
[gentoo-user] Sync and glsa-check from cron
Hi there, I'm planning to set my mother up with a very simple gentoo box, with only what she needs etc. Ideally it should require almost no interaction from me, and just keep itself working and secure. So, I'm planning to run "sudo emerge --sync" and "sudo glsa-check -f new" from a cron job, perhaps once a week. I can set up the sudoers part all fine, but is there anything I should watch out for / consider when running these maintenance tools from a cron job? Thanks, -Nick -- GPG Key : www.njw.me.uk/nick.gpg.asc GPG Key ID: 04E4653F GPG Fingerprint: 9732 D7C7 A441 D79E FDF0 94F6 1F48 5674 04E4 653F pgpEUC64gubsG.pgp Description: PGP signature
Re: [gentoo-user] Sync and glsa-check from cron
Nick wrote: Hi there, I'm planning to set my mother up with a very simple gentoo box, with only what she needs etc. Ideally it should require almost no interaction from me, and just keep itself working and secure. So, I'm planning to run "sudo emerge --sync" and "sudo glsa-check -f new" from a cron job, perhaps once a week. I can set up the sudoers part all fine, but is there anything I should watch out for / consider when running these maintenance tools from a cron job? Thanks, -Nick I think cron can run jobs as root. --Joshua Doll -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Sync and glsa-check from cron
On Tuesday 19 June 2007 17:18:45 Nick wrote: > So, I'm planning to run "sudo emerge --sync" and "sudo glsa-check -f > new" from a cron job, perhaps once a week. > > I can set up the sudoers part all fine, but is there anything I > should watch out for / consider when running these maintenance tools > from a cron job? Not these two, they shouldn't depend significantly on your environment variables. Just make sure you are in the right group to run cron jobs. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Sync and glsa-check from cron
On Tuesday 19 June 2007 17:26:15 Joshua Doll wrote: > Nick wrote: > > I can set up the sudoers part all fine, but is there anything I > > should watch out for / consider when running these maintenance tools > > from a cron job? Oh, and I forgot to mention it in my other direct reply: You'll probably need to specify the full path to those commands. $PATH is generally different or unset when tasks are run from cron. > I think cron can run jobs as root. Yes, /etc/cron.{hourly,daily,weekly,monthly} contains scripts to be run as root. Also, some (most? all?) cron daemons allow root to have a crontab separate from the system crontab. If you have root access you can even fiddle with the system crontab, but that's not the "preferred" solution. Many cron daemons also allow jobs to be run as a user by maintaining a crontab for each user and "su"-ing to the correct user (and cleaning/setting the environment) before running the task. If I'm reading the question correctly, he will be adding these actions to his user's crontab and then sudo-ing to run the script. sudo can be set up to allow users to run tasks as root without a password. sudo also cleans the environment by default, but that can be turned off or made less strict. However, tasks run by cron (either as root or as another user) will have different environment variables set. e.g. /etc/profile and $HOME/.profile are not sourced in the shell (generally cron jobs aren't run in a shell at all). They will also generally not have a tty associated with them. Again, if I'm reading the OP correctly, (s)he was wondering if those changes will affect those two commands. Some commands / scripts are quite sensitive to the environment and may give different results (or not work at all) when run from a cron job. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Compile something with debugging information
On Tue, 2007-06-19 at 13:56 +0200, Alexander Skwar wrote: > Ingrid wrote: > > > All of a sudden, I'm having problems with the Postfix installation on > > my server. smtpd dies with a Signal 11. > > > > To debug this, I'd like to build postfix again, but this time portage > > should not strip the binaries and it should be compiled with debugging > > information compiled in (ie. with -g). > > > > How would I do that? > > FEATURES="nostrip -ccache keeptemp keepwork test noclean" \ I use 'splitdebug' instead of 'nostrip', because it doesn't leave your binaries full of debugging info, but puts it into /usr/lib/debug, which you can then delete at your convenience, without rebuilding. cya, -- Iain Buchanan Subject: Bug#42432: debian-policy: Proposal for CTV for Draft for Proof of Concept for Draft for Proposal for Proposal for CTV for a CTV to decide on a proposal for a CTV for the CTV on whether or not we shoud have a CTV on the /usr/doc to /usr/share/doc transition now, or later. -- Ed Lang -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Way to sync emails with SynCE?
On Tue, 2007-06-19 at 21:49 +0200, Roman Naumann wrote: > Hi, [snip] > Does anyone know a way to sync emails between Kontact and a pocket pc? WM2003 or WM2005? Probably not, in either case ;) There are some synce ebuilds in synce svn (which you can get from layman) which you might want to look at. First though, you might want to check on the synce-users list if this feature is even supported (I don't think so). As yet, I think they only have file, contact, todo, and calendar sync support... HTH, -- Iain Buchanan To a Californian, the basic difference between the people and the pigeons in New York is that the pigeons don't shit on each other. -- From "East vs. West: The War Between the Coasts -- [EMAIL PROTECTED] mailing list
[gentoo-user] hplip and hp-check
I have a network attached HP officejet 7310. It works fine with cups as a printer but I cannot get it reognized for scanning. The officejet has address 192.168.1.50 on our private network. I have named it ss (for south salem, our home town) Running hp-check produced several errors (full output below) 1. libnetsnmp-devel not found. Is this needed and if so where is it. eix libnetsnmp found nothing. 2. linux standard base LSB support not found 3. Complaint about a different print (nyu, a work machine) 4. Complaint that the officejet is not HPLIP installed. I could not figure out how to use the "hp:" backend to cups as recommended by hp-check. 5. As noted in the hp-check output, the scanner cannot be found by scanimage -L. I had previusly run scanimage -L manually with the same result. Any help would be appreciated. In particular I would like to 1. Use the scanner (main problem) 2. Have cups use the hp: backend (perhaps this will give insight on 1 as well). thanks, allan Output of hp-check ajglap gottlieb # hp-setup HP Linux Imaging and Printing System (ver. 1.7.4a) Printer/Fax Setup Utility ver. 4.5 Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed |Done. ajglap gottlieb # hp-check HP Linux Imaging and Printing System (ver. 1.7.4a) Dependency/Version Check Utility ver. 5.3 Copyright (c) 2001-7 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. --- | SYSTEM INFO | --- Basic system information: Linux ajglap 2.6.20-gentoo-r7 #3 SMP Sun May 6 17:50:09 EDT 2007 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux Detected distro (/etc/issue): unknown 0.0 Detected distro (lsb_release): error: lsb_release not found. Currently installed HPLIP version... HPLIP 1.7.4a currently installed in '/usr/share/hplip'. Current contents of '/etc/hp/hplip.conf' file: # hplip.conf [hpiod] # port=0 (dynamic IP port) port=2208 [hpssd] # port=0 (dynamic IP port) port=2207 [hplip] version=1.7.4a jdprobe=0 [dirs] home=/usr/share/hplip run=/var/run ppd=/usr/share/ppd/HP ppdbase=/usr/share/ppd doc=/usr/share/doc/hplip-1.7.4a # Following values are determined at configure time and cannot be changed. [configure] network-build=0 pp-build=0 gui-build=0 scanner-build=1 fax-build=0 cups11-build=0 installinitd= chkconfig= internal-tag=1.7.4.13 HPLIP running? Yes, HPLIP is running (OK). HPOJ running? No, HPOJ is not running (OK). Checking Python version... OK, version 2.4.4 installed Checking PyQt version... OK, version 3.17 installed. Checking SIP version... OK, Version 4.5.2 installed | DEPENDENCIES | Checking for dependency libcrypto - OpenSSL cryptographic library... OK, found. Checking for dependency gcc - GNU Project C and C++ Compiler... OK, found. Checking for dependency SANE - Scanning library... OK, found. Checking for dependency GhostScript - PostScript and PDF language interpreter and previewer... OK, found. Checking for dependency libjpeg - JPEG library... OK, found. Checking for dependency libpthread - POSIX threads library... OK, found. Checking for dependency make - GNU make utility to maintain groups of programs... OK, found. Checking for dependency python-devel - Python development files... OK, found. Checking for dependency Reportlab - PDF library for Python... error: Not found! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly. Checking for dependency PyQt - Qt interface for Python... OK, found. Checking for dependency cups-devel- Common Unix Printing System development files... OK, found. Checking for dependency ppdev - Parallel port support kernel module error: Not found! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly. Checking for dependency libusb - USB library... OK, found. Checking for dependency scanimage - Shell scanning program... OK, found. Checking for dependency libnetsnmp-devel - SNMP networking library development files... error: Not found! error: This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP. Checking for dependency Python 2.2 or greater - Python programming language... OK, found. Checking for dependency LSB - Linux Standard Base support... error: Not found! error: This is a REQUIRED dependency. Please make sure that this dependency is installed