Re: [gentoo-user] Re: world symlinking
On Thu, 4 Nov 2010 00:32:01 +, Peter Humphrey wrote: On this ~amd64 box portage 2.2x was hard-masked a day or two ago and I was required to downgrade to sys-apps/portage-2.1.9.24. It seems that the 2.2 branch is now only fit for 32-bit systems - there must really be some hard problem in there. They just changed from package masking to keyword masking, as noted in the ChangeLog Drop keywords from portage-2.2*, as a substitute for masking via package.mask. Remove the entry from /etc/portage/package.unmask and add it to /etc/portage/package.keywords. This applies equally to ~x86 and ~amd64. -- Neil Bothwick When you finally buy enough memory, you will not have enough disk space. -- Murphy's Computer Laws n°3 signature.asc Description: PGP signature
Re: [gentoo-user] Re: world symlinking
On Thursday 04 November 2010 09:30:11 Neil Bothwick wrote: They just changed from package masking to keyword masking, as noted in the ChangeLog I couldn't get emerge to show me the change log. Remove the entry from /etc/portage/package.unmask and add it to /etc/portage/package.keywords. This applies equally to ~x86 and ~amd64. As expected, that didn't help - this is a ~amd64 gentoo box, and so everything is already emerged with the ~amd64 keyword. I still get a missing-keyword error from emerge. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Re: world symlinking
Apparently, though unproven, at 18:46 on Thursday 04 November 2010, Peter Humphrey did opine thusly: On Thursday 04 November 2010 09:30:11 Neil Bothwick wrote: They just changed from package masking to keyword masking, as noted in the ChangeLog I couldn't get emerge to show me the change log. Remove the entry from /etc/portage/package.unmask and add it to /etc/portage/package.keywords. This applies equally to ~x86 and ~amd64. As expected, that didn't help - this is a ~amd64 gentoo box, and so everything is already emerged with the ~amd64 keyword. I still get a missing-keyword error from emerge. It's not package.keywords, it's package.accept_keywords. The old name will be accepted for a while but I don't know when that warranty expires. Do this: sys-apps/portage-** in package.{accept_,}keywords -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: world symlinking
Am 04.11.2010 17:46, schrieb Peter Humphrey: As expected, that didn't help - this is a ~amd64 gentoo box, and so everything is already emerged with the ~amd64 keyword. I still get a missing-keyword error from emerge. portage-2.2_rc67.ebuild has KEYWORDS=~sparc-fbsd ~x86-fbsd As you can see there is no ~amd64 set in the ebuild and so it can't match your ~amd64 in make.conf. Because of that you have to put 'sys-apps/portage-2.2_rc67 **' to package.keywords HtH Sebastian Beßler
Re: [gentoo-user] Re: world symlinking
Am 04.11.2010 18:01, schrieb Alan McKinnon: It's not package.keywords, it's package.accept_keywords. Good to know, when and where was that announced? Greetings Sebastian Beßler
Re: [gentoo-user] Re: world symlinking
On Thu, 4 Nov 2010 19:01:45 +0200, Alan McKinnon wrote: It's not package.keywords, it's package.accept_keywords. The old name will be accepted for a while but I don't know when that warranty expires I hadn't noticed that, but the portage man page still advocates the use of either, and portage doesn't spit out any deprecation warnings, so I expect it will be OK for a while, maybe until 2.2.0_alpha99 :-/ -- Neil Bothwick There are two kinds of people in this world: Those who are good with words, and those who are... erm... thingy signature.asc Description: PGP signature
Re: [gentoo-user] Re: world symlinking
On Thursday 04 November 2010 17:01:45 Alan McKinnon wrote: It's not package.keywords, it's package.accept_keywords. The old name will be accepted for a while but I don't know when that warranty expires. Do this: sys-apps/portage-** in package.{accept_,}keywords accept_keywords did it. Thanks. I didn't know about that either. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Re: world symlinking
Apparently, though unproven, at 20:35 on Thursday 04 November 2010, Peter Humphrey did opine thusly: On Thursday 04 November 2010 17:01:45 Alan McKinnon wrote: It's not package.keywords, it's package.accept_keywords. The old name will be accepted for a while but I don't know when that warranty expires. Do this: sys-apps/portage-** in package.{accept_,}keywords accept_keywords did it. Thanks. I didn't know about that either. I found it myself by chance. As luck would have it, I now forget where it is, but I *think* it's in the portage(5) man page. I tend to read all portage's man pages about once a month or so just to keep current and see what might have changed. $PORTDIR/profiles/package.mask is an amazing source of info too. Changes to mask values are documented there. Unfortunately this nugget of info about the change to portage isn't in that file, Zac put it in $PORTDIR/profiles/ChangeLog and references bug #336692 -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: world symlinking
On Wednesday 03 November 2010, Kevin O'Gorman wrote: sys-apps/portage-2.2_rc67 HTH Francesco I'll look forward to that going stable x86. Right now that means sys-apps/portage-2.1.8.3 Actually 2.2_rc67 was removed recently. ciao Francesco -- Linux Version 2.6.35-gentoo-r11, Compiled #1 SMP PREEMPT Fri Oct 29 20:33:46 CEST 2010 Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11657 Bogomips Total aemaeth
Re: [gentoo-user] Re: world symlinking
Francesco Talamona wrote: On Wednesday 03 November 2010, Kevin O'Gorman wrote: sys-apps/portage-2.2_rc67 HTH Francesco I'll look forward to that going stable x86. Right now that means sys-apps/portage-2.1.8.3 Actually 2.2_rc67 was removed recently. ciao Francesco I synced this morning and I still got it. [IP-] [ ] sys-apps/portage-2.2_rc67 Was this a VERY recent removal? Dale :-) :-)
Re: [gentoo-user] Re: world symlinking
On Wednesday 03 November 2010 23:10:05 Dale wrote: I synced this morning and I still got it. [IP-] [ ] sys-apps/portage-2.2_rc67 On this ~amd64 box portage 2.2x was hard-masked a day or two ago and I was required to downgrade to sys-apps/portage-2.1.9.24. It seems that the 2.2 branch is now only fit for 32-bit systems - there must really be some hard problem in there. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Re: world symlinking
Peter Humphrey wrote: On Wednesday 03 November 2010 23:10:05 Dale wrote: I synced this morning and I still got it. [IP-] [ ] sys-apps/portage-2.2_rc67 On this ~amd64 box portage 2.2x was hard-masked a day or two ago and I was required to downgrade to sys-apps/portage-2.1.9.24. It seems that the 2.2 branch is now only fit for 32-bit systems - there must really be some hard problem in there. Well, I'm on 32 bit so I guess I am OK. Maybe that is why it is still here but I did have to keyword it if I recall correctly. So maybe it is not just 64 bit with problems. Dale :-) :-)
[gentoo-user] Re: world symlinking
On Tuesday 02 November 2010, Gary Golden wrote: Hi, list. I keep changes of my /etc with git and I would like to include /var/lib/portage/world file into the repository. Can I safely do: mv /var/lib/portage/world /etc/portage ln -s /etc/portage /var/lib/portage/world Will portage update handle it properly? Using hardlinks seems to be more cleaner way, but for some reason I don't want to use it for this task. Have a nice day! ;) Actually it's much easier, I have two machines, both with /etc/world. And it's a exact copy of /var/lib/portage/world, something in my computers is doing this, and it isn't a (soft|hard)link :) sys-apps/portage-2.2_rc67 HTH Francesco -- Linux Version 2.6.35-gentoo-r11, Compiled #1 SMP PREEMPT Fri Oct 29 20:33:46 CEST 2010 Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.86 Bogomips Total aemaeth
[gentoo-user] Re: world symlinking
On 11/02/2010 03:05 PM, Alan McKinnon wrote: Right now I sit with 60+ SLES 9 machines that cannot be taken offline for any reason, and EVERY SINGLE ONE has one giant filesystem... How did this happen? The man in charge three managers ago thought this was a cool way to configure critical servers. Because One filesystem mounted at / was option #1 on the disk page of the SLES install wizard. Thanks, I'm relieved to know that I'm not cut from managerial cloth :) I'm assuming that SUSE releases security patches from time to time. How do you keep all those machines up to date if you can't take them offline?
Re: [gentoo-user] Re: world symlinking
Apparently, though unproven, at 00:21 on Wednesday 03 November 2010, Francesco Talamona did opine thusly: On Tuesday 02 November 2010, Gary Golden wrote: Hi, list. I keep changes of my /etc with git and I would like to include /var/lib/portage/world file into the repository. Can I safely do: mv /var/lib/portage/world /etc/portage ln -s /etc/portage /var/lib/portage/world Will portage update handle it properly? Using hardlinks seems to be more cleaner way, but for some reason I don't want to use it for this task. Have a nice day! ;) Actually it's much easier, I have two machines, both with /etc/world. And it's a exact copy of /var/lib/portage/world, something in my computers is doing this, and it isn't a (soft|hard)link :) sys-apps/portage-2.2_rc67 You have a funky cron somewhere? Are time stamps the same? I don't have such a thing: $ emerge -V Portage 2.2.0_alpha3 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.11.2-r3, 2.6.36-ck x86_64) $ ls -al /etc/world ls: cannot access /etc/world: No such file or directory -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: world symlinking
Apparently, though unproven, at 00:49 on Wednesday 03 November 2010, walt did opine thusly: On 11/02/2010 03:05 PM, Alan McKinnon wrote: Right now I sit with 60+ SLES 9 machines that cannot be taken offline for any reason, and EVERY SINGLE ONE has one giant filesystem... How did this happen? The man in charge three managers ago thought this was a cool way to configure critical servers. Because One filesystem mounted at / was option #1 on the disk page of the SLES install wizard. Thanks, I'm relieved to know that I'm not cut from managerial cloth :) I'm assuming that SUSE releases security patches from time to time. How do you keep all those machines up to date if you can't take them offline? Maintenance time slots. A reboot after installing a new kernel takes less than 5 minutes and nothing else really requires a reboot, so this passes the Change Management process easily. Other updates are usually a service restart which can be done on the fly. So never take offline doesn't actually mean *never*, it means outside agreed service levels Fixing / means take the machine offline for X hours where $X is some large number depending on how big / is and how fast tar runs. And the Change Manager asks his usual horrible questions: What's the risk? What's the impact? Is this customer facing? Does this problem reduce quality of service to customers? Don't you have Nagios to manage exactly this kind of thing? His answer to my answers is usually something like You're kidding me right? This is another one of Alan's pranks, right? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: world symlinking
Alan McKinnon wrote: Apparently, though unproven, at 00:21 on Wednesday 03 November 2010, Francesco Talamona did opine thusly: On Tuesday 02 November 2010, Gary Golden wrote: Hi, list. I keep changes of my /etc with git and I would like to include /var/lib/portage/world file into the repository. Can I safely do: mv /var/lib/portage/world /etc/portage ln -s /etc/portage /var/lib/portage/world Will portage update handle it properly? Using hardlinks seems to be more cleaner way, but for some reason I don't want to use it for this task. Have a nice day! ;) Actually it's much easier, I have two machines, both with /etc/world. And it's a exact copy of /var/lib/portage/world, something in my computers is doing this, and it isn't a (soft|hard)link :) sys-apps/portage-2.2_rc67 You have a funky cron somewhere? Are time stamps the same? I don't have such a thing: $ emerge -V Portage 2.2.0_alpha3 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.11.2-r3, 2.6.36-ck x86_64) $ ls -al /etc/world ls: cannot access /etc/world: No such file or directory I don't have one here and I run the latest portage. I don't recall ever having one either. Dale :-) :-)
Re: [gentoo-user] Re: world symlinking
On Tue, Nov 2, 2010 at 3:21 PM, Francesco Talamona francesco.talam...@know.eu wrote: On Tuesday 02 November 2010, Gary Golden wrote: Hi, list. I keep changes of my /etc with git and I would like to include /var/lib/portage/world file into the repository. Can I safely do: mv /var/lib/portage/world /etc/portage ln -s /etc/portage /var/lib/portage/world Will portage update handle it properly? Using hardlinks seems to be more cleaner way, but for some reason I don't want to use it for this task. Have a nice day! ;) Actually it's much easier, I have two machines, both with /etc/world. And it's a exact copy of /var/lib/portage/world, something in my computers is doing this, and it isn't a (soft|hard)link :) sys-apps/portage-2.2_rc67 HTH Francesco I'll look forward to that going stable x86. Right now that means sys-apps/portage-2.1.8.3 -- Kevin O'Gorman, PhD