[gentoo-user] named init-script error
Hello, How is it possible that: $ /etc/init.d/named start * Starting named ... usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record}] named: extra command line arguments is not working as $ start-stop-daemon --start --quiet --pidfile \ /var/run/named/named.pid --exec /usr/sbin/named -- -u named -n 1 works perfectly well. fragment of /etc/init.d/named: start() { ebegin "Starting ${CHROOT:+chrooted }named" checkconfig || return 1 start-stop-daemon --start --quiet --pidfile ${PIDFILE} --exec \/usr/sbin/named #removed this just for testing but nothing changed #\ -- -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t $CHROOT} eend $? } What do you think about it? -- Best Regards Piotr Jaroszynski begin:vcard fn;quoted-printable:Piotr Jaroszy=C5=84ski n;quoted-printable:Jaroszy=C5=84ski;Piotr email;internet:[EMAIL PROTECTED] x-mozilla-html:FALSE version:2.1 end:vcard
Re: [gentoo-user] named init-script error
> What do you have in /etc/conf.d/named? OPTIONS="" CPU="1" > What version of bind are we talking about? net-dns/bind-9.3.1-r4 -- Best Regards Piotr Jaroszynski -- gentoo-user@gentoo.org mailing list
[gentoo-user] named init-script error
Hello, sorry for posting it again and again but i hope this post will sort out any doubts you could have before. Running named from /etc/init.d/ is not working: $ /etc/init.d/named start * Starting named ... usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record}] named: extra command line arguments but running it with the same command from shell is. $ start-stop-daemon --start --quiet --pidfile \ /var/run/named/named.pid --exec /usr/sbin/named -- -u named -n 1 Is that a diffrence between my shell enviroment - bash and the script enviroment - #!/sbin/runscript ? In my /etc/conf.d/named I only have these 2 vars set: OPTIONS="" CPU="1" -- Pozdrowienia Piotr Jaroszynski -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to update /etc/services file?
> I found my /etc/services is too many ports are not included in the file! > eg telnet,ftp,http for UDP, Maybe they are not using UDP... > so, how to get a stronger /etc/services file? /etc/services is provided by baselayout package. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] xfce and qt-themes
Hello, How can i easly manage qtthemes on xfce? qtconfig is not so nice ;] It will be the best if qt apps would have the same theme as i use in xfce. -- Best Regards Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] xfce and qt-themes
Hello, How can i easly manage qt-themes on xfce? qtconfig is not so nice ;] It will be the best if qt apps would have the same theme as i use in xfce. -- Best Regards Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] xfce and qt-themes
Hello, How can i easly manage qt-themes on xfce? qtconfig is not so nice ;] It will be the best if qt apps would have the same theme as i use in xfce. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: xfce and qt-themes
dumb problem? :D -- Best Regards Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] local.start and sending an email
> try putting in the full path to the commands? > > the environment that local.start is in is not the same as your shell. Don't think so. It won't be a segfault then... My only idea is to add "echo local.start" to the script and check when it is executed. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happened with KDE?
> No idea, but 3.5.0_beta2 is solid here :) I wanted to switch to 3.5.0_beta2 too, but: emerge: there are no ebuilds to satisfy "~kde-base/libkpgp-3.5.0_beta2". (dependency required by "kde-base/certmanager-3.5.0_beta2" [ebuild]) I think kde 3.5.0_beta2 isn't a full release yet or hasn't been well/fully "imported" to portage. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] local.start and sending an email
> I did note something I consider quite odd, though. While rebooting, > local.start runs right _before_ inittab starts to bring the system to > runlevel 3. > > A couple thing here. > > rc-status shows /etc/init.d/local as part of the _default_ runlevel. > > /etc/init.d/local stop - warns about shutting a boot service. This > warning only happens the first time it is stopped after a reboot. > Subsequent stops and starts produce no warnings. > > It looks to me like _local_ is for some reason being started earlier > than it should, or my understanding of the boot process is limited. Strange for me. Maybe your local is added to both runlevels? Check rc-status boot. If it's not i would try rc-update add local boot and then rc-update del boot. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happened with KDE?
> > emerge: there are no ebuilds to satisfy "~kde-base/libkpgp-3.5.0_beta2". > > (dependency required by "kde-base/certmanager-3.5.0_beta2" [ebuild]) > > According to the certmanager ebuild, it only depends on beta1, which is > available. No, i think that you are misreading the ebuild. I haven't chagned a single thing in it and emerge reports above error. > > I think kde 3.5.0_beta2 isn't a full release yet or hasn't been > > well/fully "imported" to portage. > > I think it is more likely that some components have not changed since > beta1, so there is no need for updated ebuilds. I think that there is an error in certmanager-3.5.0_beta2 ebuild. Changing some things manualy to 3.5_beta1 causes the same error, but with another version: missing ...3.5.0_beta1... So it could be a version naming error: logicaly after 3.5_beta1 should be 3.5_beta2 not 3.5.0_beta2. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happened with KDE?
> > > No idea, but 3.5.0_beta2 is solid here :) > > > > I wanted to switch to 3.5.0_beta2 too, but: > > > > emerge: there are no ebuilds to satisfy "~kde-base/libkpgp-3.5.0_beta2". > > (dependency required by "kde-base/certmanager-3.5.0_beta2" [ebuild]) > > if you'd used the 'monolithic' (I like to call them the 'correct' ebuilds), > all you need is some /etc/portage/package.unmask magic to get a full blown, > nice Kde 3.5.0:beta2. I am not using the kde-desktop, but a lot of its components and updating one of them - kontact, for now, is not possilble with newest "monolithic" version of ebuilds. Try to emerge certmanager(one of the kontact's dependecies) and you will see... -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] local.start and sending an email
> rc-update del boot. Of course i meant rc-update del local boot. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happened with KDE?
> It looks like they changed the naming between beta1 and beta2, but the > ebuild appears to take this into account. Sorry for saying thtat you are misreading the ebuilds. I have just figured out how it works, but i think that is misleading: Unless you unmask the libkpgp package, emerge reports missing beta2 ebuild. I think that emerge instead of reporting that highest version of dep is missing, should report masked beta1 ebuild, because it matches the deprange(from 3.5_beta1 to 3.5.0_beta2). -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: syntax colorful highlight printing tool?
Maybe try using the mod_php code viewer. By fefault .phps files are coloured and displayed in web browser. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Kernel 2.6.14 & Nvidia
> Has anyone got Nvidia to work with Kernel 2.6.14 ? > I had it working with 2.6.12 , but got an error with 2.6.14 : > (EE) NVIDIA(0): Failed to initialise NVIDIA kernel module! > (EE) NVIDIA(0): *** aborting *** > (EE) Screen(s) found, but none have usable configuration Have you really tried running /sbin/NVmakedevices.sh as root before starting xorg? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System Locking Up
My Box sometime locks ups during high load, but it's really strange. For example emerging ~30 ebuilds in xfce Terminal: after 2h of emerging PC locked up during kcontrol. After rebooting and again trying to build kcontrol it locked up 4 times in a row, but compiling it from shell(without running xorg(xfce)) worked fine. I've tested RAM with bootable cd, disk with extended smart tests and got no errors... -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System Locking Up
> Forgot to mention that I had the same problem as Peter with X > terminals, from that day on compiles and high demand shell stuff only > with tty console. My pc locked up several times when compiling in tty, but with running xorg(xfce). Really strange for me, maybe it is the power supply but i have no idea how to connect PS with difference(never had a lock up without running xorg, but i rarely don't have running xorg) in running software. I will try the memtest86+, maybe it will find something(please no!). But how can i deeply test hd? And maybe some idea to test PS? Next time i'll try to monitor sensors output for PS voltage. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System Locking Up
> hdparm -Tt /dev/hda && hdparm -Tt /dev/hda && hdparm -Tt /dev/hda && > hdparm -Tt /dev/hda && hdparm -Tt /dev/hda Works fine on my pc. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System Locking Up
New debug info: when locked up my pc responses to ping and ssh connection(I get only login respone, i cannot actually log in). Moreover ssh logs "sshd: fatal: Timeout before authentication for IP". I am not sure what to think about it... -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Bash scripting
Hello, I have a var $blah=' `pwd`/blah ' (extra spaces for clearer reading), how can i change it to 'output of pwd/blah' ? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Bash scripting
And one more thing, is there any smarter way to read one line of file then head -n x file|tail -n 1 ? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Bash scripting
> try > blah=`pwd`'/blah' > > *Note the single quotes do not enclose `pwd` I know how to use `command`, but the problem is that i read blah from file. blah=`head -n x file|tail -n 1` and in the file i have lines `pwd`/blah. $ echo $blah `pwd`/blah This is the problem. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Bash scripting
> > And one more thing, is there any smarter way to read one line of file > > then head -n x file|tail -n 1 ? > > sed -n -e '12p' file.txt > > prints the 12th line of "file.txt" Many thanks for that. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Bash scripting
> try with eval then: Many thanks! I'd tried it before, but you showed me how to use it in proper way. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Bash scripting 2
Hello, How can i check whether i can create or overwrite a file? For example: If /etc/conf.d/net cannot be overwritten or created it return false. Overwriting test would be -w /etc/conf.d/net, but how can i check if i can create this file? I could check whether i can create new files in /etc/conf.d, but how can i get /etc/conf.d/ from /etc/conf.d/net ? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Bash scripting 2
> $ dirname /etc/conf.d/net > /etc/conf.d That's what i need, many thanks! -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Bash scripting 2
> file=/etc/conf.d/net > echo ${file%/*} I've gotten it working with dirname already, but this one is nice ;] Thanks for help. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Disable memory
Hello, Is there anyway to disable specific part of memory? memtest86 freezes only when egzamining first MB of it. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Disable memory
> LOL. Could it be bad you think?? If you have two sticks of ram, swap > them around and see if it fails somewhere else then. If it does, bad > ram, if not, memtest has a bug. > I'm not sure how to make it not test it all though. I have also never > had it lock up. I have tested some really old rigs as well as some new > ones. I think you have misunedstood me. My memory is bad for sure, beacause my PC freezes between-whiles. Memtest does the same during test 5(block move) when egamining 1st MB of it(you can set which part of memory you want to check). And my questions is, how can i disable this first MB from being used by system? I was thinking of setting ramfs in this 1st MB and then not using it, but is it possible? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Disable memory
> Try to check this: > http://rick.vanrein.org/linux/badram/ I'll give it a try. Thanks! -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Disable memory
> As a boot option for the kernel (e.g. /etc/lilo.conf): > append="mem=exactmap [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]" > > Somehing like this worked with older kernels, don't know how to > do it with 2.6 kernels. I have found somewhere that in 2.6 mem changed to memmap, but i'm not sure if it works in default kernel. Anyway what are those 3 parts in your example(640k 257M 8M)? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Best video player
Hello, what's the best video player in your opinion? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Kuroo & portage with cdb module
Hello, Is there any way to get kuroo working with portage with cdb module? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] gcc hardened and vanilla + distcc
Hello, I want to use gcc-vanilla on my desktop(x86) and gcc-hardened on my server(x86). Can i then use distcc? And second, harder(imho) step: can i also join amd64 with gcc-vanilla to my small distcc-net? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: gcc hardened and vanilla + distcc
> Hi, > Not very sure but think you can't. > When using hardened-gcc it generates code using SSP+PIE etc. specific code > so it's not compatible with vanilla-gcc. No experience with 64-bit CPUs. > HTH.Rumen $ gcc-config -l [1] i686-pc-linux-gnu-3.3.6 [2] i686-pc-linux-gnu-3.3.6-hardenednopie [3] i686-pc-linux-gnu-3.3.6-hardenednopiessp [4] i686-pc-linux-gnu-3.3.6-hardenednossp [5] i686-pc-linux-gnu-3.3.6-vanilla [6] i686-pc-linux-gnu-3.4.4 * [7] i686-pc-linux-gnu-3.4.4-hardenednopie [8] i686-pc-linux-gnu-3.4.4-hardenednopiessp [9] i686-pc-linux-gnu-3.4.4-hardenednossp [10] i686-pc-linux-gnu-3.4.4-vanilla Aren't both version compiled? In this hardened is default so it has no suffix. Or am i getting smth wrong? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: gcc hardened and vanilla + distcc
> Hi, > From this it seems you're using a hardened GCC (the vanilla is the one wo > any patches). But to really use it you must be using also a hardened > profile or (by memory) have "hardened pie" in your USE-flags to get a > hardened binary (check hardened project). HTH.Rumen So there is no way to distcc use not hardened version while system is set to use hardened version(with proper USE flasgs etc.)? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Merging lvm partitions
Hello, are you aware of any app (even for windows - don't kill me :D) that could merge partitions of 'Linux LVM' type? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Merging lvm partitions
> Why? If they really are LVM physical volumes, you can create a single > (or modify an existing) volume group span both, and create or grow > logical volumes without regards to the size of the individual > partitions. Just for order. I have 3 LVM partitions only beacause i've cleaned my disk off winshit in stages. And maybe one more thing: wouldn't it minimize logical volumes fragmentation? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] X.org process using a lot of resources
Hello, I have recently noticed that one of the X.org server's processes is using a lot of resources: X :0 -nolisten tcp -br -deferglyphs 16 is using 15% of cpu nearly all the time. xorg-x11 6.8.2-r6 Is this a known problem? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: ebuild for dev-java/sun-j2sdk?
> You see that little "f" there next to the ebuild? It has a fetch > restriction. If you look a little ways up it will give you the URL to > go to to accept the license and download it. After you download the > java thing, move it to /usr/portage/distfiles/ then emerge it. I do > this all the time and it is a PITA. I wish some other java would work > as good so I didn't have to put up with the manual crap. It's all about reading software license, which noone reads anyway :] > Oh, as far as I know, this is the only program that has this > restriction. I haven't seen any other at least. If you use > http-replicator and run repcacheman, it won't even download it from the > cache. It's there but you have to get it manually. Sucks huh? Sun did > it, not Gentoo. ibm java packages have the same restriction or even worse beacause you must register to dowload the packages. And there are also some packages like cedega, which you must even dowload by torrent :P -- Best Regards Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: (Newbie)Emerge Problem
As Mike pointed out, there is a Fetching files section in /etc/make.conf (/etc/make.conf.example) I think that adding this to /etc/make.conf will do the trick: FETCHCOMMAND="/usr/bin/wget -t 5 --proxy-user=spsingh --proxy-passwd=passwd --passive-ftp \${URI} -P \${DISTDIR}" RESUMECOMMAND="/usr/bin/wget -c -t 5 --proxy-user=spsingh --proxy-passwd=passwd --passive-ftp \${URI} -P \${DISTDIR}" Ohhh and you would also need export ftp_proxy="..." Sorry for posting this 'spoiler' of Mike's hint, but i think that it'll be better for Sumeet to know exactly what to do when he'll try installing gentoo again. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: ebuild for dev-java/sun-j2sdk?
> > And there are also some packages like cedega, which you must even > > dowload by torrent :P > > After you have subscribed (which is the real reason for the fetch > restriction)? > > It's only a <10MB rpm/deb/tgz, why would you have to download it by > torrent? > > In that particular case, Cedega is a commercial application, and only > subscribers (paying customers) may access the download link. Therefore > you are required to manually download the binary to > /usr/portage/distfiles, where Gentoo can then install it. > > It's really just a super-set of the same issue, you have to in some way > authenticate yourself before you may have the program; in sun and ibm's > case, that authentication involves accepting the license, in the case of > Transgaming, it involves paying money to subscribe. But it's the same > thing; the developer wants to know/specify who has access to their work, > and they enforce that. Gentoo respects that enforcement. Yeah i know that. It was rather a joke about how 'hard' is to install apps in gentoo :] And torrent part was about how 'hard' is to install cedega without subscription :] While writing this i thought about smth: cannot displaying licenses be implemented in emerge? If you want to progress(fetch the file) you must accept displayed license. Maybe sun will be happy with that... -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: ebuild for dev-java/sun-j2sdk?
> Click on the SDK and it takes you to a separate page with a long legal > license with an accept or decline. Then it triggers the download. Sun's > website handles all that, not the target system. Yes, I do know that and that's why i proposed a new solution for this - emerge would handle showing license and user will accept or decline it. If user accepts fetching starts... -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: no ebuilds available, how to unmerge them ?
> Thanks a lot, *emerge -C* does help! > > I only tried *emerge unmerge*. --unmerge (-C short option) I think that emerge unmerge and emerge -C are completly the same... -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: JPG attachments - Macintosh BinHex-encoded file
>Is this is some new virus or is there some setup that needs to be > done to be able to look at them? If it's a virus i'm pretty sure it's a windows' one. I would try to force opening it with some image viewer... -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alternative to netkit-telnetd
> I only need a telnet client and not the whole server part. Any suggestions > on alternatives to netkit-telnetd. The Client must behave just like the > standard telnet-client (I have some expect-scripts using telnet). netcat - the one and only. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] GCC 4.1.1 unable to compile kdelibs due to missing libstdc++
> And still I get this. Any ideas? I have run into many strange problems with confcache, have you flushed(just remove /var/tmp/confcache) it after upgrade to 4.1.1? -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Screen Power down
If you are using KDE check your settings in Control Center(Peripherals -> Display -> Power Control Tab). Second thing is to check if you don't have any power saving oprions in your monitor's OSD menu. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc-4.1.1
> any one here know any thing about these problems ?? after emerge -e world everything is working fine. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list