[gentoo-user] Could not set interface mon.wlan1 (hostapd)

2012-12-15 Thread Tamer Higazi
I am trying to get hostapd with my Atheros Wlan USB Stick to run
(zd1211rw) on Gentoo Linux to run and I am not getting further.

Now I really don't know if it's the USB stick, the driver or the hostapd
itself that makes me troubles.
I am running Gentoo x64 bit with the kernel 3.3.8.
If somebody knows the answer, I would kindly thank him/her.


output of sudo hostapd -dd /etc/hostapd/hostapd.conf:

random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
nl80211: interface wlan1 in phy phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Using driver-based off-channel TX
nl80211: Add own interface ifindex 5
nl80211: Set mode ifindex 5 iftype 3 (AP)
nl80211: Create interface iftype 6 (MONITOR)
nl80211: New interface mon.wlan1 created: ifindex=9
nl80211: Add own interface ifindex 9
Could not set interface mon.wlan1 flags: No such file or directory
nl80211: Remove interface ifindex=9
nl80211: Failed to set interface wlan1 into AP mode
netlink: Operstate: linkmode=0, operstate=6
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory


my hostapd.conf:


interface=wlan1
driver=nl80211

logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=Tux
macaddr_acl=0
auth_algs=3
eap_server=0
eap_message=hello
eapol_key_index_workaround=0
own_ip_addr=127.0.0.1
wpa=3
ieee8021x=0
wpa_passphrase=secretpassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
hw_mode=g
channel=8




[gentoo-user] Re: /usr/share/doc/openrc/net.example not found

2012-12-15 Thread Nuno J. Silva
On 2012-12-15, Chris Stankevitz wrote:

 Hello,

 The file

   /etc/conf.d/net

 reports that I can seen an example format at this location:

   /usr/share/doc/openrc/net.example

As dale found, it's under a compression suffix. In fact, most (all?) of
the stuff that goes under /usr/share/doc is compressed by default under
gentoo. This used to be gzip -5, and was then changed to bzip -9, and
you can change it to anything else, including no compression at all.

 On my machine that example file does not exist.  Did I do something
 wrong or is this just a documentation oversight?

 Thank you,

 Chris

 PS: I'm trying to find a way to prevent dhcpd from updating my ntp.conf

dhcpd? Don't you mean dchpcd (the c stands for *client*, dhcpd would be
the DHCP daemon granting leases to clients)?

If so, and if you don't mind using the same settings for all network
interfaces, have a look at /etc/dhcpcd.conf, which has an option option
ntp_servers. I'd guess that disabling this would do what you want.

-- 
Nuno Silva (aka njsg)
http://njsg.sdf-eu.org/




[gentoo-user] Re: Anyone switched to eudev yet?

2012-12-15 Thread Nuno J. Silva
On 2012-12-14, Mark Knecht wrote:

 I guess the other question that's lurking here for me is why do you
 have /usr on a separate partition? What's the usage model that drives
 a person to do that? The most I've ever done is move /usr/portage and
 /usr/src to other places. My /usr never has all that much in it beyond
 those two directories, along with maybe /usr/share. Would it not be
 easier for you in the long run to move /usr back to / and not have to
 deal with this question at all?

I may be wrong in this one, but the idea I have is that your regular
applications (so, most of them) all lie under /usr/ -- /lib /bin and
others are for essential system tools.

-- 
Nuno Silva (aka njsg)
http://njsg.sdf-eu.org/




[gentoo-user] how to get data::util on gentoo

2012-12-15 Thread covici
Hi.  I was trying to install the JIRA-client from cpan, but it wants
Data::Util and I can't find it in gentoo anywhere.  I tried to install
that from cpan, but it, in turn wants a number of modules which I don't
have and on we go.  Does gentoo have this or is there a way in cpan to
get all the dependencies?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] how to get data::util on gentoo

2012-12-15 Thread Randolph Maaßen
2012/12/15 cov...@ccs.covici.com

 Hi.  I was trying to install the JIRA-client from cpan, but it wants
 Data::Util and I can't find it in gentoo anywhere.  I tried to install
 that from cpan, but it, in turn wants a number of modules which I don't
 have and on we go.  Does gentoo have this or is there a way in cpan to
 get all the dependencies?

 Thanks in advance for any suggestions.

 --
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?

  John Covici
  cov...@ccs.covici.com


Try to (re)emerge dev-pear/Data-Utilities.
Looks like what you want from eix.

Try to install the JIRA-Client after this.


-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Anyone switched to eudev yet?

2012-12-15 Thread pk
On 2012-12-14 17:53, Mark Knecht wrote:

 I guess the other question that's lurking here for me is why do you
 have /usr on a separate partition? What's the usage model that drives
 a person to do that? The most I've ever done is move /usr/portage and
 /usr/src to other places. My /usr never has all that much in it beyond
 those two directories, along with maybe /usr/share. Would it not be
 easier for you in the long run to move /usr back to / and not have to
 deal with this question at all?

I don't want easy to supplant flexibility[1]. It really is that simple.
And this is my firm _opinion_ in the matter, I'm not interested in
another flame war, please.

[1] I'm actually planning to get rid of partitions (/, /boot, /usr,
/home, /var, /tmp) alltogether and replacing them with separate,
smaller, ssds.

Best regards

Peter K



Re: [gentoo-user] Anyone switched to eudev yet?

2012-12-15 Thread Volker Armin Hemmann
Am Freitag, 14. Dezember 2012, 21:34:54 schrieb Kevin Chadwick:
 On Fri, 14 Dec 2012 08:53:35 -0800
 
 Mark Knecht markkne...@gmail.com wrote:
  I guess the other question that's lurking here for me is why do you
  have /usr on a separate partition? What's the usage model that drives
  a person to do that? The most I've ever done is move /usr/portage and
  /usr/src to other places. My /usr never has all that much in it beyond
  those two directories, along with maybe /usr/share. Would it not be
  easier for you in the long run to move /usr back to / and not have to
  deal with this question at all?
 
 It should be moving in the other direction for stability reasons and
 busybox is no full answer.
 
 On OpenBSD which has the benefit of userland being part of it. All the
 critical single user binaries are in root and built statically as much
 as possible, maximising system reliability no matter the custom
 requirements or packages.

until a flaw is found in one of the libs used and all those statically linked 
binaries are in danger.  Well done!

-- 
#163933



Re: [gentoo-user] how to get data::util on gentoo

2012-12-15 Thread William Kenworthy
On Sat, 2012-12-15 at 04:18 -0500, cov...@ccs.covici.com wrote:
 Hi.  I was trying to install the JIRA-client from cpan, but it wants
 Data::Util and I can't find it in gentoo anywhere.  I tried to install
 that from cpan, but it, in turn wants a number of modules which I don't
 have and on we go.  Does gentoo have this or is there a way in cpan to
 get all the dependencies?
 
 Thanks in advance for any suggestions.
 

*  app-portage/g-cpan
  Latest version available: 0.16.2
  Latest version installed: 0.16.2
  Size of downloaded files: 27 kB
  Homepage:http://www.gentoo.org/proj/en/perl/g-cpan.xml
  Description: g-cpan: generate and install CPAN modules using
portage
  License: || ( Artistic GPL-2 )

* 

searches for a perl module, checks if it exists in portage first, if not
creates an ebuild and installs it including dependencies.  One of the
nice things about gentoo!

BillK




Re: [gentoo-user] Dual or Quad CPU complications?

2012-12-15 Thread Florian Philipp
Am 15.12.2012 01:40, schrieb Mick:
 On Thursday 13 Dec 2012 14:13:56 Bruce Hill wrote:
 On Thu, Dec 13, 2012 at 08:44:45AM +0100, J. Roeleveld wrote:
 NUMA is also an option in the kernel. Should also be fully transparent.
 I got one machine with NUMA and only had to set an option for it.

 Does anyone know how to check it's working properly?

 dmesg | grep NUMA
 
 Hmm ... it seems that it can't find NUMA configuration:
 
 $ dmesg | grep UMA
 No NUMA configuration found
 
 Am I supposed to configure something in userspace?  This is what the kernel 
 has:
 
 $ uname -a
 Linux dell_xps 3.5.7-gentoo #2 SMP PREEMPT Mon Nov 26 10:36:47 GMT 2012 
 x86_64 
 Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz GenuineIntel GNU/Linux
 
[...]

dell_xps as in XPS laptop? There are no NUMA laptops.

Despite all the stuff about terminology, we are basically talking about
multi-socket systems. Things with mainboards like these [1] as opposed
to these [2].

[1] http://www.newegg.com/Product/Product.aspx?Item=N82E16813131378
[2] http://www.newegg.com/Product/Product.aspx?Item=N82E16813131725

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] how to get data::util on gentoo

2012-12-15 Thread covici
Randolph Maaßen r.maasse...@gmail.com wrote:

 2012/12/15 cov...@ccs.covici.com
 
  Hi.  I was trying to install the JIRA-client from cpan, but it wants
  Data::Util and I can't find it in gentoo anywhere.  I tried to install
  that from cpan, but it, in turn wants a number of modules which I don't
  have and on we go.  Does gentoo have this or is there a way in cpan to
  get all the dependencies?
 
  Thanks in advance for any suggestions.
 
  --
  Your life is like a penny.  You're going to lose it.  The question is:
  How do
  you spend it?
 
   John Covici
   cov...@ccs.covici.com
 
 
 Try to (re)emerge dev-pear/Data-Utilities.
 Looks like what you want from eix.
 
 Try to install the JIRA-Client after this.
If you meant dev-perl, I did try that, but that is not the package,
JIRA-Client still complains.

Thanks again.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] how to get data::util on gentoo

2012-12-15 Thread covici
William Kenworthy bi...@iinet.net.au wrote:

 On Sat, 2012-12-15 at 04:18 -0500, cov...@ccs.covici.com wrote:
  Hi.  I was trying to install the JIRA-client from cpan, but it wants
  Data::Util and I can't find it in gentoo anywhere.  I tried to install
  that from cpan, but it, in turn wants a number of modules which I don't
  have and on we go.  Does gentoo have this or is there a way in cpan to
  get all the dependencies?
  
  Thanks in advance for any suggestions.
  
 
 *  app-portage/g-cpan
   Latest version available: 0.16.2
   Latest version installed: 0.16.2
   Size of downloaded files: 27 kB
   Homepage:http://www.gentoo.org/proj/en/perl/g-cpan.xml
   Description: g-cpan: generate and install CPAN modules using
 portage
   License: || ( Artistic GPL-2 )
 
 * 
 
 searches for a perl module, checks if it exists in portage first, if not
 creates an ebuild and installs it including dependencies.  One of the
 nice things about gentoo!

ohh Thanks!  I will try that.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Fwd: [gentoo-dev] eudev project announcement

2012-12-15 Thread Michael Mol
-- Forwarded message --
From: Richard Yao r...@gentoo.org
Date: Dec 14, 2012 10:59 PM
Subject: [gentoo-dev] eudev project announcement
To: gentoo-dev-announce+subscr...@lists.gentoo.org
Cc: gentoo-...@lists.gentoo.org gentoo-...@lists.gentoo.org, 
gentoo-proj...@lists.gentoo.org

Dear Everyone,

I am pleased to announce the Gentoo eudev project. Many of you
already
know about the eudev project from early publicity that we had before
things were ready. Despite that, I hope to take advantage of the
official announcement to explain what we are doing, why we are doing it
and what it means for you. I have broken the announcement into
subsections, each with a title for ease of reading.

Why fork udev?

Earlier this year, udev upstream was absorbed into systemd. udev
often
breaks compatibility with older systems by depending upon recent Linux
kernel releases, even when such dependencies are avoidable. This became
worse after udev became part of systemd, which has jeopardized our
ability to support existing installations. The systemd developers are
uninterested in providing full support in udev to systemd alternatives.
These are problems for us and we have decided to fork udev to address them.

You are a Gentoo project. What does this mean?

Gentoo as an organization is quite similar to github, although it is
exclusive to Gentoo developers. Our rules permit all Gentoo developers
have the ability to start a project and such projects are entitled to be
hosted on Gentoo infrastructure. This by no means constitutes official
endorsement by Gentoo's governing body and we have no authority to
dictate the future direction of Gentoo. We do have the ability to
provide an alternative to Gentoo users, which we fully intend to do.
eudev will be by no means exclusive to Gentoo. We will handle bug
reports from users of other distribution in the same way that we handle
bug reports involving Gentoo. This will be much like other Gentoo-hosted
projects such as portage and OpenRC.

What is your project's license?

The systemd developers were in the middle of a transition to the
LGPL
from the GPL when we forked. We inherited the code in the middle of that
transition and we see no reason to pursue a different course. Therefore,
all future changes that we make to eudev will be available under the LGPL.

What are your project's goals?

Our primary goal is to address the problems with systemd-udev that
caused us to fork it in the first place. In particular, we want better
compatibility with existing software such as OpenRC and Upstart, older
kernels, various toolchains and anything else required by users and
various distributions. We also want to minimize regressions and work
with developers of other distributions (and components used by them) to
address issues.

How will you minimize regressions?

We intend to maintain HEAD in a releaseable state. All minor changes
require review from one eudev developer and all major changes require
review from two eudev developers. This does not include the author. In
addition, we intend to require commits to make logically independent
changes with descriptive commit messages to make regression hunting
easier when regressions do happen.
These rules were not enforced at the beginning, but we are
transitioning toward enforcement. They will enter full effect once we
tag our first release candidate.

How do you intend to work with other distributions?

We have our repository on github, which is known for easy
collaboration. If a distribution developer identifies a problem with
eudev, they can file an issue and we will do our best to resolve their
problem. If they wish to work with us to resolve it, we can talk in IRC
and they can also file pull requests. Provided that the changes are not
entirely unreasonable (e.g. pushing an init system into udev), we are
willing to work with authors of pull requests to get them into a
mergeable state. The only hard rule is that changes cannot break the
ability of existing systems to upgrade.
We also plan to make an official mailing list, which will be hosted
on
Gentoo infrastructure.

Will you make the boot process faster?

We have ideas on how to make udevd faster. However, people usually
only
notice the time that udevd takes when there is a bug and we are more
interested in fixing those bugs than we are in shaving milliseconds off
boot time. There are plenty of areas that could use attention by people
that are interested in a faster boot process before udev becomes one of
them. We consider things such as a reliable boot process to be more
important than speed and we are willing to subject users to the
additional few hundred milliseconds that failing to tweak things for
speed incurs.
We are already dealing with regressions that the systemd developers
introduced in their attempt to make things faster and we consider fixing
them to be a priority. However, we 

Re: [gentoo-user] Dual or Quad CPU complications?

2012-12-15 Thread Florian Philipp
Am 15.12.2012 04:16, schrieb Grant:
So if I have 2 physical CPU's with 4 cores each and I enable
 SMP, I'm
using
8 cores?  Can NUMA be either enabled or disabled when using
 more than
one
physical CPU, or is it required?
  
  
   NUMA is a hardware architecture. It's how you access memory on a
   hardware level: NUMA = Non Uniform Memory Access vs a UMA
 architecture
   of typical (old/legacy) SMP systems (UMA = Uniform Memory Access).
  
   In a UMA system, all the memory belongs to all the sockets. In a NUMA
   system, each socket has it's own local memory. In modern (x86-64)
   processors, each socket has it's own memory controller so each socket
   controls its own local memory. If one socket runs out of memory
 it can
   ask another socket to lend him some memory. In a UMA system, no
 socket
   has to ask since memory is global and belongs to all sockets so
 if one
   socket uses up all the memory ... the rest starve. In NUMA, there's
   more control over who uses what (be it cores or RAM).
  
   If you have a modern dual or quad (or higher #) socket system ...
   you've got NUMA architecture and you can't get rid of it, it's
   hardware, not software.
  
   So I must enable CONFIG_NUMA for more than one physical CPU, and
 disable it
   for only one physical CPU?
 
 
  Yup. But ... Why would you want to disable a socket (CPU)? If you
  disable a socket (CPU) ... you lose the memory attached to that socket
  (CPU) not to mention you lose those cores ;)

 Sure but it sounds like if my system only has one CPU socket,
 CONFIG_NUMA should be disabled.
 
 I read this in make menuconfig:
 
 The kernel will try to allocate memory used by a CPU on the local
 memory controller of the CPU and add some more NUMA awareness to the
 kernel. For 64-bit this is recommended if the system is Intel Core
 i7 (or later), AMD Opteron, or EM64T NUMA.
 
 To be sure I have this right, I should disable CONFIG_NUMA on any system
 with a single physical CPU, even if it's an AMD Opteron?
 
 - Grant

Disable it. You only have one memory controller. There is nothing the
kernel could do wrong without.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] how to get data::util on gentoo

2012-12-15 Thread covici
William Kenworthy bi...@iinet.net.au wrote:

 On Sat, 2012-12-15 at 04:18 -0500, cov...@ccs.covici.com wrote:
  Hi.  I was trying to install the JIRA-client from cpan, but it wants
  Data::Util and I can't find it in gentoo anywhere.  I tried to install
  that from cpan, but it, in turn wants a number of modules which I don't
  have and on we go.  Does gentoo have this or is there a way in cpan to
  get all the dependencies?
  
  Thanks in advance for any suggestions.
  
 
 *  app-portage/g-cpan
   Latest version available: 0.16.2
   Latest version installed: 0.16.2
   Size of downloaded files: 27 kB
   Homepage:http://www.gentoo.org/proj/en/perl/g-cpan.xml
   Description: g-cpan: generate and install CPAN modules using
 portage
   License: || ( Artistic GPL-2 )
 
 * 
 
 searches for a perl module, checks if it exists in portage first, if not
 creates an ebuild and installs it including dependencies.  One of the
 nice things about gentoo!

Well, that worked out pretty well, however g-cpam was a bit over
enthusiastic -- ig got packages which were already in portage which
caused some confusion -- I had to fix some of the ebuilds manually, but
they did work out.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] crontab questions

2012-12-15 Thread Michael Orlitzky
On 12/14/2012 09:36 PM, Grant wrote:
 
 I got it working in /etc/crontab.  Should I file a bug for
 http://www.gentoo.org/doc/en/cron-guide.xml to mention that vixie-cron
 must be restarted when making changes to /etc/crontab?  It says:
 
 Note that only Vixie-cron schedules jobs in /etc/crontab automatically.
 

You shouldn't have to restart vixie-cron, I think it just scans
/etc/crontab every so often.


 Wouldn't you rather use a one-liner like this?
 
 iptables -L -n | mail -s mx1 iptables state -a From:
 r...@mx1.example.com mailto:r...@mx1.example.com
 postmas...@example.com mailto:postmas...@example.com
 

Even the simple stuff I like to keep in a separate shell script. They're
all under version control so that if one server blows up, all I have to
do is checkout the git repo and hit `make` on another box and everything
will more-or-less work once I emerge @world.

I could avoid using a temp file that way, but it ain't broke so I'm not
going to fix it.



Re: [gentoo-user] Anyone switched to eudev yet?

2012-12-15 Thread Kevin Chadwick
On Sat, 15 Dec 2012 11:18:25 +0100
Volker Armin Hemmann volkerar...@googlemail.com wrote:

  It should be moving in the other direction for stability reasons and
  busybox is no full answer.
  
  On OpenBSD which has the benefit of userland being part of it. All
  the critical single user binaries are in root and built statically
  as much as possible, maximising system reliability no matter the
  custom requirements or packages.  
 
 until a flaw is found in one of the libs used and all those
 statically linked binaries are in danger.  Well done!

How unlikely and is why you have test systems. Other problem this
protects against are far less predictable. There is even a distro that
attempts to statically build everything. It's worth reading
that distros arguments for doing so in any case.

Ch3.1 of fhs-2.3.

___
Rationale
The primary concern used to balance these considerations, which favor
placing many things on the root filesystem, is the goal of keeping root
as small as reasonably possible. For several reasons, it is desirable
to keep the root filesystem small:


Disk errors that corrupt data on the root filesystem are a greater
problem than errors on any other partition. A small root filesystem is
less prone to corruption as the result of a system crash.





Re: [gentoo-user] Dual or Quad CPU complications?

2012-12-15 Thread Volker Armin Hemmann
Am Freitag, 14. Dezember 2012, 08:55:08 schrieb Rafa Griman:
 On Thu, Dec 13, 2012 at 7:22 PM, Volker Armin Hemmann
 
 volkerar...@googlemail.com wrote:
  Am Mittwoch, 12. Dezember 2012, 22:12:18 schrieb Grant:
  I've only ever used systems with a single CPU.  I'm looking for a new
  host
  for a dedicated server (suggestions?) and it looks like I'll probably
  choose a machine with two or four CPUs.  What sort of complications does
  that add to set up and/or maintenance with Gentoo?
  
  none
  
  also, forget numa. You won't deal with douzends of cores each using local
  memory and acccession the memory managed by the other cores.
 
 It depends on his application, maybe his application does benefit on
 NUMA architecture. Until we don't know what he's running, we can't
 really say this or that architecture/technology is of no use ;)
 
 So Volker, what applications are you running (and BTW: what volume of
 data are you managing, how many users, ...)? This will helps us help
 you :)

you don't get NUMA just for free.

You have to buy NUMA hardware. If the hardware you buys does not scream NUMA 
at you, you don't have it. It is really that simple.

Multicore, multisocket systems MIGHT be NUMA systems - but that is not a 
guarantee. Now can this stupid thread please die away?

There are no caveats going from single to multicore on consumer hardware. and 
even on non consumer hardware there aren't many.

-- 
#163933



Re: [gentoo-user] Dual or Quad CPU complications?

2012-12-15 Thread Volker Armin Hemmann
Am Freitag, 14. Dezember 2012, 01:44:26 schrieb Grant:
   So if I have 2 physical CPU's with 4 cores each and I enable SMP, I'm
 
 using
 
   8 cores?  Can NUMA be either enabled or disabled when using more than
 
 one
 
   physical CPU, or is it required?
  
  NUMA is a hardware architecture. It's how you access memory on a
  hardware level: NUMA = Non Uniform Memory Access vs a UMA architecture
  of typical (old/legacy) SMP systems (UMA = Uniform Memory Access).
  
  In a UMA system, all the memory belongs to all the sockets. In a NUMA
  system, each socket has it's own local memory. In modern (x86-64)
  processors, each socket has it's own memory controller so each socket
  controls its own local memory. If one socket runs out of memory it can
  ask another socket to lend him some memory. In a UMA system, no socket
  has to ask since memory is global and belongs to all sockets so if one
  socket uses up all the memory ... the rest starve. In NUMA, there's
  more control over who uses what (be it cores or RAM).
  
  If you have a modern dual or quad (or higher #) socket system ...
  you've got NUMA architecture and you can't get rid of it, it's
  hardware, not software.
 
 So I must enable CONFIG_NUMA for more than one physical CPU, and disable it
 for only one physical CPU?

you never need numa for one cpu. Ok?

And even if you have several, you will probably never need it.

-- 
#163933



[gentoo-user] reboot: something renaming sub-directory in /var/run???

2012-12-15 Thread Jarry

Hi Gentoo-users, I have strange problem:

Something is renaming /var/run/teamspeak3-server into
/var/run/teamspeak3 in every reboot! Maybe it has something
to do with udev/openrc/baselayout2, I do not know.
This is what happens:

I installed teamspeak3-server-bin. It creates (appart from
other files/dirs) /var/run/teamspeak3-server for pid-file
as it can be found in /etc/init.d/teamspeak3-server:

start-stop-daemon --start --quiet --background \
--pidfile /var/run/teamspeak3-server/server.pid snip

I can start  stop server as usually and everything works
as expected, *as long as I do not restart server*. If I do,
after reboot there is no /var/run/teamspeak3-server, but
only /var/run/teamspeak3. Now when I try to start ts3-server,
it complains:

start-stop-daemon: fopen '/var/run/teamspeak3-server/server.pid':
No such file or directory

Now what the hell is going on? What (and why?) is renaming
/var/run/teamspeak3-server into /var/run/teamspeak3 during
every restart?

/run is on tmpfs but I think it should be saved  restored
during restart without any change or lost, or am I wrong?
Something is apparently broken, but I do not know what...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Dual or Quad CPU complications?

2012-12-15 Thread Grant
 You have to buy NUMA hardware. If the hardware you buys does not scream
NUMA
 at you, you don't have it. It is really that simple.

 Multicore, multisocket systems MIGHT be NUMA systems - but that is not a
 guarantee. Now can this stupid thread please die away?

I guess the question seems stupid if you already know the answer.

- Grant


Re: [gentoo-user] Dual or Quad CPU complications?

2012-12-15 Thread J. Roeleveld
On Saturday, December 15, 2012 11:46:36 AM Grant wrote:
  You have to buy NUMA hardware. If the hardware you buys does not scream
 
 NUMA
 
  at you, you don't have it. It is really that simple.
  
  Multicore, multisocket systems MIGHT be NUMA systems - but that is not a
  guarantee. Now can this stupid thread please die away?
 
 I guess the question seems stupid if you already know the answer.

There are no stupid questions, only stupid answers...

Even on a system with only 2 sockets, it can be useful to have NUMA available.



[gentoo-user] Re: ~amd64 compatibility with modern cpus

2012-12-15 Thread Grant Edwards
On 2012-12-14, fe...@crowfix.com fe...@crowfix.com wrote:
 On Fri, Dec 14, 2012 at 12:34:49PM -0600, Bruce Hill wrote:

 Boot with SystemRescueCd and you can't get to a prompt?

 Currently can't even boot -- it hangs wit a blank screen at the point
 grub or the rescue DVD would take over.

 Yes, your southbridge chipset could just happened to have failed at
 the same time; or it failed on the reboot; or USB and SATA are both
 on the southbridge that failed so you lost both, basically.

 Then my natural naive question is, can this be readily replaced, or
 is it soldered in and/or obsolete?  It is about 8 years old.

1) You probably can't get a replacement part.  Parts like that have a
   production lifetime of about 6 months.  You _might_ be able to find
   one on the secondary market -- if you're prepared to buy them by
   the tray-full.  If you find them, they'll either be dirt cheap or
   ridiculously expensive.

2) If you had a replacement part, it's probably a BGA part, and you
   have to have special equipment (and/or a _lot_ of luck with a
   heat-gun) to get the old part off and the new part on without
   destroying the board or surrounding parts.  Your best bet would be
   to take it to a board house that does prototype builds and have
   them replace it.  But, unless you're a regular customer, they're
   going to charge you so much for the job that you could probably buy
   a half-dozen replacement motherboards along with CPUs and RAM to go
   with them [if there's no hope of real business, they'll probably
   just say 'no' unless they're bored and feel like doing you a
   favor].

The only practical thing to do is replace the motherboard.  You might
be able to find an old one on eBay that will accept the same CPU and
RAM, but 8 years is a _long_ time...

-- 
Grant








Re: [gentoo-user] Re: /usr/share/doc/openrc/net.example not found

2012-12-15 Thread Dustin C. Hatch

On 12/15/2012 02:08, Nuno J. Silva wrote:

On 2012-12-15, Chris Stankevitz wrote:


PS: I'm trying to find a way to prevent dhcpd from updating my ntp.conf


dhcpd? Don't you mean dchpcd (the c stands for *client*, dhcpd would be
the DHCP daemon granting leases to clients)?

If so, and if you don't mind using the same settings for all network
interfaces, have a look at /etc/dhcpcd.conf, which has an option option
ntp_servers. I'd guess that disabling this would do what you want.

Actually, you can use /etc/conf.d/net to turn off receiving NTP 
configuration for just one interface, if you want. The `dhcp_IFACE` 
parameter takes several values, one of which is `nontp`, which will do 
exactly that. For example:


config_eth0=dhcp
dhcp_eth0=nontp

When you find the net.example file, you'll find that documented under 
GENERIC DHCP OPTIONS, about midway through the file.


Regards,

--
♫Dustin