[gentoo-user] su hangs
I have pam_pgsql and libnss-pgsql installed. On one server su works perfectly, but on the other one when I try to su (both, with and without -l) it hangs. Both are using systemd and the same kernel (they are same config except # of HDDs). Here's the strace - fstat(4, {st_mode=S_IFREG|0644, st_size=10523, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2afda592000 read(4, #\n# /etc/login.defs - Configurat..., 4096) = 4096 read(4, ogin configuration initializatio..., 4096) = 4096 read(4, \n#ENCRYPT_METHOD DES\n\n#\n# Only w..., 4096) = 2331 read(4, , 4096) = 0 close(4)= 0 munmap(0x2afda592000, 4096) = 0 access(/var/run/utmpx, F_OK) = -1 ENOENT (No such file or directory) open(/var/run/utmp, O_RDONLY|O_CLOEXEC) = 4 lseek(4, 0, SEEK_SET) = 0 alarm(0)= 0 rt_sigaction(SIGALRM, {0x2afd9cdf070, [], SA_RESTORER, 0x2afd9bf5850}, {SIG_DFL, [], SA_RESTORER, 0x2afd9bf5850}, 8) = 0 alarm(10) = 0 fcntl(4, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0 read(4, \2\0\0\0\0\0\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 read(4, \6\0\0\0P\n\0\0tty1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 read(4, \10\0\0\0%\23\0\0pts/0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 read(4, \10\0\0\0E\23\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 read(4, \7\0\0\0I\\0\0pts/2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 fcntl(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 alarm(0)= 10 rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x2afd9bf5850}, NULL, 8) = 0 close(4)= 0 getuid()= 0 sendto(3, 86Aug 11 17:42:30 su[8791]: pa..., 96, MSG_NOSIGNAL, NULL, 0) = 96 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2afda58f9d0) = 8793 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], NULL, 8) = 0 rt_sigaction(SIGTERM, {0x403830, [], SA_RESTORER, 0x2afd9bf5850}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [ALRM TERM], NULL, 8) = 0 wait4(-1, Any ideas what is it waiting on?
[gentoo-user] Re: su hangs
On Mon, Aug 11, 2014 at 9:14 PM, Nilesh Govindrajan m...@nileshgr.com wrote: I have pam_pgsql and libnss-pgsql installed. On one server su works perfectly, but on the other one when I try to su (both, with and without -l) it hangs. Both are using systemd and the same kernel (they are same config except # of HDDs). Here's the strace - fstat(4, {st_mode=S_IFREG|0644, st_size=10523, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2afda592000 read(4, #\n# /etc/login.defs - Configurat..., 4096) = 4096 read(4, ogin configuration initializatio..., 4096) = 4096 read(4, \n#ENCRYPT_METHOD DES\n\n#\n# Only w..., 4096) = 2331 read(4, , 4096) = 0 close(4)= 0 munmap(0x2afda592000, 4096) = 0 access(/var/run/utmpx, F_OK) = -1 ENOENT (No such file or directory) open(/var/run/utmp, O_RDONLY|O_CLOEXEC) = 4 lseek(4, 0, SEEK_SET) = 0 alarm(0)= 0 rt_sigaction(SIGALRM, {0x2afd9cdf070, [], SA_RESTORER, 0x2afd9bf5850}, {SIG_DFL, [], SA_RESTORER, 0x2afd9bf5850}, 8) = 0 alarm(10) = 0 fcntl(4, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0 read(4, \2\0\0\0\0\0\0\0~\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 read(4, \6\0\0\0P\n\0\0tty1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 read(4, \10\0\0\0%\23\0\0pts/0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 read(4, \10\0\0\0E\23\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 read(4, \7\0\0\0I\\0\0pts/2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 384) = 384 fcntl(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 alarm(0)= 10 rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x2afd9bf5850}, NULL, 8) = 0 close(4)= 0 getuid()= 0 sendto(3, 86Aug 11 17:42:30 su[8791]: pa..., 96, MSG_NOSIGNAL, NULL, 0) = 96 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2afda58f9d0) = 8793 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], NULL, 8) = 0 rt_sigaction(SIGTERM, {0x403830, [], SA_RESTORER, 0x2afd9bf5850}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [ALRM TERM], NULL, 8) = 0 wait4(-1, Any ideas what is it waiting on? Looks like it was because of nscd being disabled. I forgot to enable it after transitioning to systemd.
[gentoo-user] Fwd: re: jobserver unavailable: using -j1. Add `+' to parent make rule.
Apologies if you're getting this email for the second time. Gmail told me they'd failed to deliver my original email. So I thought I'd give it another shot. Original Message Subject:re: jobserver unavailable: using -j1. Add `+' to parent make rule. Date: Sun, 10 Aug 2014 10:32:10 +0300 From: Alexander Kapshuk alexander.kaps...@gmail.com To: gentoo-user@lists.gentoo.org Howdy, I've seen this warning generated for a couple of packages lately. Messages generated by process 3353 on 2014-07-28 08:45:18 EEST for package x11-misc/xscreensaver-5.29: QA: install QA Notice: make jobserver unavailable: make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Messages generated by process 3391 on 2014-08-10 09:04:54 EEST for package dev-libs/openssl-1.0.1i: QA: install QA Notice: make jobserver unavailable: make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Is this something that requires the user to act upon, or does it indicate a deficiency in one of the makefiles that came with the package? If I am reading the extract below correctly, it is the latter. https://www.gnu.org/software/make/manual/html_node/Error-Messages.html 'warning: jobserver unavailable: using -j1. Add `+' to parent make rule.' In order for |make| processes to communicate, the parent will pass information to the child. Since this could result in problems if the child process isn't actually a |make|, the parent will only do this if it thinks the child is a |make|. The parent uses the normal algorithms to determine this (see How the |MAKE| Variable Works https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html#MAKE-Variable). If the makefile is constructed such that the parent doesn't know the child is a |make| process, then the child will receive only part of the information necessary. In this case, the child will generate this warning message and proceed with its build in a sequential manner. Thanks.
[gentoo-user] Re: akonadi ... don't you just love it?
On Saturday 09 Aug 2014 21:00:48 Mick wrote: First some general observations that relate to kmail2: I thought of giving the latest kmail-4.12.5 a spin. So installed it on a machine and set up a couple of IMAP4 servers to get messages from. An account with a messages in the low hundreds works fine. An account with messages in the 100k plus range works like a dog. While kmail fetches headers and then akonadi sets off to organise threads and whatever else it wants to do the application becomes pretty much unresponsive and the CPU climbs up to 98%. Half an hour later I can get back to it. :-@ Anyway, this is not the current problem. I updated mysql to 5.5.39, then I kmail would not start with akonadi failing with mysql log containing errors. So I ran: mysql_upgrade --socket=/tmp/akonadi-michael.NFvLpB/mysql.socket which completed without an error. Kmail still failed to start. Trying to start akonadi console states: Failed to connect to database. Driver not loaded Then the pop up Details window says MySQL log contains errors, just like when I try to start kmail. This is what I see in .local/share/akonadi/db_data/mysql.err: InnoDB: Unable to lock ./ibdata1, error: 11 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 11 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. 140809 20:58:42 InnoDB: Unable to open the first data file InnoDB: Error in opening ./ibdata1 140809 20:58:42 InnoDB: Operating system error number 11 in a file operation. InnoDB: Error number 11 means 'Resource temporarily unavailable'. InnoDB: Some operating system error numbers are described at InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html 140809 20:58:42 InnoDB: Could not open or create data files. 140809 20:58:42 InnoDB: If you tried to add new data files, and it failed here, 140809 20:58:42 InnoDB: you should now edit innodb_data_file_path in my.cnf back 140809 20:58:42 InnoDB: to what it was, and remove the new ibdata files InnoDB created 140809 20:58:42 InnoDB: in this failed attempt. InnoDB only wrote those files full of 140809 20:58:42 InnoDB: zeros, but did not yet use them in any way. But be careful: do not 140809 20:58:42 InnoDB: remove old data files which contain your precious data! 140809 20:58:42 [ERROR] Plugin 'InnoDB' init function returned error. 140809 20:58:42 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 140809 20:58:42 [ERROR] Unknown/unsupported storage engine: innodb 140809 20:58:42 [ERROR] Aborting So I moved ./ibdata* and tried again with the same error. Is there something else I should be doing here to get this going? Kids, when in doubt, go back to the basics! :-p I thought that I *had* run revdep-rebuild, but perhaps I am losing count with the different machines I look after? Ha, ha! Anyway, after another irrelevant update today revdep-rebuild showed this: * Checking dynamic linking consistency [ 33% ] * broken /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so (requires libmysqlclient_r.so.16) [ 85% ] * broken /usr/lib64/qt4/plugins/sqldrivers/libqsqlmysql.so (requires libmysqlclient_r.so.16) [ 100% ] * Generated new 3_broken.rr * Assigning files to packages * /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so - dev-qt/qtsql * /usr/lib64/qt4/plugins/sqldrivers/libqsqlmysql.so - dev-qt/qtsql * Generated new 4_raw.rr and 4_owners.rr * Cleaning list of packages to rebuild * Generated new 4_pkgs.rr * Assigning packages to ebuilds * Generated new 4_ebuilds.rr * Evaluating package order * Generated new 5_order.rr * All prepared. Starting rebuild emerge --complete-graph=y --oneshot --verbose -a dev-qt/qtsql:4 Now all works as expected - apologies for the noise! -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] microphone not detected trying to use google hangouts
Hi. I am trying to get into a google hangout and although my microphone works normally, the google talk plugin says microphone not detected. I am using gnome, firefox, and even the gnome overlay. Gentoo unstable version recently updated. A google search reveals nothing useful, so any suggestions would be appreciated. -- 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] akonadi ... don't you just love it?
Am 09.08.2014 um 22:00 schrieb Mick: First some general observations that relate to kmail2: I thought of giving the latest kmail-4.12.5 a spin. So installed it on a machine and set up a couple of IMAP4 servers to get messages from. An account with a messages in the low hundreds works fine. An account with messages in the 100k plus range works like a dog. While kmail fetches headers and then akonadi sets off to organise threads and whatever else it wants to do the application becomes pretty much unresponsive and the CPU climbs up to 98%. Half an hour later I can get back to it. :-@ Anyway, this is not the current problem. I updated mysql to 5.5.39, then I kmail would not start with akonadi failing with mysql log containing errors. So I ran: mysql_upgrade --socket=/tmp/akonadi-michael.NFvLpB/mysql.socket which completed without an error. Kmail still failed to start. Trying to start akonadi console states: Failed to connect to database. Driver not loaded Then the pop up Details window says MySQL log contains errors, just like when I try to start kmail. This is what I see in .local/share/akonadi/db_data/mysql.err: InnoDB: Unable to lock ./ibdata1, error: 11 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 11 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. 140809 20:58:42 InnoDB: Unable to open the first data file InnoDB: Error in opening ./ibdata1 140809 20:58:42 InnoDB: Operating system error number 11 in a file operation. InnoDB: Error number 11 means 'Resource temporarily unavailable'. InnoDB: Some operating system error numbers are described at InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html 140809 20:58:42 InnoDB: Could not open or create data files. 140809 20:58:42 InnoDB: If you tried to add new data files, and it failed here, 140809 20:58:42 InnoDB: you should now edit innodb_data_file_path in my.cnf back 140809 20:58:42 InnoDB: to what it was, and remove the new ibdata files InnoDB created 140809 20:58:42 InnoDB: in this failed attempt. InnoDB only wrote those files full of 140809 20:58:42 InnoDB: zeros, but did not yet use them in any way. But be careful: do not 140809 20:58:42 InnoDB: remove old data files which contain your precious data! 140809 20:58:42 [ERROR] Plugin 'InnoDB' init function returned error. 140809 20:58:42 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 140809 20:58:42 [ERROR] Unknown/unsupported storage engine: innodb 140809 20:58:42 [ERROR] Aborting So I moved ./ibdata* and tried again with the same error. Is there something else I should be doing here to get this going? isn't it great? back in the days when kmail stored emails in files, everything worked great and even folders with 100k mails were not a problem. But, no, they had to break that. I lost ca 500k emails thanks to akonadi-crap and errors like that. I really loved kmail and thunderbird is garbage compared - but akonadi took away that choice. Thank you, kdepim-devs for making the dumbest decision ever! *thumbsup*
[gentoo-user] Re: Lots of big updates...
On 8/10/2014 11:45 AM, Tanstaafl tansta...@libertytrek.org wrote: I haven't updated in a little while, and am seeing a lot of big updates... The main ones that concern me are: perl (5.16 5.18) Ok, a little experimenting to see if I can stage these updates and just update perl first, I get: # emerge -pvuDN perl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] virtual/libintl-0-r1 [0] ABI_X86=(64%*) -32% (-x32) 0 kB [ebuild U ] sys-devel/gnuconfig-20140212 [20131128] 44 kB [ebuild U ] app-admin/perl-cleaner-2.16 [2.15] 6 kB [ebuild U ] sys-libs/db-4.8.30-r1:4.8 [4.8.30:4.8] USE=cxx -doc -examples -java -tcl {-test} ABI_X86=(64%*) (-32) (-x32) 22,351 kB [ebuild U ] dev-lang/perl-5.18.2-r1:0/5.18 [5.16.3:0/5.16] USE=berkdb gdbm -debug -doc -ithreads 13,746 kB Total: 5 packages (5 upgrades), Size of downloads: 36,147 kB !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-lang/perl:0 (dev-lang/perl-5.16.3::gentoo, installed) pulled in by =dev-lang/perl-5.16* required by (virtual/perl-Attribute-Handlers-0.930.0-r1::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Net-SSLeay-1.550::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/IO-Socket-SSL-1.953.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Sub-Exporter-0.986.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/PlRPC-0.202.0-r2::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Net-Daemon-0.480.0-r1::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-vcs/git-1.8.5.5::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/log-dispatch-2.410.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Try-Tiny-0.180.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Error-0.170.210::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Package-Stash-XS-0.280.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (net-analyzer/net-snmp-5.7.3_pre3::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Package-Stash-0.360.0::gentoo, installed) (and 1 more with the same problems) (dev-lang/perl-5.18.2-r1::gentoo, ebuild scheduled for merge) pulled in by =dev-lang/perl-5.18* required by (virtual/perl-MIME-Base64-3.130.0-r3::gentoo, installed) (and 3 more with the same problem) A little googling suggests that I could resolve this by a simple: emerge -C virtual/perl-Attribute-Handlers-0.930.0-r1 emerge -C virtual/perl-MIME-Base64-3.130.0-r3 But even if this does resolve the conflicts, what would break (temporarily) if I removed those? They're virtuals, so... maybe... nothing? Any way to check?
[gentoo-user] sysV/openrc init script vs. systemd .service file
I maintain some out-of-tree Linux device drivers that have been around for yonks and ship with system V init scripts. There's an install script (or Makefile recipe) that attempts attempts to figure out where to put an init script and set up symlinks as appropriate. It's not perfect, but so far it has worked good enough. It doesn't work great with openrc [e.g. doesn't enable the init script automatically], but people seem to be able to figure it out. Now I've got a customer that runs systemd and reports that the init script doesn't work for some undefined value of doesn't work. I've pretty much always been a system V init guy and have only grumblingly adapted to openrc. [Insert crotchety old Unix guy ramblings here... blah blah version 7... PDP-11 blah DECwriter blah silent 700 blah blah ASR-33... kids these days... ad naseam.] Needless to say: I find systemd distasteful, but I've got customers who use it. So... I keep reading that systemd is compatible with system V init scripts, but documentation on how that works seems to be somewhat lacking and/or wrong. e.g. The upstream docs refer to using /sbin/system to run old-style init scripts found in /etc/init.d, but neither /sbin/system nor the /etc/init.d directory seem to exsit on the systemd machine that I'm testing with. I'm currently testing with Arch Linux, but I'm also going to set up a Gentoo/systemd system. I've also seen recommendations that one would be better off just doing it the right way and writing a systemd .service file. Any advice on whether it would be easier to use a common init script with sysV/OpenRC/systemd or to write a separate .service file? -- Grant Edwards grant.b.edwardsYow! Where's the Coke at machine? Tell me a joke!! gmail.com
Re: [gentoo-user] disable SSLv3 in apache2?
I recently upgraded from apache-2.2.27 to apache-2.2.27-r4 and etc-update wanted to add the following directive to the default SSL vhost: SSLProtocol ALL -SSLv2 -SSLv3 I had already disabled SSLv2 (security issue?) but this also disables SSLv3. Could that cause a compatibility issue? - Grant You can use something like Qualys SSL Labs[0] to test if anything breaks. https://www.ssllabs.com/ssltest/index.html Isn't it a browser compatibility issue though? Are there browsers out there that support SSLv3 but not TLS? - Grant
Re: [gentoo-user] Re: Lots of big updates...
On 10/08/2014 18:04, Tanstaafl wrote: On 8/10/2014 11:45 AM, Tanstaafl tansta...@libertytrek.org wrote: I haven't updated in a little while, and am seeing a lot of big updates... The main ones that concern me are: perl (5.16 5.18) Ok, a little experimenting to see if I can stage these updates and just update perl first, I get: # emerge -pvuDN perl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] virtual/libintl-0-r1 [0] ABI_X86=(64%*) -32% (-x32) 0 kB [ebuild U ] sys-devel/gnuconfig-20140212 [20131128] 44 kB [ebuild U ] app-admin/perl-cleaner-2.16 [2.15] 6 kB [ebuild U ] sys-libs/db-4.8.30-r1:4.8 [4.8.30:4.8] USE=cxx -doc -examples -java -tcl {-test} ABI_X86=(64%*) (-32) (-x32) 22,351 kB [ebuild U ] dev-lang/perl-5.18.2-r1:0/5.18 [5.16.3:0/5.16] USE=berkdb gdbm -debug -doc -ithreads 13,746 kB Total: 5 packages (5 upgrades), Size of downloads: 36,147 kB !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-lang/perl:0 (dev-lang/perl-5.16.3::gentoo, installed) pulled in by =dev-lang/perl-5.16* required by (virtual/perl-Attribute-Handlers-0.930.0-r1::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Net-SSLeay-1.550::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/IO-Socket-SSL-1.953.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Sub-Exporter-0.986.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/PlRPC-0.202.0-r2::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Net-Daemon-0.480.0-r1::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-vcs/git-1.8.5.5::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/log-dispatch-2.410.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Try-Tiny-0.180.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Error-0.170.210::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Package-Stash-XS-0.280.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (net-analyzer/net-snmp-5.7.3_pre3::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Package-Stash-0.360.0::gentoo, installed) (and 1 more with the same problems) (dev-lang/perl-5.18.2-r1::gentoo, ebuild scheduled for merge) pulled in by =dev-lang/perl-5.18* required by (virtual/perl-MIME-Base64-3.130.0-r3::gentoo, installed) (and 3 more with the same problem) A little googling suggests that I could resolve this by a simple: emerge -C virtual/perl-Attribute-Handlers-0.930.0-r1 emerge -C virtual/perl-MIME-Base64-3.130.0-r3 But even if this does resolve the conflicts, what would break (temporarily) if I removed those? They're virtuals, so... maybe... nothing? Any way to check? Nothing will break. Like you say they are virtual and contain no code and deploy nothing. So your system will continue to function as it currently does, and Portage will sort itself out when you next emerge world. Unless of course portage wants to unmerge any of the providers that satisfy the virtuals, and you say yes ... :-) -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] Lots of big updates...
Hi everyone, I haven't updated in a little while, and am seeing a lot of big updates... The main ones that concern me are: perl (5.16 5.18) mariadb (5.5.37 10.0.12) and of course, I always worry about: glib (2.38.2-r1 2.40.0-r1) glibc (2.17 2.19-r1) Anyone have any warnings/caveats about these updates? Especially the mariadb update? I'm thinking about masking that one for a while, just to be safe... Thanks
Re: [gentoo-user] sysV/openrc init script vs. systemd .service file
On Mon, Aug 11, 2014 at 4:05 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: Any advice on whether it would be easier to use a common init script with sysV/OpenRC/systemd or to write a separate .service file? I'd almost certainly generate a proper unit, and not try to use a compatibility mode, especially if you're generating these using software. If anything it would make more sense to make a sysvinit script which is a wrapper for a systemd unit than the other way around. Sysvinit scripts are just that - touring-complete scripts. Systemd units are declarative. Here is the Gentoo mysqld unit, which is pretty simple: [Unit] Description=MySQL database server After=syslog.target After=network.target [Service] Type=simple User=mysql Group=mysql # Note: we set --basedir to prevent probes that might trigger SELinux alarms, # https://bugzilla.redhat.com/show_bug.cgi?id=547485 ExecStart=/usr/bin/mysqld_safe --basedir=/usr ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID # Give a reasonable amount of time for the server to start up/shut down TimeoutSec=300 # We rely on systemd, not mysqld_safe, to restart mysqld if it dies Restart=always # Place temp files in a secure directory, not /tmp PrivateTmp=true [Install] WantedBy=multi-user.target Most daemons will be fairly similar to this, though a daemon which forks will be slightly different (type=forking, and will have a PIDfile setting). This one is a bit fancy in that it has a post-exec script/program that just checks for the main service to be ready (so that reverse dependencies aren't started prematurely). It is important that whatever is in execstart doesn't die if this is a daemon. If this is just going to modprobe something and terminate that is fine, but there is a slightly different way to express those so that it isn't considered a failure. Rich
[gentoo-user] Re: Lots of big updates...
Tanstaafl wrote: mariadb (5.5.37 10.0.12) Thanks I went from mariadb-5.5.38-r1 to 10.0.12 here on Aug 5 and didn't manage to break anything, even akonadi-server. There shouldn't be anythong a revdep-rebuild won't handle. Jouni
Re: [gentoo-user] akonadi ... don't you just love it?
On Monday 11 Aug 2014 20:01:16 Volker Armin Hemmann wrote: isn't it great? back in the days when kmail stored emails in files, everything worked great and even folders with 100k mails were not a problem. But, no, they had to break that. I lost ca 500k emails thanks to akonadi-crap and errors like that. I really loved kmail and thunderbird is garbage compared - but akonadi took away that choice. Thank you, kdepim-devs for making the dumbest decision ever! *thumbsup* I share your feelings although I haven't lost messages in my current attempt to road test kmail2. I am dreading the moment when kmail1 will stop working due to bitrot and I'll have to make a choice. :-( -- Regards, Mick
Re: [gentoo-user] akonadi ... don't you just love it?
On Saturday, August 09, 2014 09:00:48 PM Mick wrote: First some general observations that relate to kmail2: I thought of giving the latest kmail-4.12.5 a spin. So installed it on a machine and set up a couple of IMAP4 servers to get messages from. An account with a messages in the low hundreds works fine. An account with messages in the 100k plus range works like a dog. While kmail fetches headers and then akonadi sets off to organise threads and whatever else it wants to do the application becomes pretty much unresponsive and the CPU climbs up to 98%. Half an hour later I can get back to it. :-@ Anyway, this is not the current problem. I updated mysql to 5.5.39, then I kmail would not start with akonadi failing with mysql log containing errors. So I ran: snipped Why do you run unstable mysql with stable kmail? -- Joost
[gentoo-user] Re: sysV/openrc init script vs. systemd .service file
On 2014-08-11, Rich Freeman ri...@gentoo.org wrote: On Mon, Aug 11, 2014 at 4:05 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: Any advice on whether it would be easier to use a common init script with sysV/OpenRC/systemd or to write a separate .service file? I'd almost certainly generate a proper unit, and not try to use a compatibility mode, especially if you're generating these using software. It wouldn't be generated by software. Both the sysv init script and .service file would be maintained by hand. If anything it would make more sense to make a sysvinit script which is a wrapper for a systemd unit than the other way around. Thanks, I'll consider that, but I'm reluctant to do so for fear of breaking compatibility with various ancient systems in use out there. [I can't even find hardware old enough to run some of the Linux kernels and distro's some customers are still using.] [...] Most daemons will be fairly similar to this, though a daemon which forks will be slightly different (type=forking, and will have a PIDfile setting). The daemon is currently of the traditional forking variety with a PID file, so it should lend itself to Type=forking PIDFile=/var/run/whatever.pid. But, there are a number of housekeeping tasks that are performed before starting the daemon and after terminating the daemon (checking configuration files, verifying presence of kernel module .ko/.o files, loading a kernel module and logging some pertinent info from that module, unloading the kernel module, etc.). It looks like I should write ExecStartPre and ExecStopPost scripts for systemd to invoke. One thing I'm still wondering about is the canonical location to install things like ExecStartPre and ExecStopPost scripts. I could modify the daemon to provide a no-fork option and then exec it at the end of a startup script, but I don't really see much benefit to that. This one is a bit fancy in that it has a post-exec script/program that just checks for the main service to be ready (so that reverse dependencies aren't started prematurely). It is important that whatever is in execstart doesn't die if this is a daemon. If this is just going to modprobe something and terminate that is fine, but there is a slightly different way to express those so that it isn't considered a failure. Thanks much for the advice. -- Grant Edwards grant.b.edwardsYow! I am covered with at pure vegetable oil and I am gmail.comwriting a best seller!
Re: [gentoo-user] Lots of big updates...
On 10/08/2014 17:45, Tanstaafl wrote: Hi everyone, I haven't updated in a little while, and am seeing a lot of big updates... The main ones that concern me are: perl (5.16 5.18) No problem other than you might have a bunch of blockers to resolve and of course perl-cleaner to run. Just keep cycling through it till it completes; preserved-rebuild will keep your system intact. All regular Gentoo stuff, nothing to be concerned about. Besides, if it breaks you know what to do (and no-one can really tell you about breakage in advance) mariadb (5.5.37 10.0.12) No info and of course, I always worry about: glib (2.38.2-r1 2.40.0-r1) This is not a problem, but you keep raising it. glib is a bunch of helper functions and in no way related at all to glibc (an entirely different kettle of fish) glibc (2.17 2.19-r1) No problem. There were no ABI changes to glibc for ages now Anyone have any warnings/caveats about these updates? Especially the mariadb update? I'm thinking about masking that one for a while, just to be safe... Run it in your test environment and satisfy yourself first -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Fwd: re: jobserver unavailable: using -j1. Add `+' to parent make rule.
On Mon, 11 Aug 2014 18:39:07 +0300, Alexander Kapshuk wrote: QA: install QA Notice: make jobserver unavailable: make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Is this something that requires the user to act upon, or does it indicate a deficiency in one of the makefiles that came with the package? It's a QA warning, something for the devs responsible to deal with. Generally, QA warnings can be ignored. Ideally, mere mortals wouldn't even see them. -- Neil Bothwick The considered application of terror is also a form of communication. signature.asc Description: PGP signature
Re: [gentoo-user] Re: akonadi ... don't you just love it?
On Mon, 11 Aug 2014 20:05:51 +0100, Mick wrote: Anyway, after another irrelevant update today revdep-rebuild showed this: * Checking dynamic linking consistency [ 33% ] * broken /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so (requires libmysqlclient_r.so.16) [ 85% ] * broken /usr/lib64/qt4/plugins/sqldrivers/libqsqlmysql.so (requires libmysqlclient_r.so.16) [snip] Now all works as expected - apologies for the noise! It appears the recent mysql update broke quite a few things, my MythTV fronted started sulking while the backend just sucked up all the CPU cycles. Something else broke too, but I can't remember more than two things these days. @preserved-rebuild showed nothing but revdep-rebuild cleaned things up. It appears that revdep-rebuild is not ready for retirement yet, although this is the first time in ages that I've needed it. -- Neil Bothwick Energize! said Picard and the pink bunny appeared... signature.asc Description: PGP signature
[gentoo-user] Emerge of sys-devel/llvm-3.3-r3 fails....
Hello, I am attempting to emerge xorg-server and sys-devel/llvm-3.3-r3 is pulled in as a dependency. So, when I emerge llvm it fails. Here is some relevant output: emerge --info =sys-devel/llvm-3.3-r3::gentoo: Pastebin: http://pastebin.com/qF92DXSY End Section of Build Log: Pastebin: http://pastebin.com/HEkMicgw Any assistance will be greatly appreciated. Regards, Christopher Kurtis Koeber
Re: [gentoo-user] Re: Lots of big updates...
I would follow that path - I did and it worked out fine. Unmerge all conflicting perl modules emerge world -1NuDv Dont forget perl-cleaner --all immediately afterwards and with the python updates that are probably there too - python-updater enjoy ... Note that some perl modules have disappeared in 5.18 but it didn't cause me any grief I know of. BillK On 11/08/14 00:04, Tanstaafl wrote: On 8/10/2014 11:45 AM, Tanstaafl tansta...@libertytrek.org wrote: I haven't updated in a little while, and am seeing a lot of big updates... The main ones that concern me are: perl (5.16 5.18) Ok, a little experimenting to see if I can stage these updates and just update perl first, I get: # emerge -pvuDN perl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] virtual/libintl-0-r1 [0] ABI_X86=(64%*) -32% (-x32) 0 kB [ebuild U ] sys-devel/gnuconfig-20140212 [20131128] 44 kB [ebuild U ] app-admin/perl-cleaner-2.16 [2.15] 6 kB [ebuild U ] sys-libs/db-4.8.30-r1:4.8 [4.8.30:4.8] USE=cxx -doc -examples -java -tcl {-test} ABI_X86=(64%*) (-32) (-x32) 22,351 kB [ebuild U ] dev-lang/perl-5.18.2-r1:0/5.18 [5.16.3:0/5.16] USE=berkdb gdbm -debug -doc -ithreads 13,746 kB Total: 5 packages (5 upgrades), Size of downloads: 36,147 kB !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-lang/perl:0 (dev-lang/perl-5.16.3::gentoo, installed) pulled in by =dev-lang/perl-5.16* required by (virtual/perl-Attribute-Handlers-0.930.0-r1::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Net-SSLeay-1.550::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/IO-Socket-SSL-1.953.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Sub-Exporter-0.986.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/PlRPC-0.202.0-r2::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Net-Daemon-0.480.0-r1::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-vcs/git-1.8.5.5::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/log-dispatch-2.410.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Try-Tiny-0.180.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Error-0.170.210::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Package-Stash-XS-0.280.0::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (net-analyzer/net-snmp-5.7.3_pre3::gentoo, installed) dev-lang/perl:0/5.16=[-build(-)] required by (dev-perl/Package-Stash-0.360.0::gentoo, installed) (and 1 more with the same problems) (dev-lang/perl-5.18.2-r1::gentoo, ebuild scheduled for merge) pulled in by =dev-lang/perl-5.18* required by (virtual/perl-MIME-Base64-3.130.0-r3::gentoo, installed) (and 3 more with the same problem) A little googling suggests that I could resolve this by a simple: emerge -C virtual/perl-Attribute-Handlers-0.930.0-r1 emerge -C virtual/perl-MIME-Base64-3.130.0-r3 But even if this does resolve the conflicts, what would break (temporarily) if I removed those? They're virtuals, so... maybe... nothing? Any way to check?
Re: [gentoo-user] Re: Lots of big updates...
On Tue, 12 Aug 2014 06:32:08 +0800, Bill Kenworthy wrote: Note that some perl modules have disappeared in 5.18 but it didn't cause me any grief I know of. They haven't disappeared, they are now part of the core Perl installation and not needed as separate ebuilds. http://dilfridge.blogspot.co.uk/2014/07/perl-in-gentoo-dev-langperl-virtuals.html -- Neil Bothwick Become a computer programmer and never see the the world. signature.asc Description: PGP signature
Re: [gentoo-user] Emerge of sys-devel/llvm-3.3-r3 fails....
Am 10.08.2014 um 08:33 schrieb Christopher Kurtis Koeber: Hello, I am attempting to emerge xorg-server and sys-devel/llvm-3.3-r3 is pulled in as a dependency. So, when I emerge llvm it fails. Here is some relevant output: *emerge --info =sys-devel/llvm-3.3-r3::gentoo*: Pastebin: http://pastebin.com/qF92DXSY I am not a fan of that. *End Section of Build Log*: Pastebin: http://pastebin.com/HEkMicgw or that. Any assistance will be greatly appreciated. did you search bugs.gentoo.org? Lots of llvm stuff there in fact, llvm breaks so much I am f*ing boiling that all that X stuff is pulling that crap in.
Re: [gentoo-user] Re: Lots of big updates...
On 12/08/14 06:37, Neil Bothwick wrote: On Tue, 12 Aug 2014 06:32:08 +0800, Bill Kenworthy wrote: Note that some perl modules have disappeared in 5.18 but it didn't cause me any grief I know of. They haven't disappeared, they are now part of the core Perl installation and not needed as separate ebuilds. http://dilfridge.blogspot.co.uk/2014/07/perl-in-gentoo-dev-langperl-virtuals.html Yes, I should have been clearer. BillK
[gentoo-user] re: jobserver unavailable: using -j1. Add `+' to parent make rule.
Howdy, I've seen this warning generated for a couple of packages lately. Messages generated by process 3353 on 2014-07-28 08:45:18 EEST for package x11-misc/xscreensaver-5.29: QA: install QA Notice: make jobserver unavailable: make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Messages generated by process 3391 on 2014-08-10 09:04:54 EEST for package dev-libs/openssl-1.0.1i: QA: install QA Notice: make jobserver unavailable: make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Is this something that requires the user to act upon, or does it indicate a deficiency in one of the makefiles that came with the package? If I am reading the extract below correctly, it is the latter. https://www.gnu.org/software/make/manual/html_node/Error-Messages.html 'warning: jobserver unavailable: using -j1. Add `+' to parent make rule.' In order for |make| processes to communicate, the parent will pass information to the child. Since this could result in problems if the child process isn't actually a |make|, the parent will only do this if it thinks the child is a |make|. The parent uses the normal algorithms to determine this (see How the |MAKE| Variable Works https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html#MAKE-Variable). If the makefile is constructed such that the parent doesn't know the child is a |make| process, then the child will receive only part of the information necessary. In this case, the child will generate this warning message and proceed with its build in a sequential manner. Thanks.
[gentoo-user] XFCE4: How cab I disable Restart and Shut down buttons?
Hello there, I have XFCE4 and Systemd running and I want to know if it is possible to disable or remove the buttons Restart and Shut down at the logout dialog (xfce4-session-logout). If so, how? Thanks for any information. Bye Johannes -- --//-- //Johannes R. Geiss Mac mini server and \\ //OpenPandora user --\X/-
Re: [gentoo-user] disable SSLv3 in apache2?
On 08/10/2014 11:01 AM, Grant wrote: I recently upgraded from apache-2.2.27 to apache-2.2.27-r4 and etc-update wanted to add the following directive to the default SSL vhost: SSLProtocol ALL -SSLv2 -SSLv3 Isn't it a browser compatibility issue though? Are there browsers out there that support SSLv3 but not TLS? IE6 on Windows = XP. TLSv1 is technically supported, but it's disabled by default.
Re: [gentoo-user] Re: akonadi ... don't you just love it?
On Mon, Aug 11, 2014 at 6:21 PM, Neil Bothwick n...@digimed.co.uk wrote: It appears the recent mysql update broke quite a few things, my MythTV fronted started sulking while the backend just sucked up all the CPU cycles. Something else broke too, but I can't remember more than two things these days. @preserved-rebuild showed nothing but revdep-rebuild cleaned things up. It appears that revdep-rebuild is not ready for retirement yet, although this is the first time in ages that I've needed it. I had a similar experience on two Gentoo boxes, including MythTV. I don't think it was myth itself but rather something in-between. I did catch a missing slot operator dep on mythplugins and will be fixing that in the next bump, which I should be doing soon anyway if I get a weekend without a car wreck. Rich
Re: [gentoo-user] Re: sysV/openrc init script vs. systemd .service file
On Mon, Aug 11, 2014 at 5:55 PM, Grant Edwards grant.b.edwa...@gmail.com wrote: Thanks much for the advice. Np. One other thing is that anybody using journald would probably appreciate logging to stdout. Forking with a PIDfile is actually a preferred mode of operation, since then you know it is ready to accept connections. Making sure the parent doesn't die is especially important if you do things like timer units (basically a systemd version of cron). I tended to fork off processes from scripts from cron and you can't do that with systemd unless the parent waits for all the children to finish. The better way to do it is just write multiple scripts and let them start in parallel. When a parent dies, the unit is considered done, and all its children are meticulously killed off. Rich
Re: [gentoo-user] Re: akonadi ... don't you just love it?
Neil Bothwick wrote: It appears the recent mysql update broke quite a few things, my MythTV fronted started sulking while the backend just sucked up all the CPU cycles. Something else broke too, but I can't remember more than two things these days. @preserved-rebuild showed nothing but revdep-rebuild cleaned things up. It appears that revdep-rebuild is not ready for retirement yet, although this is the first time in ages that I've needed it. Jeez Neil. If you can remember two things at the same time, you may have me beat. scratches head Now where did that mouse go? Dale :-) :-)
Re: [gentoo-user] akonadi ... don't you just love it?
On Monday, August 11, 2014 10:45:07 PM Mick wrote: On Monday 11 Aug 2014 20:01:16 Volker Armin Hemmann wrote: isn't it great? back in the days when kmail stored emails in files, everything worked great and even folders with 100k mails were not a problem. But, no, they had to break that. I lost ca 500k emails thanks to akonadi-crap and errors like that. I really loved kmail and thunderbird is garbage compared - but akonadi took away that choice. Thank you, kdepim-devs for making the dumbest decision ever! *thumbsup* I share your feelings although I haven't lost messages in my current attempt to road test kmail2. I am dreading the moment when kmail1 will stop working due to bitrot and I'll have to make a choice. :-( With a modern machine and the latest versions, it's not too bad and responds quicker then kmail-1 did. With the old version, I often had kmail become unresponsive when synchronizing the email. I didn't loose any emails, but that is more likely related to the emails being stored on an imap server, rather then being lucky. I really don't see the point of forcing mysql as a backend. Sqlite would have been a better choice. -- Joost
Re: [gentoo-user] Fwd: re: jobserver unavailable: using -j1. Add `+' to parent make rule.
On 08/12/2014 01:17 AM, Neil Bothwick wrote: On Mon, 11 Aug 2014 18:39:07 +0300, Alexander Kapshuk wrote: QA: install QA Notice: make jobserver unavailable: make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Is this something that requires the user to act upon, or does it indicate a deficiency in one of the makefiles that came with the package? It's a QA warning, something for the devs responsible to deal with. Generally, QA warnings can be ignored. Ideally, mere mortals wouldn't even see them. Understood. Thanks.
Re: [gentoo-user] unclear (to me) errors from portage
On Saturday, August 09, 2014 11:19:39 AM Alan McKinnon wrote: On 09/08/2014 10:20, J. Roeleveld wrote: On 9 August 2014 09:53:01 CEST, Alan McKinnon alan.mckin...@gmail.com wrote: On 09/08/2014 08:35, J. Roeleveld wrote: Test vms get updated when I feel like it. Some of them never :-) Hope they are behind a firewall then, wouldn't want to know how quick a 2 year old VM gets 0wned if online. They run locally in virtualbox on the laptop, and are fired up when needed. Like for example when I have to figure out wtf exactly did ubuntu do to munin today to break it *again* I try to avoid ubuntu. Tried it a few years ago. Looked ok, but didn't like the convoluted way to do a full update and ended up putting Gentoo on the netbook. you mean apt-get update apt-get upgrade apt-get dist-upgrade apt-get autoremove ? Yes Yeah, that drives me nuts too. emerge --sync emerge -vauDN @world This is how to update everything in 1 step. I don't like having to do a different command to update to newer versions. It's convoluted. But it's better than Red Hat (dependency hell) and makes the office staff workstations easy to admin (desktop stuff JustWorks for what they need to do). My solution with RPMs: - Let the desktop try it - Do a new install of latest version (I use Centos on VMs for testing work related stuff) Plus, I refuse under any circumstances to run Gentoo on production unless it's backed by a huge build farm or I have a large cluster that are all identical and have very special needs. I use Gentoo exclusively on the servers and desktops at home. I find it easier and more logical to maintain. I do have a VM dedicated to building binary packages though. Gentoo has it's uses cases, but a loose collection of servers none of which are identical is not it. It can be made to work, with some good planning. But I agree that when the amount of servers starts getting quite large, some unification is necessary. But the same then is also true for any other OS. -- Joost