Re: [gentoo-user] Remote desktop to WinXP from Gentoo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: On Monday 02 October 2006 00:23, gentuxx wrote: gentuxx wrote: I forgot to state the obvious, in that, the ability to RDP needs to be enabled on the target WinXP box. So, in System Properties, go to the Remote tab, make sure Allow users to connect to this computer, select the appropriate users, and click OK. Thank you all for your advice! I don't think I checked if the server service is running on the WinXP box - I remember shutting it down some years ago in an effort to increase the security of this OS. Will look at it again when I get home tonight. Talking about security, is the vnc method the only way to secure this communication (for both machines)? Could there be perhaps ssh tunneling established between the two boxen before the rdp protocol kicks in? I believe the RDP connection is encrypted (using Diffie-Hellman or whatever algorithm Windows likes these days). A quick sniff gets what appears to be a key exchange and then a bunch of gobbledy-gook, so I think you should be good to go, if you're using RDP (and not VNC). This is based on vague recollections, and a quick sniff with wireshark, so, please, don't take it as gospel. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFIa4YTPA54hjTSp4RAjc8AJ492HgkNcRXWXy9Uhw227vzSp1ZwQCgkg3z wnhZzHbK3UOP7kkcnK3jdz8= =OZ4b -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Remote desktop to WinXP from Gentoo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: Hi All, I want to access remotely my father in law's laptop which is running WinXP to help him out with his IT problems. I assumed that krdc will do just that, but all it does is to ask me for the password for my kdewallet and then it fails. The error message tells me something about ensuring that remote desktop is properly installed. :-( Is there somewhere a How-to for me to follow, to be able to connect to a remote default installation WinXP PC, with no physical access to it, from my Gentoo machine? Failing a How-to, how do you do it? Mick, You first mentioned krdc, I use this all the time. I *do* use it with VNC, but had often wondered if it was possible to use the native RDC feature in WinXP. So, when you posed your question, I took a quick look. If you want to use RDP as opposed to VNC, you must specify this in the address of the host to which you are connecting, like so: rdp:/mydadsbox.some.isp.com This should get you going. You can also bypass kdewallet by de-selecting that option in the Preferences. Cheers. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFIEtTTPA54hjTSp4RAp40AJ9EcKTzcJAOdMWl55AN3SSuFlquxwCgtsXx oQ8yWgvuxlHRtTk7xxsV55M= =AwZY -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Remote desktop to WinXP from Gentoo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gentuxx wrote: Mick wrote: Hi All, I want to access remotely my father in law's laptop which is running WinXP to help him out with his IT problems. I assumed that krdc will do just that, but all it does is to ask me for the password for my kdewallet and then it fails. The error message tells me something about ensuring that remote desktop is properly installed. :-( Is there somewhere a How-to for me to follow, to be able to connect to a remote default installation WinXP PC, with no physical access to it, from my Gentoo machine? Failing a How-to, how do you do it? Mick, You first mentioned krdc, I use this all the time. I *do* use it with VNC, but had often wondered if it was possible to use the native RDC feature in WinXP. So, when you posed your question, I took a quick look. If you want to use RDP as opposed to VNC, you must specify this in the address of the host to which you are connecting, like so: rdp:/mydadsbox.some.isp.com This should get you going. You can also bypass kdewallet by de-selecting that option in the Preferences. Cheers. I forgot to state the obvious, in that, the ability to RDP needs to be enabled on the target WinXP box. So, in System Properties, go to the Remote tab, make sure Allow users to connect to this computer, select the appropriate users, and click OK. HTH. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFIE38TPA54hjTSp4RArtyAJ92wbqUGSspp9ES6IwwlNHfXO9lCwCg3Wx6 i1qF6LO5emV3MEeIPLtRF20= =p7+z -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gmail + Email Client = No way
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: On Sunday 27 August 2006 00:37, Samuel Baldwin wrote: For last year or so, I've been using Gmail with Firefox, all in browser, and have wanted to move to a local email client (using Thunderbird or Sylpheed-Claws). Unfortunately, the only time I have had any success with this was with the Windows port of Thunderbird. Assuming that the behaviour of Thunderbird is the same on both OS' then it may have something to do with the default settings (ie. format, locale, etc.) for date/month/year on your display manager? Otherwise, it only grabs about a hundred or so emails at a time, and will never get the latest emails. Just to prove the case, have you tried Kmail? Although, I don't have any insight into your issue, FWIW, I use Thunderbird just fine with gmail. There is some delay, of about 15 minutes or so, but it's never been an issue with me. Obviously, YMMV. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE8VOZTPA54hjTSp4RAhGgAKC6dEBBOZcZ5fFGYpAL8OjHryKmjACg8YcV YXXvg6+dHYXd8Sg01k4tRZ0= =AYNw -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryan Whitehead wrote: It is most likely a problem with your own build enviroment or bad use flags. Post the errors you are having to this group so we can see the build problems. Before you do that, try running repdev-rebuild. I don't know if the OP is having the same problem, but I've noticed that a lot of packages will fail on the md5 checksum or on the file size check. Usually, wiping out the distfile, and/or switching mirrors solves the problem. But lately, the next mirror in line will have the same issue. And, I run revdep-rebuild frequently. On Sat, 26 Aug 2006, Martin S wrote: I seem to find lots of bad repository servers when running emerge. emerge mozilla-firefox failed for quite some time (at least a day), emerge kuroo has failed for two days, just like emerge crafty. Does anyone know if there are any general problems with servers? Regards, Martin S - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE8d9DTPA54hjTSp4RAi78AJ4z8pGv9rIKt1quf4KccjppmAymaQCg3VrV N4bIAceBAvLWXn9mUrChjCE= =b6SP -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] .bashrc not getting sourced at login
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm having an issue with root's .bashrc not getting sourced at login. I was under the impression that .bashrc setting overrode those of /etc/bashrc. Is this not the case? Any idea why this isn't happening? TIA - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE7ddsTPA54hjTSp4RApFZAJ9FU1TErXqlDqDVo19E3+35/d8InwCgi9GR nyk4xNIuR1EprvgeIzxwlm4= =m66h -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Confusing boot up messages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Bothwick wrote: On Sun, 13 Aug 2006 20:39:07 -0700, gentuxx wrote: Yeah, baselayout was one of the packages updated. From what to what? genlop will tell you. If it was a path level update, it is unlikely anything has changed significantly in the configs. - From v1.11.15-r3 to v1.12.4-r2. How do I know if it was a path level update? I prefer dispatch-conf, which I ran. I use a script that I wrote that runs emerge -DuatvN world, emerge --depclean, revdep-rebuild, dispatch-conf and updates AIDE, all in series. I ran it again, just to check, but it doesn't pick up anything. So, how do I find out which config file hosed me? If you didn't accept updates to the default config files, emerging baselayout again should pull them back in. If you know which services were affected but didn't catch the exact messages, try stopping and starting them manually so the output doesn't get buried in all the other startup information. Setting RC_VERBOSE=yes in /etc/conf.d/rc may help. The config files were accepted. There didn't appear to be any significant changes which would have caused something like this. I'll try the RC_ setting and see if that provides any more clues. Thanks. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE4JSkTPA54hjTSp4RAhjrAJ9ua0Q5xXvgiJ1/lx1ZsiGMnfj4tgCgrFSN WiDCIZyo5qzgk7UC0lzg3QE= =3+Re -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Confusing boot up messages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just ran an update today, and after rebooting, I get a bunch of odd errors when all of the services are starting. I wasn't able to capture the exact warnings, and I couldn't find a log that contained them. But it was something to the effect of WARNING: foo service was scheduled to start after net.eth0. It builds as services are started, so that by the time I get to the login prompt, there's 6-10 service that I'm getting warned about. Once I login, I'm able to manually start gdm, and login to KDE. Everything *appears* normal. I have the right IP for eth0, /some/ of the services that I was warned about were started and some were not. The only package that I can think of that might have been even remotely related was sys-apps/baselayout-1.12.4-r2. What gives? - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE3+MMTPA54hjTSp4RAhm/AJ4oiXVcf1IQcGOpQbbIUyFwYnBqVwCg3Ewl cmHkvzqhGww+YfZHDaT0tAw= =f0pW -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udev hickup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Meino Christian Cramer wrote: From: Meino Christian Cramer [EMAIL PROTECTED] Subject: Re: [gentoo-user] Is the best solution still NIS+NFS? Date: Fri, 11 Aug 2006 16:03:58 +0200 (CEST) (ooops...sorry...wrong subject...) And wrong thread. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE3Pc7TPA54hjTSp4RAuaMAKDat4XENCPgxrcIaLi9wXzwzvgImwCg4yvO 4Tp31/Ormk9sIjzQ/IwnvkA= =cGNX -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to see network activity?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: this has been a fascinating conversation. thanks boris for starting it. i've tested almost everything that has been mentioned. i often have to monitor my computers over slow text-only ssh sessions, so my focus may be a bit different from others. tcpdump (and ethereal/wireshark) of course can not be beat for looking inside packets. to see what connections are open and how much data they are transferring, in a telnet/ssh situation i like bmon and iftop. i especially appreciate the graphical feature of bmon. in real graphical environments, i like etherape. thanks to everyone who has contributed so much wisdom On Thu, 10 Aug 2006, Norman Rie? wrote: Boris Sobolev schrieb: Hi folks, I would like to see the network activoity going in an out of my box. Any command to use for that? Thanks. Boris iftop is nice to watch, what connetions are currently open an how many traffic they produce. -- gentoo-user@gentoo.org mailing list For the graphically challenged, or the CLI initiated, try bwm-ng. I initially came across it because of its mention on Richard Bejtlich's blog. And fortunately there was an ebuild for it in portage! But it's a pretty cool tool, nonetheless. I too have tried a few of the different tools mentioned. I have loved etherape for quite some time (years). Good to know that there's an ebuild for it! I had almost forgotten all about it until Michael mentioned it. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE2tJOTPA54hjTSp4RAqCfAKClqK/MDzkqduqB3w013rqs/dS0dwCfYxi/ zkuA233QSyU69ZDXuwmUE7w= =o7Cc -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] kdebase won't re-build
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've recently found that bugs.gentoo.org is my new friend. However, this is sort of a one-off issue, and I haven't been able to find it there. I run `glsa-check -f all' maybe once a month, or less (I usually get packages/versions recommended in the glsa by routine updates). I watch the GLSA blog, so I know when something comes out, and I usually check which version I have. 999 times out of 1000, I've already got the updated package. Be that as it may, I've been trying to get through running the tool successfully, and I am getting stuck on rebuilding kdebase-3.4.3-r2. I'm actually using KDE 3.5, but would like to keep 3.4 around until the next major version comes around (I'm just anal that way). When it goes to rebuild kdebase, it quickly errors out with the following: configure: error: you need to install kdelibs first. If you did install kdelibs, then the Qt version that is picked up by this configure is not the same version you used to compile kdelibs. The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the _same Qt version_, compiled with the _same compiler_ and the same Qt configuration settings. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/kdebase-3.4.3-r2/work/kdebase-3.4.3/config.log !!! ERROR: kde-base/kdebase-3.4.3-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile kdebase-3.4.3-r2.ebuild, line 92: Called kde_src_compile kde.eclass, line 164: Called kde_src_compile 'all' kde.eclass, line 323: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 305: Called econf '--with-dpms' '--with-x-binaries-dir=/usr/bin' '--with-arts' '--with-ldap' '--with-cups' '--with-gl' '--with-ssl' '--with-samba' '--without-openexr' '--without-sensors' '--without-libusb' '--without-libraw1394' '--without-hal' '--with-pam=yes' '--without-java' '--with-x' '--enable-mitshm' '--without-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--enable-final' '--with-arts' '--prefix=/usr/kde/3.4' '--mandir=/usr/kde/3.4/share/man' '--infodir=/usr/kde/3.4/share/info' '--datadir=/usr/kde/3.4/share' '--sysconfdir=/usr/kde/3.4/etc' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. I've gone through some toolchain changes recently, so I wasn't completely surprised by this message the first time I got it. So, I immediately rebuilt qt, which actually rebuilt qt4 (I think qt3 is actually being detected by the kdebase ebuild, but we'll get to that). I also rebuilt kdelibs (at the same time as qt - qt was rebuilt first), then tried the kdebase rebuild again. I get the same error. So, I said to myself, ok, it's picking up qt3 (not qt4, which I just rebuilt) so I need to rebuild that. So I did. I did a `emerge -av =x11-libs/qt-3.3.6-r1', which completed successfully, but when attempting a rebuild of kdebase I get the same, above, error. Any pointers would be awesome. I've finally managed to get through an `emerge_world.sh' (custom script - if you're interested/curious contact me offlist) after about a month (or more) of skipping through packages to avoid stuff that wouldn't build. This is the icing on the cake. If I can get through the `glsa-check', I'll switch profiles to 2006.1 (then, of course, rebuild). TIA - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE2tcCTPA54hjTSp4RAtbQAKCWy//zI2XW181fUAVKOG9GL/2q4ACgjnnL /TfRlsQq2kUdsOLWxfMHx14= =bujM -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT? Samba/LDAP Hell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, This is slightly off topic for this list, but I thought I might get some response from the braintrust. ;-) A while back I started to configure samba to work with LDAP. I got as far as configuring slapd.conf and entering a tickler user. Now, I can't connect to any of my samba shares. Looking in the samba logs, when the daemon starts, it's still trying to connect to the ldap server to get the security.tbd. I've verified /etc/samba/smb.conf, /etc/conf.d/samba, and /etc/pam.d/samba and none contain any reference to ldap. But something is obviously still telling samba to use ldap. In an effort to get things working, I started with a *very* basic smb.conf, but still no joy. Here's the global section: [global] log file = /var/log/samba/%m.log workgroup = HOME debug level = 10 server string = gentoo Any advice as to where else to look to disable ldap would be appreciated. TIA - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEzE4tTPA54hjTSp4RAoIhAJ98CY031ZxTeQ0X02qDZEkPEGlwcwCglXnv n6h7spKdruLi5xRbxy1x1Ik= =KJvr -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT? Samba/LDAP Hell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael W. Holdeman wrote: On Sunday 30 July 2006 02:14, gentuxx wrote: Hi all, This is slightly off topic for this list, but I thought I might get some response from the braintrust. ;-) A while back I started to configure samba to work with LDAP. I got as far as configuring slapd.conf and entering a tickler user. Now, I can't connect to any of my samba shares. Looking in the samba logs, when the daemon starts, it's still trying to connect to the ldap server to get the security.tbd. I've verified /etc/samba/smb.conf, /etc/conf.d/samba, and /etc/pam.d/samba and none contain any reference to ldap. But something is obviously still telling samba to use ldap. In an effort to get things working, I started with a *very* basic smb.conf, but still no joy. Here's the global section: [global] log file = /var/log/samba/%m.log workgroup = HOME debug level = 10 server string = gentoo What version of samba? I am having fits with 3.0.23a, and authentication. I can't get any shares to authenticate except [public]. Nothing in the logs really giving a hint either, and not using ldap. I wonder if there is a problem we have made in gentoo? somewhere, PAM? I'm using 3.0.22-r3. I tend to use stable for the most part, except a few packages here and there. Anyway, here are some errors that I get in /var/log/samba/smbd.log when the service is (re)started: Connection to LDAP server failed for the 14 try! [2006/07/29 19:31:46, 0] passdb/secrets.c:fetch_ldap_pw(629) fetch_ldap_pw: neither ldap secret retrieved! [2006/07/29 19:31:46, 0] lib/smbldap.c:smbldap_connect_system(851) ldap_connect_system: Failed to retrieve password from secrets.tdb [2006/07/29 19:31:46, 1] lib/smbldap.c:another_ldap_try(1051) Connection to LDAP server failed for the 15 try! [2006/07/29 19:31:47, 0] passdb/secrets.c:fetch_ldap_pw(629) fetch_ldap_pw: neither ldap secret retrieved! [2006/07/29 19:31:47, 0] lib/smbldap.c:smbldap_connect_system(851) ldap_connect_system: Failed to retrieve password from secrets.tdb [2006/07/29 19:31:47, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (unknown) (Time limit exceeded) ...So this is how I know samba is looking for an LDAP server (which I don't want it to do). - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEzQQdTPA54hjTSp4RAlDEAJ44HjHcMEhxAya1KhnA9wLrE437BgCePplG XRQe44dNQ7trps/KWK+nq/s= =+KaU -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] how to get ssh host based authentication working?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Blinka wrote: Hi, folks, I'd like to get host based ssh authentication working within all the gentoo boxes on my home network. I've had no success yet - I hope someone can enlighten me! What I've done so far on the server side is: set HostbasedAuthentication yes in sshd_config set HostbasedAuthentication yes in ssh_config added /etc/ssh/shosts.equiv containing names of client boxes added /etc/ssh/ssh_known_hosts containing public host keys of client boxes Client boxes are configured similarly. When I try to ssh from one box to another, I always get a request for a password, which is what I'm trying to avoid. If you just want to be able to log into each system without using a password, why not set up publickey authentication instead of hostbased? The principle is essentially the same, except the authentication key is tied to the user instead of the system. Below is an excerpt from an attempt to ssh from one box to another while requesting the maximum amount of debugging info. It looks like ssh is trying to use host based authentication, but for some reason it fails. I'd appreciate any ideas about what might be going wrong. [ SNIP SSH DEBUG INFO ] I haven't done too much hostbased authentication, because it's historically insecure. But if I understand the man page correctly, the following needs to be in place: 1. Assumption: myserver is the ssh server, and tobey is the ssh client. 2. tobey must be in /etc/hosts.equiv or /etc/ssh/shosts.equiv on myserver 3. a. The current user attempting to login to myserver from tobey must exist on myserver and is the account being logged into through the ssh session OR b. the account being logged into on myserver must have a ~/.rhosts or ~/.shosts file containing the name of the ssh client (tobey) in its home directory 4. tobey's host key must be located in /etc/ssh/ssh_known_hosts and/or ~/.ssh/known_hosts on myserver Please verify that you have all of the above set up for each client and server pair. You might be better off trying one system as the server and one system as the client until you are able to get a successful connection. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEzEB5TPA54hjTSp4RAmQiAJ4sT7GUXAghXG4uqMKMlIkliQWhIACglJNP PDOWDdzPYguBhPIzbC8vTmM= =YDMQ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] unable to activate dma mode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raymond Lewis Rebbeck wrote: On Friday, 28 July 2006 22:36, Stefán István wrote: Hello! I'm not able to activate dma mode for cdrom drive in my laptop. # hdparm -d1 /dev/hdd /dev/hdd: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma= 0 (off) [snip] I think the problem is that there is no driver for this chipset compiled into the kernel. But I don't know which driver should be compiled into. I tried Intel PIIXn but it didn't help. Thanks for the help in advance, István You will need to set CONFIG_IDE=n, enable SCSI cdrom support (CONFIG_BLK_DEV_SR) and enable the Intel PIIX sata driver (CONFIG_SCSI_ATA_PIIX). Isn't this deprecated? Wouldn't a better choice be to install the SATA driver ebuild? (Mainly trying to eliminate my own confusion here.) DMA should then work perfectly fine. However one side effect is that your cdrom drive will become /dev/sr0, although I guess this can be fixed with a udev rule. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEymmeTPA54hjTSp4RAq00AKCCmRYYwKBE6fUCSRN70wHO7VMlSgCfQZsE 5D5oHh61ECHFb9CNJEgP17w= =wpX1 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Weird dependencies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zac Medico wrote: gentuxx wrote: Hi all, I'm trying to run a routine `emerge -DuatvN world' and am getting some funky dependency errors. Here's the error I get: emerge: there are no ebuilds to satisfy =dev-java/kaffe-1.4. (dependency required by net-dns/libidn-0.5.15 [ebuild]) Portage is confused by old-style virtual/jdk and virtual/jre providers. The latest version of java-check-environment should help you correct this. Please refer to the Java upgrade guide: http://www.gentoo.org/proj/en/java/java-upgrade.xml Zac Ok, trying the upgrade process at the above link fails when I try to emerge the packages specified by java-check-environment. This is the error: [EMAIL PROTECTED] ~ # emerge -ptv =blackdown-jdk-1.4* kaffe These are the packages that would be merged, in reverse order: Calculating dependencies | emerge: there are no ebuilds to satisfy =dev-java/kaffe-1.4. (dependency required by dev-java/gjdoc-0.7.7-r1 [ebuild]) What's weird (and this is what I meant to post before) is that an `eix kaffe' reports that the latest version available (even masked) is 1.1.7. So where is this v1.4 stuff coming from? I just want to be able to finish the routine update. Please help! -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEx9OqTPA54hjTSp4RAkZdAKCUmIfBQ+Hys+rq18g7woTWAstwdwCdH4IO 2FTYN0pxPZZCFa6DC+HKMz0= =Mv2o -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Weird dependencies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm trying to run a routine `emerge -DuatvN world' and am getting some funky dependency errors. Here's the error I get: emerge: there are no ebuilds to satisfy =dev-java/kaffe-1.4. (dependency required by net-dns/libidn-0.5.15 [ebuild]) !!! Problem resolving dependencies for kde-base/kdeutils !!! Depgraph creation failed. If I run a `eix kaffe' this is what I get: * dev-java/kaffe Available versions: 1.1.4 1.1.4-r1 ~1.1.5-r1 ~1.1.6-r2 ~1.1.7_rc1 ~1.1.7 Installed: 1.1.4-r1 Homepage:http://www.kaffe.org/ Description: A cleanroom, open source Java VM and class libraries version 1.4 isn't even an option! I'm *guessing* that this is a bug with the ebuild, but I wanted to see if anyone else might have seen the same thing before I went filing a new bug. Any ideas? Am I totally insane? Or is the ebuild? - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFExjawTPA54hjTSp4RAvUrAJ0W7+dEsUuu++NW9wo6D1YnlhZvxACeIOdY 0LDrwDP7oEMcNirjD03c/Zo= =ntBQ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Weird dependencies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zac Medico wrote: gentuxx wrote: Hi all, I'm trying to run a routine `emerge -DuatvN world' and am getting some funky dependency errors. Here's the error I get: emerge: there are no ebuilds to satisfy =dev-java/kaffe-1.4. (dependency required by net-dns/libidn-0.5.15 [ebuild]) Portage is confused by old-style virtual/jdk and virtual/jre providers. The latest version of java-check-environment should help you correct this. Please refer to the Java upgrade guide: http://www.gentoo.org/proj/en/java/java-upgrade.xml Zac I meant to post more info.I must have gotten distracted or something. Thanks for the link, I'll take a look at it and see if it solves the problem. If not, I'll post the rest of the info that I had orginally planned. ;-) Thanks. -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFExwBwTPA54hjTSp4RAjn1AKCiaMzTh95uJDLsHurDJtoiK8NDrQCggKKs Oje576oK7RA16eQK6wd4V2s= =4mXf -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] LiveCD genkernel fails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to build a liveCD for a single-purpose test, and am having some issues getting the kernel to install. I actually think that this error is in the initrd generation, but I'm not totally positive. I've been using the instructions on the wiki [1], and he recommends using genkernel to generate the kernel and initrd. The genkernel command producing the errors below is `genkernel all --color - --no-menuconfig --no-clean --gensplash --install', but using the options recommended in the wiki (all -no-bootsplash -no-clean - -menuconfig) produces the same errors. dash/parser.c: In function 'readtoken1': dash/parser.c:849: warning: 'prevsyntax' may be used uninitialized in this function dash/parser.c:838: warning: variable 'out' might be clobbered by 'longjmp' or 'vfork' dash/parser.c:842: warning: variable 'quotef' might be clobbered by 'longjmp' or 'vfork' dash/parser.c:843: warning: variable 'dblquote' might be clobbered by 'longjmp' or 'vfork' dash/parser.c:844: warning: variable 'varnest' might be clobbered by 'longjmp' or 'vfork' dash/parser.c:845: warning: variable 'arinest' might be clobbered by 'longjmp' or 'vfork' dash/parser.c:846: warning: variable 'parenlevel' might be clobbered by 'longjmp' or 'vfork' dash/parser.c:847: warning: variable 'dqvarnest' might be clobbered by 'longjmp' or 'vfork' dash/parser.c:848: warning: variable 'oldstyle' might be clobbered by 'longjmp' or 'vfork' dash/parser.c:849: warning: variable 'prevsyntax' might be clobbered by 'longjmp' or 'vfork' dash/parser.c:835: warning: argument 'syntax' might be clobbered by 'longjmp' or 'vfork' - -- * udev: Compiling... COMMAND: make j1 EXTRAS=extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware USE_KLIBC=true KLCC=/var/tmp/genkernel/16341.7588.31471.12235/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all * Gentoo Linux Genkernel; Version 3.3.11d * Running with options: all --color --no-menuconfig --no-clean - --gensplash --install * ERROR: Failed to compile the EXTRAS=extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware USE_KLIBC=true KLCC=/var/tmp/genkernel/16341.7588.31471.12235/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all target... * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to [EMAIL PROTECTED] Please include * as much information as you can in your bug report; attaching * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! * I'm not too concerned about kernel features, but I will need this to boot on a number of varied systems, most laptops. Any help would be greatly appreciated. TIA - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEtxGETPA54hjTSp4RAmWSAJ0TvrSkyl+9KQxvv8GLgtGInUJuXQCfcGAp zfg05sUwv9mks9vUxq34h1s= =BdW9 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] libquicktime-0.9.4 failes to compile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, given recent experience with imagemagick and libpng, I'm thinking this is likely a bug as well. This, and OOo-bin are the last two packages that revdep-rebuild is wanting to rebuild. I tried unmasking the testing version, but that has one or more bugs[1] associated with it as well, so it's not an option. This is the error I get for this one: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. - -I../../include/quicktime -I../../include -I../../include/ -O2 - -march=pentium4 -fomit-frame-pointer -march=pentium -O2 - -march=pentium4 -fomit-frame-pointer -MT RTjpeg.lo -MD -MP -MF .deps/RTjpeg.Tpo -c RTjpeg.c -fPIC -DPIC -o .libs/RTjpeg.o In file included from RTjpeg.c:40: RTjpeg.h:99: warning: 'packed' attribute ignored RTjpeg.c: In function 'RTjpeg_b2s': RTjpeg.c:101: error: invalid lvalue in assignment make[3]: *** [RTjpeg.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/libquicktime-0.9.4/work/libquicktime-0.9.4/plugins/rtjpeg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libquicktime-0.9.4/work/libquicktime-0.9.4/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libquicktime-0.9.4/work/libquicktime-0.9.4' make: *** [all] Error 2 !!! ERROR: media-libs/libquicktime-0.9.4 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile libquicktime-0.9.4.ebuild, line 58: Called die I tried running the emerge without the jpeg and png use flags with the same result. If any one else has had experience with this, I would appreciate a pointer, or if they can duplicate the error, I'll file a bug. [1] http://bugs.gentoo.org/show_bug.cgi?id=128807 - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEsLxATPA54hjTSp4RApXvAJsHUFBHWkwkWhAZl7QRgxXwT3GCEQCgpeVA bXVZ1Of420l6IpcKAA+z+PQ= =kxwx -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Imagemagick fails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 revdep-rebuild tells me that I need to remerge ImageMagick, but then fails during the remerge. This is the error I get: libxml2 -O2 -march=pentium4 -fomit-frame-pointer -Wall -pthread -MT coders/coders_png_la-png.lo -MD -MP -MF coders/.deps/coders_png_la-png.Tpo -c -o coders/coders_png_la-png.lo `test -f 'coders/png.c' || echo './'`coders/png.c; \ then mv -f coders/.deps/coders_png_la-png.Tpo coders/.deps/coders_png_la-png.Plo; else rm -f coders/.deps/coders_png_la-png.Tpo; exit 1; fi coders/png.c: In function 'ReadOnePNGImage': coders/png.c:1755: warning: implicit declaration of function 'png_access_version' coders/png.c:1764: error: 'png_ptr' undeclared (first use in this function) coders/png.c:1764: error: (Each undeclared identifier is reported only once coders/png.c:1764: error: for each function it appears in.) make: *** [coders/coders_png_la-png.lo] Error 1 make: *** Waiting for unfinished jobs !!! ERROR: media-gfx/imagemagick-6.2.5.5 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile imagemagick-6.2.5.5.ebuild, line 86: Called die Any ideas? - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEsEPUTPA54hjTSp4RAt1AAJ0Uwn+pbGdjEIAFIAvKg+zygmYmpwCffSW6 JoklQthphWWLh4h/qoxNPzw= =zYM/ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Imagemagick fails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ryan Tandy wrote: gentuxx wrote: revdep-rebuild tells me that I need to remerge ImageMagick, but then fails during the remerge. This is the error I get: libxml2 -O2 -march=pentium4 -fomit-frame-pointer -Wall -pthread -MT coders/coders_png_la-png.lo -MD -MP -MF coders/.deps/coders_png_la-png.Tpo -c -o coders/coders_png_la-png.lo `test -f 'coders/png.c' || echo './'`coders/png.c; \ then mv -f coders/.deps/coders_png_la-png.Tpo coders/.deps/coders_png_la-png.Plo; else rm -f coders/.deps/coders_png_la-png.Tpo; exit 1; fi coders/png.c: In function 'ReadOnePNGImage': coders/png.c:1755: warning: implicit declaration of function 'png_access_version' coders/png.c:1764: error: 'png_ptr' undeclared (first use in this function) coders/png.c:1764: error: (Each undeclared identifier is reported only once coders/png.c:1764: error: for each function it appears in.) make: *** [coders/coders_png_la-png.lo] Error 1 make: *** Waiting for unfinished jobs !!! ERROR: media-gfx/imagemagick-6.2.5.5 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile imagemagick-6.2.5.5.ebuild, line 86: Called die Any ideas? Try remerging libpng and/or libxml2. Thanks for the response, but, unfortunately, that didn't help. I re-ran revdep-rebuild with the -pv options this time, and realized that tetex and graphviz also need to be recompiled. They were also immediately before imagemagick in the rebuild order. I checked `equery depgraph' and both were in the depgraph for imagemagick, so I recompiled both of those and ran `fix_libtool_files.sh'. That didn't seem to work either. I was able to capture this when it failed: ImageMagick is configured as follows. Please verify that this configuration matches your expectations. Host system type : i686-pc-linux-gnu OptionValue - - Shared libraries --enable-shared=yes yes Static libraries --enable-static=yes yes Module support--with-modules=yesyes GNU ld--with-gnu-ld=yes yes Quantum depth --with-quantum-depth=16 16 Delegate Configuration: BZLIB --with-bzlib=no no DPS --with-dps=yesno FlashPIX --with-fpx=no no FreeType 2.0 --with-ttf=yesyes GhostPCL None pcl6 (unknown) Ghostscript None gs (8.15.2) Ghostscript fonts - --with-gs-font-dir=/usr/share/fonts/default/ghostscript /usr/share/fonts/default/ghostscript/ Ghostscript lib --with-gslib=no no Graphviz --with-gvc=no no JBIG --with-jbig=nono JPEG v1 --with-jpeg=yes yes JPEG-2000 --with-jp2=no no LCMS --with-lcms=nono Magick++ --with-magick-plus-plus=yes yes PERL --with-perl=nono PNG --with-png=yesyes TIFF --with-tiff=nono Windows fonts --with-windows-font-dir= none WMF --with-wmf=no no X11 --with-x=yes yes XML --with-xml=yesyes ZLIB --with-zlib=yes yes What's interesting to me is that all of the expected option/value pairs match and/or make sense except for DPS. So I installed gtkDPS to see if that would make any difference. The DPS option was now enabled as expected, but the compile still fails in the same spot. -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEsGmCTPA54hjTSp4RAhREAJsHwvHGQrHvsIIZxqUL6MusRZOSOQCfWP05 hYh8Lec3eRXmI+a6iuwFzbM= =s5Ca -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Things that can be improved
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rafael Fernández López wrote: Hi, This is not flame war. I love Gentoo, and it is the distribution that fits me perfectly, but I've been wondering this last year what things can be improved in this wonderful distro. The first thing that I'd change is etc-update or dispatch-conf. I'd suggest to create some kind of tool like dpkg-reconfigure in Debian. More intuitive than reading /etc files and writing them by hand that is more probably to be mistaken when writing. I do agree that these tools fall slightly short of the goal - which IMHO it to effectively manage config files when updating packages, and to dumb down the management process. I've noticed that a majority of the *.conf updates (especially recently) tend to be changing the date(s) in the Gentoo copyright notice (from 2005 - 2006) and/or cvs document version header updates (e.g. v1.5 to v1.6). I typically use dispatch-conf, so maybe this is what etc-update calls trivial updates. Without going into too many specifics (since the thread wasn't started in a specific manner), one of my pet peeves about dispatch-conf is that the new, unmodified *.conf files take precedence. I know there's the merge option, and admittedly, I haven't quite figured out how to use that effectively. But if a new *.conf file is presented, shouldn't/couldn't it diff the new with the old and automatically incorporate the differences into the new *.conf file? More to the point, as I'm not familiar with dpkg-reconfigure, or debian for that matter, why not point out specific short-comings of the existing tools? Or propose a better approach to solving the *.conf file management issue (philosophically or technically - i.e. write one)? Second thing that I'd improve is a security one. I know that emerge is a very cared package, but it is a script. Suppose that someone commits portage with a emerge failure in its code (he forgot a comma !!)... if someone updates portage won't be able to update it again because it will fail ever and ever again... So I suggest to have a backuped emerge script that we are sure that worked (like the last emerge tool that was used), and if the new emerge tool is mistaken (so that user doesn't need to know python) only has to run regenemerge for example, and will have the latest emerge working tool. I don't know if this is technically a security issue, moreso an availability issue (which, yes, technically falls under security in terms of confidentiality-integrity-availability, but in my mind falls slightly outside of the umbrella). While you present a valid concern, I believe this is addressed by the whole masking/testing process that is currently architected into portage. If a portage developer managed to leave out a comma when doing a cvs commit, it's *very* likely going to be found before portage is moved to the stable tree. Worst case scenario, if something like this *were* to fall through the cracks, grab your trusty install-CD and revert to a known-good portage snapshot. Between the lists/forums/announcements/wiki/etc., I'm sure that something like this would surface /immediately/. Just my 2¢... -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFErsVqTPA54hjTSp4RApBDAKC9nlQd45p1UkwM8nD+WGOh+ZLewwCgrX9q DvV9ZNnD3GQjYEtd4DeCR0w= =sguh -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2006.0 - no universal anymore? (use LiveCD?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Knecht wrote: Hi, I am moving my son from FC2 to Gentoo today. I went to get an up to date universal CD and it seems that there isn't one. Is the preferred stage 3 method of install these days to use the LiveCD and then just go to the console and work like the old days? Currently I'm ssh-ing off all his old stuff as back. If someone knows of any problems or things to be careful about when working this way drop me a note back on or off list. Thanks, Mark I'm not sure of the major differences between the liveCD and the Universal CD. I think the Universal CD just contained mored packages (portage snapshots, etc.). I saw the definitions of each CD somewhere yesterday, but can't seem to place my finger on it now. I think the only difference is that you have to download the portage snapshot from the web (which isn't a bad idea anyway). The Installation Handbook covers this. HTH - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEquM6TPA54hjTSp4RAl68AJ0WmDIVsKGHVEmOODK6OT3UKLu4nACgiHP4 tpY2jUo+zsixmbdr40vtoUI= =TSfK -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2006.0 - no universal anymore? (use LiveCD?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Knecht wrote: On 7/4/06, gentuxx [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Knecht wrote: Hi, I am moving my son from FC2 to Gentoo today. I went to get an up to date universal CD and it seems that there isn't one. Is the preferred stage 3 method of install these days to use the LiveCD and then just go to the console and work like the old days? Currently I'm ssh-ing off all his old stuff as back. If someone knows of any problems or things to be careful about when working this way drop me a note back on or off list. Thanks, Mark I'm not sure of the major differences between the liveCD and the Universal CD. I think the Universal CD just contained mored packages (portage snapshots, etc.). I saw the definitions of each CD somewhere yesterday, but can't seem to place my finger on it now. I think the only difference is that you have to download the portage snapshot from the web (which isn't a bad idea anyway). The Installation Handbook covers this. HTH Thanks. By the time I saw you message I had already managed to build and reboot the machine. It's up and running but no networking yet so still to solve that one but at least it's Gentoo now. Thanks again, Mark Have you tried modprobe'ing the module you might need for your NIC (3c59x)? Then running `net-setup eth0' from the install CD? I had an issue similar on one of my Sun systems, but was able to get it up that way. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEqzwdTPA54hjTSp4RAvfJAKCh94vuw0T+hJ7g/++g1nP2XAUMowCeOrqu S6aC3jyxuPDQzr6bsvN+1xA= =I0fe -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] revdep-rebuild find broken links, but doesn't fix them.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I have a script that runs `emerge world', and the circuit of utilities, including revdep-rebuild. The last time I ran it, revdep-rebuild finds a bunch of broken links but it doesn't fix them. So, how do I go about re-emerging the packages that have the broken links? (I think this might be similar to a problem that someone else was having, but not sure.) And, why isn't revdep-rebuild rebuilding them? Here's an *abbreviated* list: Checking dynamic linking consistency... broken /usr/kde/3.4/lib/kde3/kded_ksvnd.la (requires /-lstdc++) broken /usr/kde/3.4/lib/kde3/kded_ksvnd.la (requires /-lstdc++) broken /usr/kde/3.4/lib/kde3/kio_svn.la (requires /usr/lib/libsvn_client-1.la) broken /usr/kde/3.4/lib/kde3/kio_svn.la (requires /usr/lib/libsvn_wc-1.la) broken /usr/kde/3.4/lib/kde3/kio_svn.la (requires /usr/lib/libsvn_ra-1.la) broken /usr/kde/3.4/lib/kde3/kio_svn.la (requires /usr/lib/libsvn_ra_local-1.la) broken /usr/kde/3.4/lib/kde3/kio_svn.la (requires /usr/lib/libsvn_repos-1.la) broken /usr/kde/3.4/lib/kde3/kio_svn.la (requires /usr/lib/libsvn_fs-1.la) broken /usr/kde/3.4/lib/kde3/kio_svn.la (requires /usr/lib/libsvn_fs_fs-1.la) broken /usr/kde/3.4/lib/kde3/kio_svn.la (requires /usr/lib/libsvn_fs_base-1.la) broken /usr/kde/3.4/lib/kde3/kio_svn.la (requires /usr/lib/libsvn_ra_svn-1.la) BIG SNIP broken /usr/lib/xmms/Input/libmp4.la (requires /usr/lib/libfaad.la) done. (/root/.revdep-rebuild.3_rebuild) TIA - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEoeQwTPA54hjTSp4RAlydAJ0YPvtyiFvK2Is5PvnNP2zSyl7o6ACgrIyL KCj310LBPCk+vIuliXYE/qg= =iwLZ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gkrellm-1.2.13 emerge fails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vladimir G. Ivanovic wrote: On Sat, 2006-06-17 at 22:04 -0700, gentuxx wrote: I was going through and cleaning out some older slotted packages. One of which was gkrellm-1.2.13. I use (and LOVE) gkrellm2, but really have no interesting in keeping 1.2.13 around. But whenever I run an `emerge -Duatv world', 1.2.13 pops up as needing to be installed. I haven't been able to figure out why. What does --tree say the reason gkrellm-1.2.13 is needed? What is the output of emerge? --- Vladimir It seems that a couple of plugins were gKrellm plugins (instead of gKrellm2). I need to change that color scheme. The blue is too easy to ignore. ;-) Still curious why the compile was failing, but I don't need it, so I'm not going to worry about it. Thanks for the reply Vladimir. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFElgrBTPA54hjTSp4RAqpDAKChNPedIr2fp1SnNyyz/nDPB7K08QCgvcvf uvbpPu6mO+D2N6PL9kIUYfQ= =e5i9 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] gkrellm-1.2.13 emerge fails
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I was going through and cleaning out some older slotted packages. One of which was gkrellm-1.2.13. I use (and LOVE) gkrellm2, but really have no interesting in keeping 1.2.13 around. But whenever I run an `emerge -Duatv world', 1.2.13 pops up as needing to be installed. I haven't been able to figure out why. And on top of that, it fails during the compile. I have a handy little script that runs emerge world, --depclean, revdep-rebuild, dispatch-conf, then updates aide. So, when gkrellm fails, my script moves on to the next step even though all of the new/updated packages aren't yet installed. So, my question is this: why is gkrellm-1.2.13 trying to install, and why is it failing? Is there any way to tell portage/emerge that I only want gkrellm2? Here's the last bit of broken stuff from the gkrellm failed emerge: chart.c chart.c: In function 'set_auto_grid_resolution': chart.c:473: error: invalid storage class for function 'set_grid_resolution_spin_button' chart.c:503: warning: implicit declaration of function 'set_grid_resolution_spin_button' chart.c: At top level: chart.c:1677: warning: conflicting types for 'set_grid_resolution_spin_button' chart.c:1677: error: static declaration of 'set_grid_resolution_spin_button' follows non-static declaration chart.c:503: error: previous implicit declaration of 'set_grid_resolution_spin_button' was here make[1]: *** [chart.o] Error 1 make[1]: *** Waiting for unfinished jobs make[1]: Leaving directory `/var/tmp/portage/gkrellm-1.2.13/work/gkrellm-1.2.13/src' make: *** [all] Error 2 !!! ERROR: app-admin/gkrellm-1.2.13 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile gkrellm-1.2.13.ebuild, line 20: Called die !!! (no error message) TIA - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFElN7XTPA54hjTSp4RAj02AJkBZd1M8St/gxzVZ5HHAigFqmuHQwCg37sQ ff5jtO+B3NfDq+FX4vzzMoQ= =X9Gn -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Which process is using port 5060 ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave S wrote: Hi all, Apparently my SIP port 5060 is in use. Is there a Linux command to tell me what process is using this port. I have a vague memory of seeing such a command but just cannot remember or find it. Many thanks in advance Dave `netstat -vapntu' should do the trick. IIRC it will at least give you the PID, if not the process name. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEkY/iTPA54hjTSp4RAnCjAJ4woQQbZRg0vx/6p5XjuKkM2dfp1QCeMrPK oGsn1PW9bbJlqF48pF5tgXI= =ttMJ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ctrl-alt-f(123456) dono worky so good
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason A. Booth wrote: Apologies if this is silly, but google didn't do it for me. I've recently updated a lot of things, and am doing emerge -u world right now.. but from my user account, I lost the ability to get back to a tty. seems really odd and there aren't any kde key bindings in my way (that I know of). Anyone seen this? Jason A. Booth PGP public key(85D1F7FC): http://hyperintelligent.net/~jbooth/jbooth_key.asc -- First of all, you should start a new thread when you have a new question. I'm probably being a hypocrite, just because I don't know how to break/change the thread-ID in Thunderbird without creating an entirely new mail. But, it's not proper net-iquette to reply to someone else's message with a /completely/ new topic without creating a new thread. That being said, if you're saying what I think you're saying, I haven't been able to switch terminals as you suggest once X and a window manager (like KDE or Gnome) is up and running. Don't know if it's because of X, or KDE, or GDM, or whatever. But, you're not alone. ;-) It's not a problem for me, I usually have about 5-10 different terminal sessions going at any given time, they just happen to be managed by KDE. I manually start gdm when I want to go into a GUI session, and everything works fine as far as CTRL+ALT+F[123456789] before I start the X session. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEi7UPTPA54hjTSp4RAoNgAJ9FsrCRZO9pUKc98D1690S3rc79BgCfarn9 lDQeQUubJDkW5dvDdNkHKWI= =0Zw6 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Getting to grips with S/MIME in Kmail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: On 11/06/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: Which versions of gnupg and kmail do you use? Did you look under Settings - Configure KMail - Security - Crypto Backends ? On my computer it says it uses gpgsm as S/MIME backend. Same here. It shows: === Available backends: Gpg(ME) OpenPGP (gpg) S/MIME (gpgsm) Chiasmus Chiasmus (failed) === OpenPGP seems to work a treat, but S/MIME complains of a missing backend. $ equery belongs gpgsm [ Searching for file(s) gpgsm in *... ] app-crypt/gnupg-1.9.20-r3 (/usr/bin/gpgsm) Yep, I have the same package installed. I don't know why Kmail is giving you that particular message. I normally used Thunderbird, but I loaded up Kmail yesterday when I responded to your question. I got basically the same thing (backend = /usr/bin/gpgsm). Answer me this question, do you *have* a cert that has been issued by Verisign or some other reckognized signing authority? PS. Your signature on this message is shown as an attachment called noname in Gmail gui. Some other sigs are shown as signature.asc. How can one control this? - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEjFcDTPA54hjTSp4RAmxwAKDkqE7nAVK+5UiEdbLlNXdu6vQtbwCg39YT 4ufvxxdRpeIcdwFKfmvitD8= =9Yi7 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT sorry for hijacking thread
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: On 11/06/06, Jason A. Booth [EMAIL PROTECTED] wrote: Sorry about that. ~J Don't worry about it. It is considered bad form especially when I was relying on that thread to improve my limited knowledge on cryptography in Linux, but we all make mistakes. For some strange reason the Gmail gui did not include your interruption under my original thread. However on a newsreader (like Knode) as well as on Gmane the hijacking was brutally evident. ;-) It's all based on your email client, and how you have it configured. I use Thunderbird, Outlook, and the Gmail webgui all between different computers and different accounts, and lists, etc. I have them configured to view messages as threaded. Some people don't do that. But enough people on mailing lists, especially UNIX/linux based ones, do do that, that it's become a best practice. And net-iquette tends to favor best practices. Here's a little light reading: http://www.dtcc.edu/cs/rfc1855.html http://en.wikipedia.org/wiki/Netiquette http://www.albion.com/netiquette/corerules.html - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEjIPhTPA54hjTSp4RAoNLAJ9bC4QlswDJRi3Cxrdg0dWUDdyNiwCg8Hf4 +E/QD/YoJzFbvL8Osm7V9fw= =+ik7 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Can't run `X -configure' successfully.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason's recent inquiry about the alternate terminals caused me to revisit an issue that I've had for some time. AFAIK, I don't have an xorg.conf. I've tried running `X -configure -verbose' and it fails with a Signal 11. There are a bunch of modules that have invalid references, but none of them are the modules that should be used for my video card. I've looked at the xorg.conf.example, but can't really make heads or tails of it in regards to my specific equipment. Ironically, I have no problem running gdm, and then logging into KDE. So I know Xorg is working, I assume with some sort of default configuration. But there are little things that don't quite jive. One of them is the alternate terminals. Another is the fact that my 4-button wheel mouse, isn't recognized as a wheel mouse. While looking closely at /var/log/Xorg.0.log, I noticed that Xorg had been built under a different kernel. So, I re-emerged Xorg under the new kernel. Which spawns a tangential question: How can I tell what other programs on my system would benefit from being re-compiled under the new kernel - instead of re-emerging world? Unfortunately, recompiling xorg under the new kernel didn't seem to make a difference as far as generating a new conf file, but there are some notable differences. One is that gKrellm with the glass 2 theme is no longer clear. So, if anyone could help with either the xorg.conf issue, or the new-kernel-rebuild question, I'd appreciate it. Thanks. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEjIiFTPA54hjTSp4RArKNAKCRCcdjbBQs2RDSDlCU3wYlaxKn4QCg6AgU sPT+miIO/x+B9jgQBrVjEV0= =H8ss -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't run `X -configure' successfully.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 maxim wexler wrote: --- gentuxx [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason's recent inquiry about the alternate terminals caused me to revisit an issue that I've had for some time. AFAIK, I don't have an xorg.conf. I've tried running `X -configure Don't know if it amounts to the same thing but have you tried running xorgconfig? When it completes it should write the xorg.conf file. Well, it's obviously not the same thing. `xorgconfig' seems to run fine. However, it doesn't create a workable xorg.conf. The problem that I get is that it can't initialize the core devices. Basically, it can't find my mouse. When I ran `xorgconfig', I used the default for the location: /dev/mouse. It's obviously not hanging off of that /dev device. So when I move the xorg.conf file that was created to xorg.conf.old, I'm able to start up gdm again, with the assumingly, same default configuration. How can I find where my mouse is, so I can tell xorgconfig where to look? - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEjKIHTPA54hjTSp4RAodQAJ9qoIiXRsAEZXR8VF89qIWkIeSY/QCfdk44 o491EALoOby1NYa3BiIeNpk= =poLv -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't run `X -configure' successfully.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 david wrote: Try changing /dev/mouse to /dev/input/mice or /dev/psaux OK, that worked as far as getting a running config. Now I just have to figure out what the scan rates are for my monitor. Is there anyway to dump the config being used when there isn't a .conf file? I seem to have lost some screen real estate. ;-) - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEjL79TPA54hjTSp4RAu9lAKD00JSMcP0NhxUlE+GtBZUWb4NSIgCgqcFq VieIzZOG5GDz4vb4Z43pJxA= =hwMh -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't run `X -configure' successfully.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Fish wrote: On 6/11/06, gentuxx [EMAIL PROTECTED] wrote: While looking closely at /var/log/Xorg.0.log, I noticed that Xorg had been built under a different kernel. So, I re-emerged Xorg under the new kernel. Which spawns a tangential question: How can I tell what other programs on my system would benefit from being re-compiled under the new kernel - instead of re-emerging world? Why do you think you need to remerge *anything* that is not a kernel module under a new kernel? You must re-merge any proprietary graphics drivers that you are using, like nivida-kernel or ati-drivers, or other out of tree kernel modules (alsa-drivers, ipw, and so on), but there is no benefit at all to remerging xorg or any other program due to a new kernel. -Richard Well, when it wasn't working, I was grasping at straws to find a solution. I noticed the difference between what kernel xorg was built under and the current one, so I thought I would give it a shot. How do I know what is out of tree, and thus what needs to be rebuilt when I recompile my kernel? I'm using an older ATI Rage128 All-in-Wonder (with the TV tuner), and through this process, I've re-emerged the ati-drivers. But, is there an easy way to tell what else *should* be recompiled? - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEjNnxTPA54hjTSp4RAu0bAKCKuiQufVLZQZ0U6nJ4PVtwnELLsACguYSQ jMaMjGt4pPeooiR124t82bs= =XdHj -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Module philosophy: Compile-in or Load
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anthony E. Caudel wrote: I was wondering what gentoo-users think and practice about kernel modules. Do most compile them in the kernel or load them at boot-up. Note that I'm _NOT_ talking about those modules that have to be compiled in such as for your filesystem. This is about the other ones. I generally like to load them at boot-up. One reason is that I have heard that for suspend or hibernate to work, some modules have to be unloaded. On the other hand, compiling them in results in faster boot times. So, what do gentoo-users think? Tony I'm certainly not the end-all-be-all in kernel knowledge. But, I tend to look at it based on the particular modules being loaded and the likeliness that I will actually use that module. If it seems like something is fundamental to the operation of the OS (filesystems, core drivers like USB, chipset, etc.) then I compile it in. If it's something that makes sense to unload and load (in my mind, this is something like network drivers, audio drivers, netfilter modules, etc.), then I'll compile it as a separate module. It's not a hard and fast rule, and there are always exceptions. For example, there are programs that expect to find the module, and if you compile it into the kernel that program won't work right, even though you have the (whatever) functionality built into the kernel. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEjP2bTPA54hjTSp4RAi44AKCx0cjGLdyoVGw1F8EZtC/STATGlQCgg4VL l7NW4j0HQugR70OADkBDCTU= =ExLX -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Getting to grips with S/MIME in Kmail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: Hi All, I am trying to set up S/MIME in Kmail. When I select the 'S/MIME Singing Certificate' field in Kmail/Identities/Cryptography/ it fails to find my key. The error pop up says: = Key Listing Failed - Kmail An error occurred while fetching the keys from the backend: General error = I click OK and: = No backends found for listing keys. Check your installation. = I generated my key pair following the Gentoo Gnupg user guide and had no problem entering the key in 'OpenPGP Signing Key' and 'OpenPGP encruption key', under the same Kmail crypto configuration tab. Are there any additional steps I need to undertake to make Kmail work with S/MIME? Does it need different keys? What backend is the above error referring to? My understanding is that these are different key types. S/MIME is typically used for PKI type certificates, not GnuPG certificates. You would need a DoD or Verisign (or some other publicly recognized CA) certificate to use S/MIME. Depending on what you're trying to do, GnuPG should be sufficient. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEi0mMTPA54hjTSp4RAsN3AKDDCthjIr2WeDP82i1jdG4BdR20vACghKN3 eOIC+DtaPrn/b1/KeweTYX0= =WCT7 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] glibmm-2.8.4 failing to compile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm running an `emerge -Duatv world' and emerge is wanting to upgrade glibmm-2.8.1 to 2.8.4. But 2.8.4 doesn't seem to want to compile. Here's the error I get: ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::insert(std::_List_iteratorsigc::slot_base, sigc::slot_base const)' ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::erase(std::_List_iteratorsigc::slot_base)' collect2: ld returned 1 exit status make[3]: *** [test] Error 1 make[3]: Leaving directory `/var/tmp/portage/glibmm-2.8.4/work/glibmm-2.8.4/tests/glibmm_value' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibmm-2.8.4/work/glibmm-2.8.4/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glibmm-2.8.4/work/glibmm-2.8.4' make: *** [all] Error 2 !!! ERROR: dev-cpp/glibmm-2.8.4 failed. !!! Function gnome2_src_compile, Line 58, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Any pointers would be a help. Thanks. - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEgFnyTPA54hjTSp4RAmVIAKDKPs+oDyhk/z78udRccg+5tXy7NQCfZAPZ ErRl281FVX8gveTLB2fXsYM= =OVD8 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] glibmm-2.8.4 failing to compile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rumen Yotov wrote: gentuxx wrote: Hi all, I'm running an `emerge -Duatv world' and emerge is wanting to upgrade glibmm-2.8.1 to 2.8.4. But 2.8.4 doesn't seem to want to compile. Here's the error I get: ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::insert(std::_List_iteratorsigc::slot_base, sigc::slot_base const)' ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::erase(std::_List_iteratorsigc::slot_base)' collect2: ld returned 1 exit status make[3]: *** [test] Error 1 make[3]: Leaving directory `/var/tmp/portage/glibmm-2.8.4/work/glibmm-2.8.4/tests/glibmm_value' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibmm-2.8.4/work/glibmm-2.8.4/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glibmm-2.8.4/work/glibmm-2.8.4' make: *** [all] Error 2 !!! ERROR: dev-cpp/glibmm-2.8.4 failed. !!! Function gnome2_src_compile, Line 58, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Any pointers would be a help. Thanks. Hi, Check if you have =dev-libs/libsigc++-2.0.11 RDEPEND==dev-libs/libsigc++-2.0.11 =dev-libs/glib-2.7 IIRC dev-libs/libsigc++ is slotted. Or if yes try to recompile libsigc++-2.0.11, then again glibmm-2.8.4. HTH.Rumen Strange. I recompiled dev-cpp/libsigc++ as suggested. Didn't notice any new use flags or anything. But, after accomplishing that, I was able to compile glibmm-2.8.4 without any problem. Thanks for the help Rumen! - -- gentux echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEgHWHTPA54hjTSp4RAsTdAJ43nPBBjPgSc67HLH3o9/tZxjXsAACfakhZ JqslFTY9FBeTyUB2nM7j5D4= =YM3l -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Updated gentoo systems and fresh installs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Trenton Adams wrote: Hi guys, Is there a difference between the two? I have 2005.1 installed. As I've always understood it, my system will now always be up-to-date, as long as I keep updating it. Is 2006.0 any different than 2005.1 after the system has been installed? I'm just curious, because I have to install gentoo on a notebook, but I want package compatibility with my server. Thanks. As I understand it, this is essentially true. As long as you continue to update your system, it will remain up to a date. However, depending upon your architecture, there may be packages that are masked by profile. I've really only seen this on SPARC systems, but others may pop up as well. For example, the 2.6 kernel is masked in the 2005.1 SPARC profile, but not in the 2006.0 profile. I am still running the 2005.0 on my P4 x86 system, and haven't run into any profile-related issues. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEFeLGLYGSSmmWCZMRAgG4AKCb/OTawnb9CszNr8EyCZhmn8NbiwCfed7A tHihV+1ac3E8EcySPKJNZDM= =yklO -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] After upgrading to the latest Baselayout...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Seo Boon, NG wrote: I have the following error upon booting up after the latest baselayout upgrade. My lo interface can comes alive after I manually do a ifconfig lo up. Any I'm operating a number of services on lo, I need lo to be up and running afteri each reboot. Any idea how to fix this? Thanks. init.d £ ./net.lo start * Caching service dependencies ... * Service 'cupsd' should be AFTER service 'vmware', but one of * the services 'vmware' depends on, depends on 'cupsd'! [ ok ] * * Starting lo * Bringing up lo * 127.0.0.1/8 * No loaded modules provide 127.0.0.1/8 (127.0.0.1/8_start) [ !! ] * brd * No loaded modules provide brd (brd_start) * 127.255.255.255 Are you running a customly configured kernel? Do you have loopback support enabled (in your kernel)? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEAznWLYGSSmmWCZMRAlmjAKDW76t4Fvi6ibcir21C19qcuxEFyACfQKHo z57EddKPt82UUizrooRc1As= =EFeG -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] need to be in wheel for sound?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antoine wrote: Benno Schulenberg wrote: Antoine wrote: I just had to add the missus to wheel for her to get sound in kde Check the permissions and owners in /dev/s{,ou}nd? Benno tux ~ # ls -l /dev/sound/ total 0 crw-rw 1 root audio 14, 12 Jan 19 20:29 adsp crw-rw 1 root audio 14, 4 Jan 19 20:29 audio crw-rw 1 root audio 14, 3 Jan 19 20:29 dsp crw-rw 1 root audio 14, 0 Jan 19 20:29 mixer crw-rw 1 root audio 14, 1 Jan 19 20:29 sequencer crw-rw 1 root audio 14, 8 Jan 19 20:29 sequencer2 tux ~ # ls -l /dev/sound/audio crw-rw 1 root audio 14, 4 Jan 19 20:29 /dev/sound/audio The groups seem right... but even after adding her to wheel the problems persist after a reboot. It seems bizarre as I haven't had sound problems for ages. Cheers Antoine I have never bee able to get the sound working right in KDE for my normal user account. I know it has to be permissions related somehow, since it seems to work for root. I've got the same permissons you do in /dev/sound, and my user account is also in the wheel group. I wonder if it matters what your primary group is, as mine is (or was) NOT wheel. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEA1xMLYGSSmmWCZMRAry3AKDwEnWcXUQcR2h44Jw3VG+2PNqZAQCdEEF6 yj0jsApISC7D6sO9HyGimyo= =+0jo -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] BS dependencies?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why in the world to I need Apache, php(4), and a whole host of other packages (22 to be exact) just to install NTP? Now, I'm assuming that the net-misc/ntp package is actually the daemon, and not just the client. Can anyone suggest a client *only* package? I've got a system that doesn't hold it's time after a reboot - all I really need is the ability to update the system time. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEAYFALYGSSmmWCZMRAq4qAJ4jmrs37bBIIp4VNPMAXjfmuyBhggCgn8EQ vjL8nyvtJT/+bxK7udpXGN0= =5tF6 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boyd Stephen Smith Jr. wrote: On Sunday 26 February 2006 04:21, gentuxx [EMAIL PROTECTED] wrote about '[gentoo-user] BS dependencies?': Why in the world to I need Apache, php(4), and a whole host of other packages (22 to be exact) just to install NTP? Now, I'm assuming that the net-misc/ntp package is actually the daemon, and not just the client. NTP is similar to many P2P protocols in that clients are normally also long running background processes, daemons (or paenguins). There are some clients that use NTP messages to fetch a single time and set your clock using it, but then you still get network latency noise and other inaccuracies. For daily work that's really not a big deal, but if you are going to use NTP I suggest you really use NTP and run a daemon. The default config for both net-misc/ntp and openntpd does not listen on any ports by default, so it shouldn't raise many security issues. As far an these unwanted dependencies go, could you please provide the output for emerge -pvt net-misc/ntp so we can see the whole dependency chain? Can anyone suggest a client *only* package? I've got a system that doesn't hold it's time after a reboot - all I really need is the ability to update the system time. Just use rdate then. I'm looking into `rdate'. But here is the list of dependencies that comes up. I think Mr. Fish may have hit the nail on the recursive dependencies, as I do have 'python' and 'php' in my USE flags (included below). emerge -pvt net-misc/ntp These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild N] dev-php/php-4.4.0-r4 -X +berkdb +crypt -curl -debug - -doc (-fdftk) -firebird -flash -freetds -gd -gd-external +gdbm -gmp - -hardenedphp -imap (-informix) -ipv6 (-java) +jpeg -kerberos -ldap - -mcal -memlimit -mssql -mysql +ncurses +nls (-oci8) -odbc +pam +png - -postgres +readline -snmp +spell +ssl -tiff +truetype +xml2 -yaz 4,339 kB [ebuild N] net-misc/ntp-4.2.0.20040617-r3 -debug -ipv6 - -logrotate -nodroproot -openntpd -parse-clocks (-selinux) +ssl 2,403 kB [ebuild N] sys-libs/libcap-1.10-r5 -nocxx +python -static 38 kB [ebuild N] dev-lang/swig-1.3.21 -X -doc -guile (-java) +perl +php +python -ruby -tcltk 1,975 kB [ebuild N]dev-php/mod_php-4.4.0-r9 -X +apache2 +berkdb +crypt -curl -debug -doc (-fdftk) -firebird -flash -freetds -gd - -gd-external +gdbm -gmp -hardenedphp -imap (-informix) -ipv6 (-java) +jpeg -kerberos -ldap -mcal -memlimit -mssql -mysql +nls (-oci8) -odbc +pam +png -postgres -snmp +spell +ssl -tiff +truetype +xml2 -yaz 0 kB [ebuild N] media-libs/t1lib-5.0.2 -X -doc 1,657 kB [ebuild N] media-libs/freetype-1.3.1-r4 +nls -tetex 1,919 kB [ebuild N] media-libs/libpng-1.2.8 -doc 0 kB [ebuild NS ] sys-libs/db-1.85-r2 279 kB [ebuild N] app-text/sablotron-1.0.1 -doc +perl 474 kB [ebuild N] media-libs/jpeg-6b-r5 0 kB [ebuild N] net-www/apache-2.0.55-r1 +apache2 -debug -doc - -ldap -mpm-leader (-mpm-peruser) -mpm-prefork -mpm-threadpool - -mpm-worker -no-suexec (-selinux) +ssl -static-modules +threads 4,684 kB [ebuild N] dev-libs/apr-util-0.9.7 +berkdb +gdbm -ldap 724 kB [ebuild N] app-misc/mime-types-4 7 kB [ebuild N] dev-libs/apr-0.9.7 -ipv6 -urandom 1,020 kB [ebuild N] net-www/gentoo-webroot-default-0.2 -no-htdocs 64 kB [ebuild N] dev-libs/libxslt-1.1.15 +crypt -debug +python - -static 1,780 kB [ebuild N] dev-libs/libxml2-2.6.23 -debug -doc -ipv6 +python +readline 3,338 kB [ebuild N] dev-libs/libmcrypt-2.5.7 511 kB [ebuild N] media-libs/freetype-2.1.9-r1 -bindist -doc +zlib 0 kB [ebuild N] app-text/aspell-0.50.5-r4 -gpm 992 kB USE flags from `emerge --info': USE=sparc apache2 arts avi berkdb bitmap-fonts bzip2 cdb crypt cups dlloader eds encode esd expat fastcgi fbcon foomaticdb fortran gcc64 gdbm gif gstreamer gtk2 iconv imlib javascript jpeg libwww mad mbox mhash mikmod milter mime motif mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl php png python readline sdl socketstcpd spell ssl symlink tcpd threads tidy truetype truetype-fonts type1-fonts udev vhosts vorbis xml xml2 xmlrpc xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc (NOTE: This differs from what is actuall in my '/etc/make.conf'): USE=-X -kde -qt -gnome -gtk perl php python ssl apache2 fastcgi iconv java javascript libwww mime milter mbox ncurses pcre socketstcpd spell threads tidy vhosts xml xml2 xmlrpc xsl zlib symlink - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEAftFLYGSSmmWCZMRAhqtAJ9zXcQiDz7+dCXV12NjRahxLTLDbACgtp7J byQW2LizpEh0nJ52DARW/f0= =zOUP -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Fish wrote: On 2/26/06, gentuxx [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why in the world to I need Apache, php(4), and a whole host of other packages (22 to be exact) just to install NTP? Probably because your USE flags are telling portage that you want all of those dependancies. If you don't have USE=nodroproot (which would be a bad idea, BTW), ntp depends on sys-libs/libcap. sys-libs/libcap depends on dev-lang/swig if you have USE=python. dev-lang/swig depends dev-lang/php if you have USE=php. dev-lang/php depends on apache. ...and so on. If you want to avoid such dependancies, you should set USE=-* in /etc/make.conf, and then set each USE flag specifically for each package that you want it on in /etc/portage/package.use. If you do this, be very careful in the conversion of your system, as you can break things easily (for example, if you have pam, and end up with -pam.) -Richard rdate doesn't give me the functionality that I'm looking for as it expects to connect to the (x)?inetd 'time' subdaemon, instead of an ntpd server. But, removing some of the heavier USE flags (php, apache2, etc.) brought me down to net-misc/ntp and 2 other dependencies (libcap and swig), which I thought were acceptable. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEAimcLYGSSmmWCZMRAqOjAJ4lPQIGYkAsrEH3/noBOZApVCk1ZACdG044 JPRhokC0OZPKH1QdeRrzklY= =QC30 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain Buchanan wrote: IMHO, I'd try and find and fix the reason that it's not keeping time, rather than patch it with ntpdate. Unless you know the reason already, and it can't be fixed, then I'll just shut up :) Well, that *would* be the ideal way to go. However, usually problems like this are related to CMOS batteries, and their eventual death. I'm not quite as familiar with SPARC hardware as with x86 hardware, but I suspect the problem to be similar. I got these systems rather cheaply from eBay, and as they are 10+ years old, I don't know how much replacement hardware will be floating around. ;-) Be that as it may, I've managed to get the net-misc/ntp package installed and configured. It isn't so much the extra overhead of running the ntpd that I was concerned about. I just didn't want to install apache2, php, and the slew of other heavyweight applications that it was wanting to install. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEAlO2LYGSSmmWCZMRAuwCAJwJHztmMMxlHXwlTDLZzjQe233eAQCfaCNy Qwp/sW9ffnWsQnYhI88UO0k= =Kj0s -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo kixtstart/jumpstart equivalent
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Jolet wrote: Re: [gentoo-user] Gentoo kixtstart/jumpstart equivalent On 2/17/06 11:30 PM, Ghislain Bourgeois [EMAIL PROTECTED] wrote: At my job, I designed a system we call Pullstart that we use to install Gentoo servers. I'm basically building what I call a stage-4, which is simply a stage3 updated, with the packages we want added to it and a generic kernel built with genkernel. It is made available through a tarball on a web server and I have a simple script generated by web-based configuration utility to install it on the server and configure it for the machine (partitionning, networking, etc...). The only thing you need to run the script is to have a basic linux system running, which you can get with a livecd or a floppy like tomslinux (sorry, I forgot the exact name...). Of course, I have an NDA and the scripts all belong to the company, so I can't make it available, but you can build yourself something similar. I use something called systemimager that does a pxeboot install. Kinda a pain to do it with gentoo, as they really, really want redhat or suse, but it can be done. Just for the edification of the list, I managed to find exactly what I needed in the gentoo documentation. http://www.gentoo.org/doc/en/gentoo-sparc-netboot-howto.xml Thanks to all those who replied! - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD/7IJLYGSSmmWCZMRAi11AJ4uR1RjyAiGWSAwVwSBYmAaeSR8ZACffkYT vUyMRdAYsq8wImNhTuV8XXU= =gwJ3 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Gentoo kixtstart/jumpstart equivalent
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got a little amateur project that I'm working on, and I'm running into some difficulty. The most immediate problem I'm having, is that I want to put gentoo on one of my systems, but they don't have a CDROM. (These are old boxes.) So, my question, simply enough, is there a JumpStart or KixStart equivalent in gentoo? I.e. tftp boot, that'll download the install image, etc.? TIA - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9qM8LYGSSmmWCZMRAhf+AJsFxgsLHMpGbe+bMbgRIQ5MrGNUpQCgygDu Qs28pGIyBDdsmAHGv/sZlO4= =49tL -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo kixtstart/jumpstart equivalent
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ghislain Bourgeois wrote: At my job, I designed a system we call Pullstart that we use to install Gentoo servers. I'm basically building what I call a stage-4, which is simply a stage3 updated, with the packages we want added to it and a generic kernel built with genkernel. It is made available through a tarball on a web server and I have a simple script generated by web-based configuration utility to install it on the server and configure it for the machine (partitionning, networking, etc...). The only thing you need to run the script is to have a basic linux system running, which you can get with a livecd or a floppy like tomslinux (sorry, I forgot the exact name...). Of course, I have an NDA and the scripts all belong to the company, so I can't make it available, but you can build yourself something similar. Well, thanks for the tip. But for one, I wasn't really planning to spend *that* much time fussing about it. The focus is something else entirely, and I don't have the time to dedicate to designing my own system. I totally understand the NDA/company proprietary info, etc., etc., so I appreciate the pointer. I've set up Solaris Jumpstart for Solaris installations in the past. And, ironically enough, this project is using gentoo-sparc. Jumpstart is relatively easy to configure, I just didn't know if there might be an equivalent for gentoo. I checked for both JumpStart and KixStart (I've seen KixStart ported to other distros even though it's a RedHat package) by running `emerge search jumpstart` and got bupkus. Also, one inherent flaw with your suggestion is the requirement of a livecd. I know you mentioned floppy, but these are SPARC boxen and I doubt I could fit all the drivers/commands/etc. on a floppy, and one doesn't even have a floppy. Thus the necessity for a network boot situation. I appreciate the response though. -- Ghislain Bourgeois --- Linux System administrator On 2/17/06, *gentuxx* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've got a little amateur project that I'm working on, and I'm running into some difficulty. The most immediate problem I'm having, is that I want to put gentoo on one of my systems, but they don't have a CDROM. (These are old boxes.) So, my question, simply enough, is there a JumpStart or KixStart equivalent in gentoo? I.e. tftp boot, that'll download the install image, etc.? TIA -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 - -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9rZ8LYGSSmmWCZMRAkU5AKDNfs9NcL1SOMRdOC9ZO5YpCUoIFQCeJxCe WCtWdPeoaf8q05nHZc8U9DQ= =IwrC -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Kernel not updating...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Forgive me if this ends up being the stupid question of the day. But, I haven't been able to upgrade my kernel for some reason. (Obviously I could download it from kernel.org and go that route, but I would like to keep as much as possible in portage.) I have a script that I use to update my system every couple of days, and I'm still on v2.6.13-r3. I was poking around in packages.gentoo.org, and noticed that 2.6.15-r1 is unmasked for x86. So I run an `emerge --sync`, and `emerge -av gentoo-sources`. And it wants to rebuild my 2.6.13-r3 kernel, so I cancel. Any thoughts? Is there a portage setting, or package dependency, that would prevent this package from being upgraded? TIA - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9LFOLYGSSmmWCZMRAo36AJ4kFfH9CViCpoPWl6JxhVaLIOz6VwCeIABC /Yz81UeOeKn2UG5lWJQIpSs= =KpBr -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Kernel not updating...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel da Veiga wrote: On 2/16/06, gentuxx [EMAIL PROTECTED] wrote: Forgive me if this ends up being the stupid question of the day. But, I haven't been able to upgrade my kernel for some reason. (Obviously I could download it from kernel.org and go that route, but I would like to keep as much as possible in portage.) I have a script that I use to update my system every couple of days, and I'm still on v2.6.13-r3. I was poking around in packages.gentoo.org, and noticed that 2.6.15-r1 is unmasked for x86. So I run an `emerge --sync`, and `emerge -av gentoo-sources`. And it wants to rebuild my 2.6.13-r3 Hmmm, shouldn't it be emerge -uav gentoo-sources ? I mean, u for update? emerge -uav gentoo-sources These are the packages that I would merge, in order: Calculating dependencies ...done! Total size of downloads: 0 kB Nothing to merge; do you want me to auto-clean packages? [Yes/No] n Quitting. kernel, so I cancel. Any thoughts? Is there a portage setting, or package dependency, that would prevent this package from being upgraded? TIA -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 - -- gentoo-user@gentoo.org mailing list -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9MYJLYGSSmmWCZMRAnaIAKC+eVAHHaLivYKMyCAfkTiaRVCz1ACgkvPT 8L6yJMIwfyeJM7J/XMZHSX4= =wjSJ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Kernel not updating...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Holly Bostick wrote: gentuxx schreef: Daniel da Veiga wrote: On 2/16/06, gentuxx [EMAIL PROTECTED] wrote: Forgive me if this ends up being the stupid question of the day. But, I haven't been able to upgrade my kernel for some reason. (Obviously I could download it from kernel.org and go that route, but I would like to keep as much as possible in portage.) The vanilla kernel is in portage as well (vanilla-sources). So I run an `emerge --sync`, and `emerge -av gentoo-sources`. And it wants to rebuild my 2.6.13-r3 Hmmm, shouldn't it be emerge -uav gentoo-sources ? I mean, u for update? emerge -uav gentoo-sources snip? Nothing to merge; do you want me to auto-clean packages? [Yes/No] n Quitting. Have you checked /etc/portage/package.mask? About the only reason left is that you manually masked versions above the one you're now using, and forgot about it (hey, it happens). Holly There's no package.mask. I had thought that something like that might be the case, but didn't see anything that stood out, which is why I posted to the list. gentoo /etc/portage # ls -Al total 20 - -rw-r--r-- 1 root root 0 Jan 20 14:52 .keep - -rw-r--r-- 1 root root 96 Oct 11 12:54 modules - -rw-r--r-- 1 root root 466 Feb 16 11:00 package.keywords - -rw-r--r-- 1 root root 86 Feb 16 11:02 package.use - -rw-r--r-- 1 root root 99 Oct 6 19:55 rsync_excludes drwxrwsr-x 2 root portage 4096 Mar 10 2005 sets - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9NVmLYGSSmmWCZMRApi/AJ9+rwDStHeUgOy9KraeMvvU43tYsQCfZYzX bP9xFZ7xYJXlIbPcdYVdjNc= =HRzN -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Kernel not updating...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 james wrote: gentuxx gentuxx at gmail.com writes: emerge -uav gentoo-sources These are the packages that I would merge, in order: Calculating dependencies ...done! Total size of downloads: 0 kB Nothing to merge; do you want me to auto-clean packages? [Yes/No] n when was the last time you entered 'emerge --sync' Probably yesterday, or Tuesday. The script I use to update the system basically does the following in sequence: emerge --sync emerge -Duatv world emerge -av depclean revdep-rebuild -av aide_update.sh #another script I have that updates my AIDE database The script is interactive, so there's alot more to it, but those are the basic actions. I run it whenever I think about it, which is usually every couple of days. hth, James - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9NYSLYGSSmmWCZMRAs9MAJwN/Jhy5eEyhMACstz0WrMnrJbRiwCg3og7 GIPigbB3Maqt5qDX0DrVvWQ= =U5IR -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Kernel not updating...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bo Andresen wrote: On Thursday 16 February 2006 19:35, gentuxx wrote: Hmmm, shouldn't it be emerge -uav gentoo-sources ? I mean, u for update? emerge -uav gentoo-sources These are the packages that I would merge, in order: Calculating dependencies ...done! Total size of downloads: 0 kB Nothing to merge; do you want me to auto-clean packages? [Yes/No] n Quitting. kernel, so I cancel. Any thoughts? Is there a portage setting, or package dependency, that would prevent this package from being upgraded? Do you have eix installed? If not I suggest you install it. No, I just installed it. So this is the first time running these commands - if that makes any difference. Could you post the output of: # update-eix update-eix Reading Portage settings .. Building database (/var/cache/eix) from scratch .. [0] /usr/portage/ (cache: flat) Reading 100% [1] /usr/local/portage (cache: none) Reading 100% Applying masks .. Database contains 10162 packages in 146 categories. # eix -e gentoo-sources eix -e gentoo-sources * sys-kernel/gentoo-sources Available versions: 2.4.28-r9 ~2.4.31-r1 2.6.9-r9 2.6.12-r9 2.6.12-r10 ~2.6.13 ~2.6.13-r1 ~2.6.13-r2 2.6.13-r3 Installed: 2.6.11-r5 2.6.11-r6 2.6.11-r8 2.6.11-r9 2.6.11-r11 2.6.12-r6 2.6.12-r9 2.6.12-r10 2.6.13-r3 Homepage:http://dev.gentoo.org/~dsd/gentoo-dev-sources Description: Full sources including the gentoo patchset for the 2.6 kernel tree Found 1 matches Also the output of emerge --info would be nice. emerge --info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) = System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox:1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=pentium4 -fomit-frame-pointer CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d CXXFLAGS=-O2 -march=pentium4 -fomit-frame-pointer DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks sandbox sfperms strict GENTOO_MIRRORS=http://cudlug.cudenver.edu/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/; MAKEOPTS=-j2 PKGDIR=/usr/portage/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage SYNC=rsync://rsync.us.gentoo.org/gentoo-portage USE=x86 X acl adns alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdb cdr cgi clamav cli crypt cscope cups curl dba directfb eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm ggi gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hardened iconv idn imagemagick imlib ithreads java jpeg jpg kde kdeenablefinal lcms ldap libg++ libwww mad maildir mbox mhash mikmod ming mng motif mozilla mp3 mpeg mpm-worker mysql nas ncurses nls nptl nptlonly ogg oggvorbis openal opengl oss pam pcre pdflib perl php png postgres python qt quicktime readline recode ruby samba sasl sdl session slang spell ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9NgxLYGSSmmWCZMRArkpAKDjCyp0NvdAAJ+bgHWW2xSDPgTk3wCfYJlZ v8QwKr1rnTPb4lZbCIx5+64= =vSQG -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Kernel not updating...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Bothwick wrote: On Thu, 16 Feb 2006 14:29:50 -0300, Daniel da Veiga wrote: I was poking around in packages.gentoo.org, and noticed that 2.6.15-r1 is unmasked for x86. So I run an `emerge --sync`, and `emerge -av gentoo-sources`. And it wants to rebuild my 2.6.13-r3 Hmmm, shouldn't it be emerge -uav gentoo-sources ? I mean, u for update? It doesn't matter, because kernels arer slotted. Have you synced? It doesn't matter if the package is stable in Gentoo's portage tree if you sill have the old ebuild. Yup. Did it today just to check before sending the first post. (Mentioned this in the first post.) - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9N/rLYGSSmmWCZMRAvQ5AJ91CTrPnIUY2K9h2nGuzez5TvnnowCeO5qn feaYzfHUzeioWHhZCuUmbMY= =h/GC -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Kernel not updating...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: Daniel da Veiga wrote: On 2/16/06, Bo Andresen [EMAIL PROTECTED] wrote: On Thursday 16 February 2006 19:35, gentuxx wrote: Hmmm, shouldn't it be emerge -uav gentoo-sources ? I mean, u for update? emerge -uav gentoo-sources These are the packages that I would merge, in order: Calculating dependencies ...done! It seems your portage tree is not updated... I tried the same command in my box (running an old kernel) and it asked me to download the last kernel... I'm no portage guru, but this is what I would do on my system: 1. Check what you have in your RSYNC_EXCLUDEFROM and package.keywords. Looks like this was it. I had it in the /etc/portage/rsync_excludes file. Not really sure why. Guess I'll find out when something breaks after I boot to the new kernel. ;-) 2. Run regenworld. What does this do? 2. Check that gentoo-sources is in your world file. 3. Run emerge --sync emerge -uDpv world to see what it brings up. If the above fails, I've run out of ideas! Thanks to everyone for all your tips and suggestions! - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9OUkLYGSSmmWCZMRAinPAKDgDIM1tUgkOI3KO5qz+LxSf0pg6wCg3+OA GIL8Q7Ig49zvgiMDfrVRIO0= =8OQZ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Kernel not updating...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bo Andresen wrote: On Thursday 16 February 2006 20:53, gentuxx wrote: Do you have eix installed? If not I suggest you install it. No, I just installed it. So this is the first time running these commands - if that makes any difference. Well, that's why you had to run update-eix. If you intend to use eix in the future then you need to run update-eix everytime you did an emerge --sync. A good tip is to use eix-sync instead of emerge --sync. What eix-sync does is copy your eix cache, emerge --sync, update-eix and diff-eix. This gives a beautiful overview of what the emerge --sync changed and keeps the eix cache up to date. That souds pretty interesting (eix-sync). I'll have to look into that. eix -e gentoo-sources * sys-kernel/gentoo-sources Available versions: 2.4.28-r9 ~2.4.31-r1 2.6.9-r9 2.6.12-r9 2.6.12-r10 ~2.6.13 ~2.6.13-r1 ~2.6.13-r2 2.6.13-r3 Installed: 2.6.11-r5 2.6.11-r6 2.6.11-r8 2.6.11-r9 2.6.11-r11 2.6.12-r6 2.6.12-r9 2.6.12-r10 2.6.13-r3 Homepage: http://dev.gentoo.org/~dsd/gentoo-dev-sources Description: Full sources including the gentoo patchset for the 2.6 kernel tree This is what the same command shows on my system: # eix -e gentoo-sources * sys-kernel/gentoo-sources Available versions: 2.4.31-r1 ~2.4.32-r2 2.6.12-r9 2.6.12-r10 2.6.13-r5 2.6.14-r5 ~2.6.14-r6 ~2.6.14-r7 ~2.6.15 2.6.15-r1 ~2.6.15-r2 ~2.6.15-r3 ~2.6.15-r4 ~2.6.15-r5 Installed: 2.6.15-r1 Homepage: http://dev.gentoo.org/~dsd/genpatches Description: Full sources including the gentoo patchset for the 2.6 kernel tree As you see it is quite different. Also each version of gentoo-sources takes up more than 250 MB of space so either your /usr/src takes up more than 2 GB with 9 versions of gentoo-sources or you deleted some of the sources but forgot to tell portage. Perhaps you would like to run: # emerge --prune --verbose --ask gentoo-sources ( `pwd` is /usr ) du -sh src 1.9Gsrc I do need to prune some of the older kernels out of there. But I don't want to get rid of all of them but the most recent. Is there a way that I can protect or omit 2.6.13-r3 from the emerge --prune process and remove the rest? Does this work with other slotted packages? How do I know which ones are slotted and which ones aren't? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFD9Pu4LYGSSmmWCZMRAlYDAKCupyCuyn1BNp71983qzFuIh+BbLQCfaRkX JzIPpu+McGV/NXodluO8Phk= =5IIv -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Last line of boot `this is reader.(none)'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harry Putnam wrote: My last line of boot output always says something like: This is reader.(none) I guess that means it doesn't know its domain name? Any know why this would happen?: root # domainname local.net0 There are a number of ways that this could happen. Do you have your domain name in the hosts file? /etc/dnsdomainname? /etc/conf.d/domainname? Make sure that the /etc/hosts file contains your IP, hostname, and FQDN. It should look something like this: 192.168.0.102 gentoo.somedomain.com gentoo LOGHOST (The LOGHOST at the end is optional.) Also make sure that your domain name is in the /etc/conf.d/domainname. Find the line with the DNSDOMAIN= option and fill in the domain name. Finally, you should have a domain entry in your /etc/resolv.conf, e.g.: domain somedomain.com All of these should be the same. HTH - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD7jhOLYGSSmmWCZMRAhvlAJ98QitSzVCKD0v4aBks4PkkZYaKrgCeIg+/ 2URlX4R0oICgWJ9YPO/wV0c= =zHze -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] 4/8 CPU Gentoo server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Just wondering if anyone here has any experience with gentoo on a 4/8 CPU server. I say 4/8 because we're looking at Xeons that'll, at a minimum, have HT but could possibly be dual-core. I run gentoo on a P4 w/ HT and it runs great! But I have no idea how it will scale to this many processors. I've done some preliminary googling, but haven't come up with muchprobably using the wrong search terms. Base anticipated specs below: 4x 3.66Ghz Intel Xeons 8GB RAM 0.9 TB Disk (4x 300GB Ultra360 drives in RAID5) I would appreciate any insights, comments, advice, etc. Thanks. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD6oQhLYGSSmmWCZMRAgDrAKDkzh1wl7vSR2sr9WuG7L5wzc4EugCglqhb l3gtw27Z1tUvcAew0+wZS2I= =Yioc -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 4/8 CPU Gentoo server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Sanders wrote: On Wed, 08 Feb 2006 15:52:01 -0800 gentuxx [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Just wondering if anyone here has any experience with gentoo on a 4/8 CPU server. I've been running it for years on a 4P PIII Xeon and my take is I won't run more than 2 Intel processors on their Front Side Bus - The bus saturates very quickly. The cpus stall out waiting for memory. I was more curious how the virtual CPUs would affect things. And if there was a limit on the number of processes supported by gentoo. I knew that the linux kernel (generically) supports well over 8 CPUs, but I just was trying to nail down any distro-specific issues. If you are going to run more than 2 cpus, go for an Opteron solution. It scales much better and the dual-core limits the FSB to 2 cpus per connect. Also, if you look around at places like - 2cpu.com, you'll see at 4 cpus, the Opteron's massive memory bandwidth leaves the Xeon way behind on most benchmarks. Finally, outside of very, very specific tasks, Intel's HT actually slows down performance. Again check the web sites for specific benchmarks. If your application doesn't fall into the use area where HT actually helps, it's best to turn it off. I'm getting this box from a vendor, and I thought they had limited options. We've always gone Intel before, and I'm relatively new to this organization. I'm going to poke around for some benchmarks. I would be interested in seeing them, both from the perspective of my home P4/HT box, as well as this one. As to Linux scaling, I've run Linux, not Gentoo, on a few different 8P, 16P, 20P, 32P, and 64P systems, and on one 512P system. The 512P was kind of fun - kicking off and stopping 512 setiathome instances, all at the same time. Bob - - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD6qiNLYGSSmmWCZMRAj+9AJ4wUtyNQ2j5M7VyTfm60hG+g2FQdgCdGgKw B8H/GyixTImDLAqT89irnD8= =hRdS -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 4/8 CPU Gentoo server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain Buchanan wrote: On Wed, 2006-02-08 at 15:52 -0800, gentuxx wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Just wondering if anyone here has any experience with gentoo on a 4/8 CPU server. I say 4/8 because we're looking at Xeons that'll, at a minimum, have HT but could possibly be dual-core. If you have the choice, go for dual core! HT is nice to look at (I have it on my laptop) but it's nowhere near as fast a dual core, because you still only have one cpu. Although you pay for dual core of course... I do have a choice! ;-) Based on Bob Sanders' comments, I'm going to do a little more research of Opterons, Xeons, and 4+ way computing. I run gentoo on a P4 w/ HT and it runs great! But I have no idea how it will scale to this many processors. AFAIK, linux scales very well to many processors. You have some different kernel options to configure, some playing with MAKEOPTS=-j9 (sounds fun :), etc. I've done some preliminary googling, but haven't come up with muchprobably using the wrong search terms. you're probably more interested in linux performance on multiple cpus, rather than gentoo performace, as its the kernel that will run particular processes on particular cpus. Base anticipated specs below: 4x 3.66Ghz Intel Xeons 8GB RAM 0.9 TB Disk (4x 300GB Ultra360 drives in RAID5) make a second one for me :) I would appreciate any insights, comments, advice, etc. I think your biggest problem will be buying hardware pieces that are compatible with each other (unless its already built) and making sure linux has modules for the particular hardware you want. Well, I'm getting this through a vendor. So I know the parts will be compatible with each other. The interesting question is will there be drivers/modules. I have built gentoo on these systems before without too much trouble, but not one spec'd out this way. The chassis is an HP DL580. HTH, - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD6qmyLYGSSmmWCZMRAr/eAJ41nZfswC3ojPNPqFyvHyg23f+MmgCgo3IM E3LOLdbiITQaSoZ6/3aNkj4= =I+Ir -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 4/8 CPU Gentoo server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kashani wrote: gentuxx wrote: Hi all, Just wondering if anyone here has any experience with gentoo on a 4/8 CPU server. I say 4/8 because we're looking at Xeons that'll, at a minimum, have HT but could possibly be dual-core. I run gentoo on a P4 w/ HT and it runs great! But I have no idea how it will scale to this many processors. I've done some preliminary googling, but haven't come up with muchprobably using the wrong search terms. I've been running a Dell 6650, 4 x 1.9 GHZ Xeons for about a year under Gentoo. Linux sees it as 8 processors with the HT stuff turned on. I sort of inherited that machine and we've never come close to pushing it, but it's been great for Mysql which is highly threaded. My only advice is that quad physical CPU boxes and up are much more expensive than dual proc boxes though that seems to be changing. Make sure you really need that sort of concentrated CPU power rather than three or four smaller boxes. Also remember that most of your dual core CPUs can have significantly less cache than single core CPUs. The Intels top out at 8MB on single and 2MB on dual core from a quick look around. On the application side you're want something highly threaded or with a large number of processes. No point in having eight procs when six are likely to be sitting around doing nothing. The main purpose of this box is going to be log crunching and archival. We have logs that range from tens of MBs to a GB a piece (uncompressed). The scripts running on it will be transferring (over the network), decompressing, grepping, normalizing, recompressing, and inserting into a local database from dozens of sources simultaneously. In a prior situation, I had a Sun e4500 with 8 UltraSPARC IIIs, 12GB of RAM, and about a TB of disk attached (SCSI and FC). There were times it wasn't enough. I'm hoping to at least match that functionality (preferably better it). I'll also second the AMD recommendation. A number of LAMP people have mentioned that they're getting much better performace out of their 64bit AMD's than the equivalent Intels. Specifically the Cnet/Gamestop guys have been retiring three dual Xeon DL380s for each dual dual core DL385 they install. The more comparisons and reviews I read are leaning me in that direction. However, it doesn't look like HP offers a 4-way Opteron box. I'll have to ask the vendor. kashani - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD6sDYLYGSSmmWCZMRAgh/AKCHWWtoEspJrNSCaaWpI/4lMLrQyQCZAQGa 5g3NIwWoSunXSdgcB1jc2f8= =PuJT -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mysterious dev-lang/php 'n' junk 'n' stuff....
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daevid Vincent wrote: Well, this is what I would like to do. ( I thought this would be obvious.) But I can't continue with the `emerge world` unless I'm able to resolve the blocks. The command/process dies almost immediately complaining about the blocked packages. I had the same problem and was quite annoyed for several weeks. Yes, this has been haunting me for a while! I started ripping out PEAR packages and then I noticed in a -tree view that I had horde installed. I unmerged that and then all the PEAR packages didn't need to be unmerged anymore. So, I guess my suggestion is to look in the emerge world list and see if there is anything in there that uses PHP. If so, try to unmerge that package first, then you can re-emerge it when you get PHP 5 installed. Kinda lame if you ask me. I was actually able to find/solve the problem. For the record, I did an `equery depends php` and got swig and base and one other package (don't remember - probably something I didn't need anyway). ;-) Anyhoo, once these packages were uninstalled, I was able to update normally. I think base was the clinger, but I don't know for sure. I haven't tried it yet (that's the project for today), but I'm going to go back and, hopefully get those packages back on there. Thanks for the tip tho. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD2ns2LYGSSmmWCZMRAjwiAKCZiJ+AzYbgkAgsbbO3iyFxnfLaMQCg4Sw9 xnPDUVPQOgOWt2mP6B24mpM= =KWGT -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mysterious dev-lang/php 'n' junk 'n' stuff....
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Holly Bostick wrote: gentuxx schreef: Hi all, snip I went to do an `emerge -Duatv world` tonight, and I get dev-php/php and dev-php/mod_php blocking. So I uninstalled them, and thought that I would re-install later (if necessary). When I run it again, I get dev-lang/php blocking dev-php/php-4.4.0-r4 (which is the one I just unemerged). So, same logical progression, I go to unemerge dev-lang/php, and, lo and behold, it's not installed. snip So, my questions to the group are these: 1) Why does `emerge -Duatv world` find a package (which blocks another that it wants to update) that `emerge -CDatv world` does NOT find? As far as I know, emerge -CDatv world is not even a valid command (at least I hope it isn't). This translates to emerge --unmerge --deep --ask --tree --verbose world, and it seems to me would unmerge everything on your system if it was allowed. The unemerge isn't run from the script. The `emerge world` is. I would think that it would only unemerge package that depended solely on the package being unemerged. But, perhaps the '--deep' is ignored in this case. I have never seen another package being brought for unemerging when using this command. The usual use for --unmerge is to tell Portage what you specifically want to unmerge; this should not be an automatic function (except in the case of repair utilities such as depclean, which even those give you a HUGE warning that unmerging random --as in not pre-specified by the user, but determined by a script-- packages automatically can break the system). The actual answer to your question, though, is that the blocking package is not a problem unless you want to emerge something that it blocks. So of course it's not going to be noticed until you attempt to perform such an action (emerging a package that is blocked by the installed package). Well, this is what I would like to do. ( I thought this would be obvious.) But I can't continue with the `emerge world` unless I'm able to resolve the blocks. The command/process dies almost immediately complaining about the blocked packages. 2) How do I rectify this little version discrepancy fixed so that I can get things updating normally again? Iirc from several threads recently, there are one or more packages on your system that rely on php which must be updated to ~arch, or else they keep trying to bring in PHP4 (only the ~arch version can depend on PHP5; the stable versions have a fixed dependency on PHP4). I don't remember which programs they are, but if you don't feel like searching the archives, you can look at your tree view to see what is actually pulling in PHP4, upgrading that (or keywording it to unstable, rather) and see if you still get the block. I had several keyworded before, and removing those keywords seemed to eliminate *some* of the blocking problem. I'll try upgrading/keywording the ones that seem to depend on php4 in the hopes that they are now wanting php5. Hope this helps, Holly - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD2FqqLYGSSmmWCZMRApprAJ0Qajgjrd3aYAoLJQyLVBvgLf8wCACgzs76 ZUn+4H0hS7R06fp0tsg4hs8= =WQJ7 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Mysterious dev-lang/php 'n' junk 'n' stuff....
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I had posted about this relatively recently, and didn't get any response, so I thought I would try again. I thought I had solved the problem (I had a bunch of stuff in package.keywords that probably didn't need to be there), so I left it alone. It seems to have resurfaced. I went to do an `emerge -Duatv world` tonight, and I get dev-php/php and dev-php/mod_php blocking. So I uninstalled them, and thought that I would re-install later (if necessary). When I run it again, I get dev-lang/php blocking dev-php/php-4.4.0-r4 (which is the one I just unemerged). So, same logical progression, I go to unemerge dev-lang/php, and, lo and behold, it's not installed. I vaguely remembered that the portage crew did some tinkering with the portage tree when PHP5 came out, and it had something to do with the whole dev-php/php-dev-lang/php issue. So, my questions to the group are these: 1) Why does `emerge -Duatv world` find a package (which blocks another that it wants to update) that `emerge -CDatv world` does NOT find? 2) How do I rectify this little version discrepancy fixed so that I can get things updating normally again? Any help would be great. Thanks. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD1y3fLYGSSmmWCZMRAsjoAKC6pir0SbKD6XJl8Kke9N7tytmH/ACg1guc RI7KuzhYBxPkHObHRkp2PR8= =n9Fw -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] dev-lang/php blocking
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. Had a rather weird thing happen. I hadn't run an 'emerge world' in a few days, so when I did, there was a long grocery list of things to update. Most of them seem to be related to, or dependent upon, the recent perl and php updates. I had several things blocking the new packages, and I managed to get them uninstalled so that the new packages can emerge. But I'm stuck with one left, that I can't get rid of: [blocks B ] dev-lang/php (is blocking dev-php/php-4.4.0-r4) But if I try to unemerge dev-lang/php: emerge -CDatv dev-lang/php These are the packages that I would unmerge: - --- Couldn't find dev-lang/php to unmerge. unmerge: No packages selected for removal. So how can I get rid of this, so 'emerge world' can do its thing? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDzTUrLYGSSmmWCZMRApv+AKDn2JiRU0v/Gz1sIVe26zeuCAS1uwCfamTF sKdS6NBgj2dYVQc14hgkFK0= =LRrq -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: What USE flags would make for the ideal home KDE box?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harry Putnam wrote: Cláudio Henrique [EMAIL PROTECTED] writes: try these to start: kdeenablefinal kdexdeltas Explanation? http://www.gentoo.org/dyn/use-index.xml - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDljMyLYGSSmmWCZMRAgKHAKDgb04acVOwj0UqxmuIvsWxQCxtZgCgwcJd /1jGe0FI0RJCOcXyYp5/Jvw= =ywQM -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] unkillable processes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Knecht wrote: Hi, My wife ran into a problem this evening that required I do a reboot. She runs Gnome. Sometimes something about her setup goes haywire and she loses all her desktop icons and her wallpaper. In the past I've found that if we log her out and then in the console kill all processes left running with her account as the owner that she can then log back in and use Gnome correctly. This evening one of these processes was unkillable. I tried kill -15 PID kill -9 PID killall -9 process_name but none worked. To make forward progress I just rebooted. Is there some other way I could have tried killing this process? Thanks, Mark Was it a defunct or zombie process? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDi/FtLYGSSmmWCZMRAh8NAJ9KXTfe8++DNn6sdGDwJSElL8Q9ywCePcxo XP7NmLuc8FA30xS7AfLj6W4= =AssW -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Bash Config files
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, This is sort of a n00bie question, but something I haven't really had to mess around with. I recently did an `emerge world` and after the update and a reboot, my root prompt has changed back to the gentoo default. It now seems that the /etc/bashrc and /etc/profile are overriding my root's .bashrc and .profile. In addition to the root prompt being changed, it seems that the PATH environment variable isn't complete. _Some_ utilities that are part of the gentoolkit (but not all) aren't found in the path (qpkg, equery, etc.). So what do I need to do to set things right, so my local setting override the global? Or is there a reason for this, and I should just modify the global, since it has if/else's for root? TIA - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDfjczLYGSSmmWCZMRAiXhAJ4/MiOKe0JNu+49oMj0Xk/5f1JCzACff4eP 0a2w7SVRdvCfgAfNIqIa9cc= =JkBR -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Developmnet Environment for PHP and PERL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Shaw wrote: What editor do people use for PHP and Perl development. I'm looking for something with syntax highlighting and such, so that rules ut vi or gedit. Thanks, Mike I seems like you've got a lot of good suggestions here, so I'll just throw my 2¢ out into the pot too! For perl, I use vim for quick edits and kate for larger projects. It doesn't auto-tab the way I think it should, but that's probably just a configuration that I haven't given it yet. ;-) I like bluefish for HTML|PHP|CSS, but the CSS and PHP colorization is a little jumpy. Sometimes it'll do it, sometime it won't. So then I started using gphpedit for JUST PHP. bluefish is nice for (X)?HTML, and OK for CSS, but more often than not, I find myself comfy with PHP and CSS in gphpedit. I might have to look into eclipse though.that sounds interesting. And I worked with emacs while I was working on some documentation for the Fedora Documentation Project, I could probably handle that if the plug-ins worked right. Anyway, my top pick for perl is kate, for PHP is gPHPEdit. Cheers! - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDcVqOLYGSSmmWCZMRAk8tAJ4zn4IRuwmgx/rOIAwi701dti+aJQCfS3jt 8czaaR9XrRvTJW2p2WNBTwY= =9/bd -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] About sed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Willie Wong wrote: On Mon, Nov 07, 2005 at 01:44:42AM -0200, Rafael Barreto wrote: Hi, I'm learning about the use of the sed command and I have some questions. I'm trying to read in /etc/conf.d/clock the CLOCK variable with: sed '/^CLOCK=*$/p' /etc/conf.d/clock This command, in principe, must print in screen the line that contains CLOCK= in the begin, contains anything between double quotes and ends. Well, this doesn't return anything. If I enter the above command without $, all is ok. But, if I would like to return just that line contains CLOCK=anything and nothing more? For example, No it doesn't. What you want is the regexp ^CLOCK=.*$ if you want anything (including nothing) between the double quotes, or ^CLOCK=.+$ if you want something (excluding nothing) between the double quotes. The reason that removing the trailing $ worked is that it matched the CLOCK= part, the * character specifies 0 or more iterates of the previous character, which is HTH W Also, as you pointed out, lines with trailing comments would not be returned based on the expression (even as modified): sed '/^CLOCK=.*$/p /etc/conf.d/clock This is because the expression, as is, does not allow for anything after the last double quote (). The following expression should match the line you want, and print out ONLY the 'CLOCK=foo': sed -n '/^CLOCK=/s/^\(CLOCK=.*\).*$/\1/p /etc/conf.d/clock How this works is as follows (since you're trying to learn sed): 1) the '-n' suppresses all output except that which was changed by your expression/commands. 2) the first expression ( /^CLOCK=/ ) gives sed the address at which to make the changes. 3) the second expression ( s/^\(CLOCK=.*\).*$/\1/p )tells sed what to do when it reaches that address. This is better broken down into smaller steps: a) the first half of the substitution expression ( s/^\(CLOCK=.*\).*$/ ) tells sed to match the capital letters C - -L-O-C-K which start a line ( ^ ), b) followed by an equals sign (=), a double-quote (), c) followed by 0 or more of any character type - except newlines - - ( .* ), d) followed by another double-quote (). e) Then, because of the parentheses metacharacters ( \( \) ), store the match in the holding space (memory). f) Then match 0 or more of any character type ( .* ), ending the line ( $ ). g) the second half ( /\1/ ) substitutes the characters captured in the parentheses metacharacters, for the whole line h) and prints ( /p ) the result So, while Willie's suggestion is correct, this should give you a more complete solution. HTH - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDbuAELYGSSmmWCZMRAoxdAKDZTA89tDCO+I67qhZwba6oJ28TrgCdHIkT Lctx2b5xRczC3bXl+emMrOs= =780W -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] About sed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rafael Barreto wrote: Other thing... Why was necessary to ^CLOCK= before s/^\(CLOCK=.*\).*$/\1/p? And which the necessity of the ( ) between the regular expression? Thanks again Sorry for things being out of order, but you top-posted. The answer to your first question is below. The /^CLOCK=/ is NOT necessary, in this instance, and may actually cause problems if you're not 100% sure of your regular expression. It is there, simply because I was expanding your original pattern. What this does, though, is it tells sed to match the line with the regular expression before making any substitutions and/or replacements. Say for example, you had 2 lines in the same file with different values but similar structure, and you only wanted to change one of them. Let's go with the example you used. Let's assume that our example file looks something like this: # This is a comment CLOCK=foo1 # This is another comment TIMEZONE=GMT # This is yet another comment CLOCK=${CLOCK}foo2 So, let's say that you wanted to change the second instance. The /^CLOCK=/ tells sed to ignore all lines that do NOT begin with 'CLOCK='. So the comments ( # This is a comment ) and the 'TIMEZONE' directive will be ignored. Actions will only be taken on the lines: CLOCK=foo1 CLOCK=${CLOCK}foo2 ...because they match the expression we gave sed as an address ( /^CLOCK=/ ). We would furthur specify how to change that line by our search and replace command (as described below): s/^\(CLOCK=\\)\${.*}\(\.*\)$/\1foo3\2/ It is important to note here that the left and right brace characters ( { } ) are not escaped. If they were, they would have been handled as metacharacters, which produces a drastically different result. If you really want to get to know sed (and awk), I HIGHLY recommend getting the 2 O'reilley books: Sed Awk, and Mastering Regular Expressions. Both of these two books have taught me almost everything I know on the matter, and I refer to them frequently. HTH 2005/11/7, Rafael Barreto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: For that I understood, this command will return the line of CLOCK= in /etc/conf.f/clock without any comments. Is this right? Well, what I really want is replace just CLOCK=fool1 by CLOCK=fool2 keeping the comments in line. By the way, \1 do really what? If i put \0 the result is the entire line. So, could you explain me this a little more? Thanks... 2005/11/7, gentuxx [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: I will try to answer both of your questions with this one email. The '\1' takes the first element, or element group, captured by the parentheses metacharacters ( \( \) ) and uses it as a variable. The variable '\0', as you found out, represents the entire contents of the pattern space or basically, the entire line since you're matching beginning ( ^ ) to end ( $ ). The variable '\0' is also synonymous with the ampersand metacharacter ( ). So, if you want to change the value of the CLOCK variable in /etc/conf.d/clock, while leaving any comments intact, you could do something like this: sed 's/^\(CLOCK=\\).*\(\.*\)$/\1foo2\2/' /etc/conf.d/clock This matches and captures the contents of the first set of parentheses, and places it into a variable accessible by '\1'. Then it matches 0 or more of any character type, until it matches a literal double-quote ( \ ). Then it matches and captures the contents of the second set of parentheses, and places it into a variable accessible by '\2'. So, to change the value, you would issue a substitution command ( s/// ) which matches the first set and replaces it with the second set. The variables '\1' and '\2' are interpolated, so the values captured are printed. I.e. the result should be: was: CLOCK=foo1 # some comments here now: CLOCK=foo2 # some comments here Willie Wong wrote: On Mon, Nov 07, 2005 at 01:44:42AM -0200, Rafael Barreto wrote: Hi, I'm learning about the use of the sed command and I have some questions. I'm trying to read in /etc/conf.d/clock the CLOCK variable with: sed '/^CLOCK=*$/p' /etc/conf.d/clock This command, in principe, must print in screen the line that contains CLOCK= in the begin, contains anything between double quotes and ends. Well, this doesn't return anything. If I enter the above command without $, all is ok. But, if I would like to return just that line contains CLOCK=anything and nothing more? For example, No it doesn't. What you want is the regexp ^CLOCK=.*$ if you want anything (including nothing) between the double quotes, or ^CLOCK=.+$ if you want something (excluding nothing) between the double quotes. The reason that removing the trailing $ worked is that it matched the CLOCK= part, the * character specifies 0 or more iterates of the previous character, which is HTH W Also, as you pointed out, lines with trailing comments would not be returned
Re: [gentoo-user] About sed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Willie Wong wrote: On Sun, Nov 06, 2005 at 09:03:01PM -0800, gentuxx wrote: sed -n '/^CLOCK=/s/^\(CLOCK=.*\).*$/\1/p /etc/conf.d/clock Ah, yes, I misunderstood the OP. I thought he didn't want the lines with trailing comments at all. He didn't really make that clear in his first post. ;-) But is it necessary to give the address for an s// replacement? As I understand it that sed is a stream editor and will try the replacement on every line it encounters. The -n flag would guarantee only the line changed would be printed anyway. No, the address is NOT necessary for this case. I stated that in my reply to his post. However, sed will only replace the first instance found, unless the 'g' flag is specified ( s///g ). Then it'll search and replace globally. The '-n' option suppresses unchanged output, so if the output of the sed command was being redirected to a file, only the changed lines would be printed. So, in this case, you would NOT want to use the '-n' option, because you would want the entire file output *with* the changes. I guess what I am saying is that sed -n 's/^\(CLOCK=.*\).*$/\1/p' /etc/conf.d/clock would do just as fine, no? W (See above). To actually make changes to the file, once you had tested your regular expressions to STDOUT, you would most likely want to redirect it to a file to replace the original file. If you include the '-n' option, all of the unchanged lines would not be printed or redirected - so you would have your changes, but nothing else. So for your final run, you would want something without the '-n' option. And without the '-n' option, the print command ( s///p ) is moot. (See my most recent reply to the OP for a final solution.) - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDbwOjLYGSSmmWCZMRAmG9AJ46OE4xLI3pCKnb3RTQSCIGWNKSBgCfWOOl V9zFRF6QNqmVSK0LHjt4e9c= =tnMC -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Visited web sites
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Knecht wrote: Hi, My wife is asking if there is an easy way to keep a list of all web sites visited on a specific computer in the house. I don't know about such stuff. Is there any way to do that for either Mozilla or Firefox? Thanks, Mark It would depend on how your home network is set up. A squid proxy could work for you. What are you trying to accomplish? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDbVegLYGSSmmWCZMRAlF0AJ9lpZVCij9oCDTQ1SZ6XcGtlQ2aHgCcCkqR bUzndiMWT2QhaWJSTu7Kqwg= =FiDy -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Optimal time to 'emerge world'?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just wondering if there was an optimal time to update one's system. Meaning, is there a global/bulk cvs commit done once a day, that we should wait for? Especially concerned about security patches - can we *safely* assume that if the GLSA is out, that the updated versions are available? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDZpWhLYGSSmmWCZMRAqgoAJ4q/dUh/43S97HtWeHXWnKbQCryMgCfWtJU DHruPeigZ/5rcNlu0Dk3CUY= =x5Si -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] having a real mta + virtual one (ie postfix nbsmtp)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Covington, Chris wrote: Hi all, I'd like to have both nbsmtp and postfix, so that I can run an MTA and use an MUA independently of each other. Although the two can co-exist peacefully, the combo seems to upset portage: videodrome ccovington # emerge -pvDu world These are the packages that I would merge, in order: Calculating world dependencies ...done! [blocks B ] mail-mta/nbsmtp (is blocking mail-mta/postfix-2.2.5) Is there something I can do? --- Chris Covington IT Plus One Health Management 75 Maiden Lane Suite 801 NY, NY 10038 646-312-6269 http://www.plusoneactive.com I believe adding the mailwrapper USE flag will give you what you want. According to [1] this flag allows multiple MTAs. [1] http://www.gentoo.org/dyn/use-index.xml - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDYGPNLYGSSmmWCZMRAhJHAJ4g+B3cvsUr9A/w5JEO2JTBhtmznACgoASE sI4STnYiT3MmqBgKeaIGWRE= =cUJD -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Um...Who can fix this?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was emerging some packages to set up a postfix virtual mailer and got this: emerge (8 of 10) mail-client/sylpheed-claws-1.0.5 to / !!! Security Violation: A file exists that is not in the manifest. !!! File: files/digest-sylpheed-claws-1.9.1 - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDXUzHLYGSSmmWCZMRAg8rAJ4x4uAeLqb0o+OTR5IpwpkxeLmuLACg6e9B Um0yt8Haw1RRmWulkRLnufY= =ySlo -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Um...Who can fix this?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Wright wrote: gentuxx wrote: !!! Security Violation: A file exists that is not in the manifest. !!! File: files/digest-sylpheed-claws-1.9.1 There's a file within the portage structure for sylpheed-claws that it hasn't been told about. Two options: - First, is it's just a standard package from the normal portage tree (i.e. it's not in a layout), then run a sync. If there is still an error, file a bug. I've just run a --sync, and am retrying the emerge... - Second, run the digest command. You'll need to do this if it's not in the standard portage tree and it's something you have added. Portage needs to be told all the files within the tree and their md5 values, to make sure nothing bad gets in :) To do this, run # ebuild /path/to/sylpheed-claws-1.9.1.ebuild digest This will run though all the files and rebuilt the digest file. You can do this in the main portage tree aswell, but it's not recommended as something could be there that shouldn't. Thanks. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDXVioLYGSSmmWCZMRAuB5AKCQ1QHpbRStSnovkKi7dxhoMHp2UwCgzmyw GQzxlNvFuGBkPefTvBrByww= =HvrG -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Um...Who can fix this? -- SOLVED
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Rout wrote: On Mon, 24 Oct 2005 22:32:46 +0100 Jonathan Wright wrote: - Second, run the digest command. You'll need to do this if it's not in the standard portage tree and it's something you have added. Portage needs to be told all the files within the tree and their md5 values, to make sure nothing bad gets in :) And by running emerge --digest target or ebuild target.ebuild digest screws the digest system, because it substitutes the values you got from the portage mirror with the values from the files on your computer. It destroys any safety that the digest system offers. So if someone has broken into your system and screwed around with the portage tree so that when you install sylpheed-claws it does something nasty, running the digest command will allow that to happen. If the digests are wrong find out what the problem is! My guess is that it didn't even get to the digest checks when it gave me the error/warning. emerge --sync seems to have fixed the problem. I probably should have tried that before posting. ;-) - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDXWCsLYGSSmmWCZMRAhEwAJ4oplvQ41TfWsYJL9DmY6DGJ6dvHQCgi/Us wpUly/Hz/3VTvZdFE7k1ILI= =7dn/ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] DBI/DBD ebuild?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm upgrading from mysql-4.0.25 to mysql-4.1.14 per the gentoo doc (http://www.gentoo.org/doc/en/mysql-upgrading.xml). MySQL seemed to compile/install fine, but it fails on dev-perl/DBD-mysql with the following error: * Using ExtUtils::MakeMaker Can't locate DBI/DBD.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux-thread-multi /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at Makefile.PL line 24. make: *** No targets specified and no makefile found. Stop. I work a lot with perl, so I'm familiar with this error, but I was wondering if there was a DBI::DBD ebuild? I didn't see one in the online package database. I would like to try to keep as much as possible in the world metafile, and only recently realized that some perl modules had ebuilds. Any thoughts? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDV/yeLYGSSmmWCZMRArEYAJwIr//JQBV5sbdWsAGgna9p51xTIACeNEDo +4gTqAFX/0ILuwKomXop+8s= =31HS -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: stealth ethernet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James wrote: gentuxx gentuxx at gmail.com writes: I've set up Solaris systems with multiple NICs, 1 as a command-and-control interface, and 1 as a sniffing interface. The sniffing interface was configured without an IP. Did you partially configure the ethernet port? How does it receive (listen) to traffic on a flat hub? Yeah. Set the ifc to no ip and then brought it up. Then we set up a switch monitoring port to receive all the traffic. Keep in mind this is in an enterprise-level production environment. We weren't just trying to sniff our girlfriends'...traffic. ;-) I don't see any reason why this can't be done in gentoo. I guess it depends on how non-detectable you need to be. Well this is the essence of the method described at: http://www.linuxjournal.com/article/6222 This article is redhat centric, so I was looking for a method that has been implemented and tested with gentoo Any further details are welcome. James I don't know of anything specifically. But the setup should be basically the same as in the article, except for the interface config and snort installation. Just use net-cfg eth1 (or whatever) to configure the iface, use 0.0.0.0 if it forces you to put in an IP. ifconfig should also work. Emerge snort, then pick up from there. HTH. If I had a box with 2 NICs I'd test it for you. ;-) - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDVly6LYGSSmmWCZMRAhEaAJ9OKMTgw1+itOYJlJ3jQDeICaV8kgCgs7UG rn/k2An4tKu5H9ztmCbFsUU= =YJ+q -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] stealth ethernet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James wrote: Hello, For a variety of reasons, I need to be able to make an ethernet interface on a gentoo system, change into listen only (stealth mode). Kind of like half duplex, so to speak. Any simple tricks? Just disabling all responses from the ethernet interface would do. I know I can just use 'ifconfig eth0 down' but anything more elegant or that would allow the interface to keep receiving packets for analysis and logging would be better. At other times I need to run a full blown IDS, like snort, on an ethernet port, but without being externally detected. What would be best method (tools) to ensure the interface is actually not detectable on a given lan segment? Here is a good (Redhat) but old link that kind of outlines the idea: http://www.linuxjournal.com/article/6222 Any web pages, documents or information that is more current and gentoo specific would be of greatly appreciated. TIA, James I've set up Solaris systems with multiple NICs, 1 as a command-and-control interface, and 1 as a sniffing interface. The sniffing interface was configured without an IP. I don't see any reason why this can't be done in gentoo. I guess it depends on how non-detectable you need to be. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDVccVLYGSSmmWCZMRAu4OAJ9nAfOv124BdEfcSf7hYVlQviljAQCgsPNs wOXDcsBhtk1uRXDm8yX9oq0= =Rq/B -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Syslog-ng has shell port open... SOLVED
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Nebinger wrote: On Monday 17 October 2005 02:00 pm, Dave Nebinger wrote: So I'm busy tracking down a tcp connection issue on my server and I see that *.shell is open (not a good thing). So I do the 'netstat -pl' command to see who has that socket open and, low and behold, it happens to be syslog-ng. My bad. Forgot that under tcp 544 is shell, but under udp 544 is syslog. I had both tcp and udp open, which is why shell port was open. Dave Actually, the port is 514 by default, which for TCP is the rsh/rlogin (remote shell/login) port and UDP is the syslog port. When you do a netstat it resolves the names for the ports based on what's in /etc/services. There may be a reason you would want to run syslog-ng in TCP mode, which would show up as *.shell. But I guess you figured out you don't need TCP syslog. ;-) - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDU+p/LYGSSmmWCZMRAj0rAKCObOFvK/Rjxh3eO58pM97M9h+Z3ACgwRZA 7WzdJhAPNeO0LhC2qWq69Yc= =wZg2 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CVS problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Crute wrote: On 10/17/05, *gentuxx* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I just set up cvsd using the Wiki How-To here: http://gentoo-wiki.com/HOWTO_CVS_Server. Nice little How-To, and I seemed to get every thing set up fine. I was able to import the first module with the :pserver: protocol, but then decided that I should go with the SSH modification instead. So, I went through, added my user to the cvsd group, changed the CVSROOT to user the :ext: protocol. Now when I try to export the module, I get a permission denied error! [EMAIL PROTECTED]'s password: cvs server: cannot open /root/CVSROOT/config: Permission denied Cannot access /root/CVSROOT Permission denied Here's the perms on the file: [EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config - -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 13:15 /var/lib/cvs/root/CVSROOT/config I'm in the group, the permissions should be right. Why isn't this working? Check the directory perms too. -Mike Here's the whole tree: [EMAIL PROTECTED] / $ ls -ld /var/lib drwxr-xr-x 37 root root 4096 Oct 17 13:15 /var/lib [EMAIL PROTECTED] / $ ls -ld /var/lib/cvs drwxr-xr-x 10 cvsd cvsd 4096 Oct 17 14:12 /var/lib/cvs [EMAIL PROTECTED] / $ ls -ld /var/lib/cvs/root drwxrwxr-x 3 cvsd cvsd 4096 Oct 17 14:11 /var/lib/cvs/root [EMAIL PROTECTED] / $ ls -ld /var/lib/cvs/root/CVSROOT drwxrwxr-x 3 cvsd cvsd 4096 Oct 17 14:18 /var/lib/cvs/root/CVSROOT [EMAIL PROTECTED] / $ ls -ld /var/lib/cvs/root/CVSROOT/config - -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 14:11 /var/lib/cvs/root/CVSROOT/config The weird thing is, that it seems to work fine in :pserver: mode. Can it not do both at the same time? It would be nice to have anonymous be read only, and SSH for the writers -- Michael E. Crute Software Developer SoftGroup Development Corporation Linux, because reboots are for installing hardware. In a world without walls and fences, who needs windows and gates? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDVBmDLYGSSmmWCZMRAicOAJ9bFHGMbBgU1dvDTD8/a7LDNtvjvwCdHSRQ qK8pdIw6ysRfhxVrVTlgrXk= =4BQR -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CVS problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Gordon wrote: gentuxx said: [EMAIL PROTECTED]'s password: cvs server: cannot open /root/CVSROOT/config: Permission denied Cannot access /root/CVSROOT Permission denied Here's the perms on the file: [EMAIL PROTECTED] / $ ls -l /var/lib/cvs/root/CVSROOT/config - -rwxrwxr-x 1 cvsd cvsd 4082 Oct 17 13:15 /var/lib/cvs/root/CVSROOT/config It looks to me like it's using the CVSROOT in /root (the root user's home directory) instead of in /var/lib/cvs/root. Files in /root are not normally viewable by any other user. Are you sure this is not the case? --Peter Well, I turned on debugging in the config file to see if I could get any info there. What it *does* provide though, is an indication that the chroot is working: Oct 17 14:30:41 gentoo cvsd[11011]: debug: chroot(/var/lib/cvs) done Also, if I put the full path (/var/lib/cvs/root) in the CVSROOT variable, it errors that there is no such directory. So I believe the chroot'ing is happening correctly, I just don't understand why I'm being denied permission through SSH. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDVCJDLYGSSmmWCZMRAqzMAKCWf6KnZ2XyxpicTrmPcUGP932scwCgrore MZT5fOsYmr8gOWh67xz42v0= =zQQb -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Setting up ALSA on a new computer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Sullivan wrote: I'm trying to set up ALSA on my new computer. I ran lspci to find out what sound card I had: camille ~ # lspci -v | grep -i 'audio' :00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) Then I cross-referenced it in the ALSA Matrix. I found (I think) that I should be using the intel8x0 driver. The Matrix page said that I should modprobe snd-card-intel8x0, but when I do that it comes up missing: camille ~ # modprobe snd-card-intel8x0 FATAL: Module snd_card_intel8x0 not found. I'm pretty sure I have support for the module compiled into the kernel. What should I do? Double check the kernel config. Also, when you check the kernel config, make sure that you have it as a module, instead of being built into the kernel itself. This card has done some funky stuff for me. It works, but not the way I would expect it to. The standard test: cat /dev/urandom /dev/dsp works fine as the normal user, but I don't get any of the blips and whirrs in my normal user account, that I do with root. Hopefully, YMWV. ;-) I think I also had to emerge alsa-utils. You may want to check that out. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDTu0CLYGSSmmWCZMRAgwVAJ9Ruqa43s1kLWVtgsxU5TGvVN2O/gCeJkNQ xmDE56rTf3bUGrmORjnhStQ= =o+r0 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Snort/BASE/PostgreSQL Config
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All. After a fair amount of effort, I was able to finally get snort/BASE working with postgresql. I followed the instructions at the wiki, here: http://gentoo-wiki.com/HOWTO_Setup_BASE_with_Apache%2C_Snort%2C_and_PostgreSQL I ran into a number of issues with the database, and it seems that there are probably a few different issues relating to this. First of all, I got everything (that I was missing) installed fine as instructed by the wiki-doc. I say everything that I was missing just because I had apache2 and php working fine before hand. Anyhow, the first indication that there was a problem was when I went to do the base_db_setup.php. That seemed to go fine, but when I went to the main page, I got all kinds of fun database errors. I remember, vaguely, when I set up ACID on a FC3 system about a year ago (or longer), that there was a database schema initialization script that came with the snort source. I was using mysql at the time, but I remember there being a postgresql script as well. Now, I was able to solve THAT problem by downloading the snort source, finding the appropriate script and running it through psql. But, then, I still had permissions errors. So, I had to go through the whole process of manually granting permissions to the right user for each table in the snort database. (There was probably a better way to do that part, but I'm not as familiar with PostgreSQL as I am with MySQL [not that I'm familiar with MySQL]). So my question is this: Why aren't the database initialization script in the ebuild? Wouldn't it be prudent to include them? I can edit the wiki to reflect the differences from my own experience, but it seems that there should be a much more streamlined process. That's part of the beauty of gentoo. Thoughts? Comments? Instructions on how to change the permissions on all the tables in a database is PostgreSQL? ;-) - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDRuO/LYGSSmmWCZMRAqWXAKCQxV+yx9CQUc6F11iF78BdHDnT5QCg56eN Hs0609vqd1fJ1soVxWK/PUY= =OIR5 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] RECALL: Snort/BASE/PostgreSQL Config
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 gentuxx wrote: Hi All. After a fair amount of effort, I was able to finally get snort/BASE working with postgresql. I followed the instructions at the wiki, here: http://gentoo-wiki.com/HOWTO_Setup_BASE_with_Apache%2C_Snort%2C_and_PostgreSQL I ran into a number of issues with the database, and it seems that there are probably a few different issues relating to this. First of all, I got everything (that I was missing) installed fine as instructed by the wiki-doc. I say everything that I was missing just because I had apache2 and php working fine before hand. Anyhow, the first indication that there was a problem was when I went to do the base_db_setup.php. That seemed to go fine, but when I went to the main page, I got all kinds of fun database errors. I remember, vaguely, when I set up ACID on a FC3 system about a year ago (or longer), that there was a database schema initialization script that came with the snort source. I was using mysql at the time, but I remember there being a postgresql script as well. Now, I was able to solve THAT problem by downloading the snort source, finding the appropriate script and running it through psql. But, then, I still had permissions errors. So, I had to go through the whole process of manually granting permissions to the right user for each table in the snort database. (There was probably a better way to do that part, but I'm not as familiar with PostgreSQL as I am with MySQL [not that I'm familiar with MySQL]). So my question is this: Why aren't the database initialization script in the ebuild? Wouldn't it be prudent to include them? I can edit the wiki to reflect the differences from my own experience, but it seems that there should be a much more streamlined process. That's part of the beauty of gentoo. Thoughts? Comments? Instructions on how to change the permissions on all the tables in a database is PostgreSQL? ;-) Looks like the wiki was just broke. When I went to edit it, most/all of the missing steps were in there, but they didn't show. Hopefully that's fixed now. ;-) - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDRuqILYGSSmmWCZMRAmXHAKCRBHLOdPF3exxQJ0blVUI1dxr1cwCfUHxP KORXJ+ToceqIuqPpT+9Sv5A= =O181 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] vanilla-source-2.6.12.5 Xeon EM64T + SMP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Ong wrote: Hi Friends, I am having a machine with 2 x Xeon 2.8Ghz w/HT/EM64T. I am using the minimal-amd64 iso to boot up and install the machine and it's a sucess. But there's a doubt here.. During the installation stage, the kernel provided with the Minimal CD will actually tell 4 CPU. Correct as Real CPU + HT CPU. But when I booted the machine with my own kernel. It shows only 2. Here's the extraction of config.gz # Processor type and features # # CONFIG_MK8 is not set CONFIG_MPSC=y # CONFIG_GENERIC_CPU is not set CONFIG_X86_L1_CACHE_BYTES=128 CONFIG_X86_L1_CACHE_SHIFT=7 CONFIG_X86_TSC=y CONFIG_X86_GOOD_APIC=y # CONFIG_MICROCODE is not set # CONFIG_X86_MSR is not set # CONFIG_X86_CPUID is not set CONFIG_X86_HT=y CONFIG_X86_IO_APIC=y CONFIG_X86_LOCAL_APIC=y CONFIG_MTRR=y CONFIG_SMP=y CONFIG_PREEMPT=y CONFIG_PREEMPT_BKL=y CONFIG_SCHED_SMT=y # CONFIG_K8_NUMA is not set # CONFIG_NUMA_EMU is not set # CONFIG_NUMA is not set CONFIG_HAVE_DEC_LOCK=y CONFIG_NR_CPUS=4 CONFIG_HPET_TIMER=y # CONFIG_HPET_EMULATE_RTC is not set # CONFIG_GART_IOMMU is not set CONFIG_DUMMY_IOMMU=y CONFIG_X86_MCE=y CONFIG_X86_MCE_INTEL=y CONFIG_SECCOMP=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_ISA_DMA_API=y I have the same problem before when I try to compile kernel-2.6.12.5 in FC4 with a P4 3.0 w/HT. I also lost the virtual CPU. Did the kernel-2.6.12.5 treat HT CPU differently ? I hope I can find the answer in the kernel changelog. But it's quite impossible for me right now. Any ideas ? --- Regards, C. K. Ong (Chris) Linux System Engineer RHCT Cert No: 603004347692007 http://www.redhat.com/rhce/rhce603004347692007.html My Directory Sdn. Bhd. Your Open Source Partner. http://www.md.com.my http://www.net.my 2005 I'm running a P4 3.0GHz w/ HT and it works fine for me. Here's what is in my config, that's not in yours: CONFIG_X86_PC=y CONFIG_MPENTIUM4=y CONFIG_X86_GENERIC=y CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_HPET_EMULATE_RTC=y CONFIG_NR_CPUS=8 CONFIG_X86_MCE_NONFATAL=y CONFIG_X86_MCE_P4THERMAL=y CONFIG_MICROCODE=m CONFIG_X86_MSR=m CONFIG_X86_CPUID=m None of that seems like it would would make a difference, except perhaps the processor identification. If you don't tell the kernel what type of processor it's using (i.e. by just leaving it generic) it won't know to enable hyperthreading. HTH - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDRVAWLYGSSmmWCZMRAkMNAJ4kqHMKAV5CToOOlrtelwauf96uNwCeJ8jO WyGGXrJh9iI+U8+1MKz3Na8= =OLZ/ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] New kernel and udev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I went to do my routine emerge -Duptv world and it came back with devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm using udev now or not. I remember compiling into the kernel last time I did a kernel compile. Naturally, when I did the emerge -Cpv devfsd it complained that I was unemerging something in the system profile, and that it could damage my system. So I just thought I would check here before hurting anything. ;-) So, does the v2.6.13-r3 gentoo-sources use udev? (Am I confusing this with something else?) How can I tell if I'm using udev now, and/or if I will hurt anything by uninstalling it, to get the new kernel sources? Thanks. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDRd/6LYGSSmmWCZMRApEjAJ95zhCxlNCIZW1e71555qUy/8HLDgCghDdK 8H9sLDiT4Mfh+I+5SOHXIJs= =w92s -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New kernel and udev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Fish wrote: gentuxx wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I went to do my routine emerge -Duptv world and it came back with devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm using udev now or not. I remember compiling into the kernel last time I did a kernel compile. Naturally, when I did the emerge -Cpv devfsd it complained that I was unemerging something in the system profile, and that it could damage my system. So I just thought I would check here before hurting anything. ;-) Take a look at the RC_DEVICES setting in /etc/conf.d/rc. If that says auto or udev, then you are using udev and can safely remove devfs. Another way to check is to look at the output of mount | grep /dev. Here is what it says for me: udev on /dev type tmpfs (rw,nosuid) If you are still using devfs, this will probably say type devfs. -Richard No devfs. I guess I was thinking that udev WAS devfs. I also found this: http://www.gentoo.org/doc/en/devfs-guide.xml, which was a help. ;-) Thanks. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDRfGVLYGSSmmWCZMRAsZ3AKDFZXbuCAdvDoKUCqbYMpIeihGr/gCgj13N UbMw2lSMTNYZW7fCmWdo8LU= =2zQ2 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] os-headers differ from kernel version
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is just a difference that I noticed while running the 'emerge - --info' command. My kernel is 2.6.12-gentoo-r9, but emerge --info reports the os-headers as 2.6.11-r2. I was able to trace the os-headers info back to the sys-kernel/linux-headers package, which it seems the most recent is 2.6.11-r2. Why the difference? Does it matter? - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDRGeqLYGSSmmWCZMRAqmDAKDokvhbBhIXqzfpVpPz85qPmu1tbQCcClmz MnUkfkB6ZPNz1s5tQYpkU+k= =QXok -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What's happened to gnome ... I'm very frustrated
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Watson wrote: I'm not having any problems and I just rebuilt xorg-x11. Are you x86 or ~x86? I'm running X86 - Thanks for replying. How would I force a Gnoe re-install? You could either uninstall and reinstall: emerge -Cv gnome-base/gnome-core emerge -Duv gnome-base/gnome-core Or try the --newuse flag, which will for a recompile: emerge -Duv --newuse gnome-base/gnome-core - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDQwPvLYGSSmmWCZMRAokEAJ95ReM0CTOdN/DzgdPQkVx0umGKiQCfYRRu r3u4EPBNLz1080VP8orTwDM= =UYa9 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kernel tuning
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Shields wrote: Sane defaults? Sounds a bit redundant to me. You will have to tweak the kernel sources since your not using genkernel (my experience with Redhat is minimal, I assume they use a type of generic kernel?). There's no way around it. Short story, if you want sane defaults, stick with the genkernel. On 10/1/05, *John Jolet* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've got a farm of 32-bit redhat 7 web servers that we're about to start migrating to gentoo on amd64 servers. One question my boss had that I can't seem to answer is this. Redhat kernels are supposedly tuned for sane defaults and I've done no tuning at all on the gentoo boxes. Using gentoo sources and NOT genkernel, can anyone give me some hints about what I need to look at? I'd be very embarrased if I replaced older 32-bit redhat 7 boxes with 64-bit gentoo boxes and the migration failed because I didn't change some parameter to tweak these guys for apache/zope. -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net http://www.jolet.net [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list -- - Mark Shields IIRC, RedHat kernels are relatively generic in that they have almost everything turned on, and/or build the modules so that they can maximize the hardware compatibility. So it is likely that there will be tones of stuff that was turned on, or had modules build for it, that you didn't need. The same will likely be the case for the gentoo kernel. You're best bet is to spend the time on one system going through each kernel option (within reason), if you don't know what it does, read the help and/or turn it off (it will give a recommended setting in the Help). Once you've got your config, use that to build the kernels for the rest fo your systems. I know it's a lot of work, but once you've done it, subsequent configs/compiles for kernel upgrades, security patches, etc. will go MUCH faster. 1) Because you'll have a pre-defined kernel config. 2) You'll know what most of the kernel options are (at least superficially) and which ones you need enabled. You'll just have to read the help for any new ones that pop up. ;-) HTH - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDPuqXLYGSSmmWCZMRAhxlAKDrXCbDtafJPdObBrot58t9Zxuv8ACgjQtw g2gJWap5M6/a415dDccJpdU= =NRaR -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Any 'sed' geniuses out there?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm writing a sed script that will parse the *broken* output of man2html. I say broken, because the output isn't W3C compliant (html OR xhtml). I'd like to be able to modify it so that the final outcome is XHTML 1.0 compliant. I'm running into a problem where the output doesn't close the p, dt, or dd tags. XHTML requires that tags containing text be closed. So the problem I'm having is being able to take note of the starting tag, grab the subsequent paragraph, then insert the closing tag. What I've got /sort of/ works, but still not. Here's a sample that has been parsed, but not with the p modifying elements: p Regular expression support is provided by the PCRE library package, which is open source software, written by Philip Hazel, and copyright by the University of Cambridge, England. See a href=http://www.pcre.org/;http://www.pcre.org//a . p Nmap can optionally link to the OpenSSL cryptography toolkit, which is available from a href=http://www.openssl.org/;http://www.openssl.org//a . Here's the entire sedscr (sans comments): /^$/{ N /^\n$/d } /^Content-type: text\/html/c\ !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; s%\(HTML\|P\|HEAD\|TITLE\|BODY\|STRONG\|EM\|H[123456]\|D[DLT]\|T[TDRH]\)%\L\1%g s%\/\(HTML\|P\|A\|HEAD\|TITLE\|BODY\|STRONG\|EM\|H[123456]\|D[DLT]\|T[TDRH]\)%\L/\1%g s%BR%br /%g s%HR%hr /%g s%[Dd][Ll] [Cc][Oo][Mm][Pp][Aa][Cc][Tt]%dl compact=compact% s%A HREF\(.*\)%a href\1%g s%A NAME\(.*\)%a name\1%g /^[IB].*$/{ N s%\([IB]\)\(.*\)\(\/[IB]\)\n%\L\1\2\L\3% } /^[ib].*$/{ N s%\n%% } s%[IB]%\L% s%\/[IB]%\L% /body/,/\/body/{ /p/!{ H d } /p/{ x s/$/\/p/ G } } /^p$/,/\p$/{ N /^\np$/d } Here's the funkiness after parsing with the last part (/body/,/\/body/{) enabled: p p Regular expression support is provided by the PCRE library package, which is open source software, written by Philip Hazel, and copyright by the University of Cambridge, England. See a href=http://www.pcre.org/;http://www.pcre.org//a ./p p p Nmap can optionally link to the OpenSSL cryptography toolkit, which is available from a href=http://www.openssl.org/;http://www.openssl.org//a ./p (Just in case you were wondering, this IS from the nmap man page. ;-) Thanks. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDOMBkLYGSSmmWCZMRAnnrAJwKNqr+/OgBdDD8X8PXX6rpKUfaxQCfU9PW Bs2oA/76RYFbbc7DWEpfTM8= =gcc/ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Any 'sed' geniuses out there?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Nebinger wrote: I'm writing a sed script that will parse the *broken* output of man2html. I say broken, because the output isn't W3C compliant (html OR xhtml). I'd like to be able to modify it so that the final outcome is XHTML 1.0 compliant. I'm running into a problem where the output doesn't close the p, dt, or dd tags. Won't html tidy do this kind of thing for you? It would seem to be easier to reuse an existing tested tool rather than trying to roll your own... Possibly. Didn't know about that. I'll look into it. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDOMMTLYGSSmmWCZMRAokvAJoDPchPx83taV9a70hSODam/1SBMwCdGDtU JGHSO7g47BfuV3JNSGjsK7A= =41BE -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Any 'sed' geniuses out there?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Nebinger wrote: Well, while I enjoy a good challenge (especially sed, awk, or perl), htmltidy does the trick quite nicely. It doesn't indent the way that I do, but my first priority was making the output W3C compliant, and htmltidy's output is that. I haven't used it in awhile, but there may be some command line options to assist with the indentation... There is the '-i' option, but the indentation is minimal. I tend to be pretty anal about indentation. But like I said, I'm not really concerned about that. My main concern was validation, and htmltidy gives me that. Thanks again. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDOM1KLYGSSmmWCZMRAs3qAJ9hoq5MwibAnIEqfnJr/75lnlQlPgCgj6Wm hhFCE/G1Leo7ZUjExnM6OW8= =N9UW -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] weird samba problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Red wrote: i tried to setup samba, but i just can't get it to work right. i can write files - but i can't read them ?!? please help!!! some example of my problem: [EMAIL PROTECTED] ~ % smbmount //silverserver/public /home/red/public Password: [EMAIL PROTECTED] ~ % ls -l /home/red/public total 12 -rwxr-xr-x 1 red users 2 Sep 24 14:25 Textdatei -rwxr-xr-x 1 red users 4 Sep 24 14:27 bla -rwxr-xr-x 1 red users 4 Sep 22 18:24 test [EMAIL PROTECTED] ~ % echo foo /home/red/public/testfile [EMAIL PROTECTED] ~ % ls -l /home/red/public total 16 -rwxr-xr-x 1 red users 2 Sep 24 14:25 Textdatei -rwxr-xr-x 1 red users 4 Sep 24 14:27 bla -rwxr-xr-x 1 red users 4 Sep 22 18:24 test -rwxr-xr-x 1 red users 4 Sep 24 14:31 testfile [EMAIL PROTECTED] ~ % cat /home/red/public/testfile cat: /home/red/public/testfile: Permission denied What are the NT file permissions of the share you're trying to mount? You might also want to check the share permissions. Depending on which Windows OS you're mounting from, they may be different. If I remember correctly, NT permissions override share permissions. [ ... snip samba.conf ... ] - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDNdfYLYGSSmmWCZMRAi94AJ9NnZVt40wrlkPV7RINtGwXdNaVtgCg184K EDF7dSDetR8+h4c+9bkboDk= =sLVi -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] specifying DNS servers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Nebinger wrote: !-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:Times New Roman;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.FigureDescription, li.FigureDescription, div.FigureDescription {margin:0in; margin-bottom:.0001pt; text-align:center; font-size:10.0pt; font-family:Times New Roman; font-style:italic;} p.BoxedCode, li.BoxedCode, div.BoxedCode {margin:0in; margin-bottom:.0001pt; background:#E0E0E0; border:none; padding:0in; font-size:9.0pt; font-family:Courier New;} span.EmailStyle19 {font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} -- Name resolution is name resolution, whether on the static line or the dynamic line. What difference does it make? If they are on different networks, one interface may not be able to see the other interface, therefore not the name servers either. -Original Message- *From:* Mark [mailto:[EMAIL PROTECTED] *Sent:* Thursday, September 22, 2005 2:44 PM *To:* gentoo-user@lists.gentoo.org *Subject:* [gentoo-user] specifying DNS servers Can I specify different DNS servers for each of my two physical interfaces to use? One nic is configured for DHCP, and the other is static. The DHCP enabled NIC gets its DNS server list automatically and updates (overwrites) /etc/resolv.conf. How can I point my static IP NIC to a different DNS server since it's on a different network? Or is there a different/better solution? -- Mark [unwieldy legal disclaimer would go here - feel free to type your own] - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDMwC+LYGSSmmWCZMRApGaAJ0XaftKmVdDpsoMJx4UUY/Kb0EiYwCfR7d0 IWcIp4dWNTokqIlPa+UiQ7Q= =kUcl -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list