[gentoo-user] oracle-jdk-bin-1.8.0 - Fetch Restriction
I'm trying to emerge: oracle-jdk-bin-1.8.0.66 I've downloaded to package jdk-8u66-linux-x64.tar.gz move it to: /usr/portage/distfiles change owner to portage:portage but I still get this error: Calculating dependencies... done! [ebuild NSF ] dev-java/oracle-jdk-bin-1.8.0.66:1.8::gentoo [1.7.0.80:1.7::gentoo] USE="alsa awt cups fontconfig -derby -doc -examples -javafx -jce -nsplugin -pax_kernel (-selinux) -source" 60,303 KiB Total: 1 package (1 in new slot), Size of downloads: 60,303 KiB Fetch Restriction: 1 package (1 unsatisfied) -- Thelma
Re: [gentoo-user] oracle-jdk-bin-1.8.0 - Fetch Restriction
chmod 0644 Em 09-11-2015 20:13, the...@sys-concept.com escreveu: I'm trying to emerge: oracle-jdk-bin-1.8.0.66 I've downloaded to package jdk-8u66-linux-x64.tar.gz move it to: /usr/portage/distfiles change owner to portage:portage but I still get this error: Calculating dependencies... done! [ebuild NSF ] dev-java/oracle-jdk-bin-1.8.0.66:1.8::gentoo [1.7.0.80:1.7::gentoo] USE="alsa awt cups fontconfig -derby -doc -examples -javafx -jce -nsplugin -pax_kernel (-selinux) -source" 60,303 KiB Total: 1 package (1 in new slot), Size of downloads: 60,303 KiB Fetch Restriction: 1 package (1 unsatisfied)
Re: [gentoo-user] oracle-jdk-bin-1.8.0 - Fetch Restriction
On 11/09/2015 11:16 AM, Frederico Moraes Ferreira wrote: > chmod 0644 > > Em 09-11-2015 20:13, the...@sys-concept.com escreveu: >> I'm trying to emerge: oracle-jdk-bin-1.8.0.66 >> >> I've downloaded to package jdk-8u66-linux-x64.tar.gz >> move it to: /usr/portage/distfiles >> change owner to portage:portage >> >> but I still get this error: >> >> Calculating dependencies... done! >> [ebuild NSF ] dev-java/oracle-jdk-bin-1.8.0.66:1.8::gentoo >> [1.7.0.80:1.7::gentoo] USE="alsa awt cups fontconfig -derby -doc >> -examples -javafx -jce -nsplugin -pax_kernel (-selinux) -source" >> 60,303 KiB >> >> Total: 1 package (1 in new slot), Size of downloads: 60,303 KiB >> Fetch Restriction: 1 package (1 unsatisfied) >> It is: 0644 ll /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz -rw-r--r-- 1 portage portage 119537664 Nov 9 13:36 /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz
Re: [gentoo-user] Bind stole my /
On 08-Nov-15 17:58, Mike Gilbert wrote: On Fri, Nov 6, 2015 at 12:19 PM, Jarrywrote: Hi Gentoo-users, I noted one strange thing today: It seems one of my servers lost "/"! vs5-dns ~ # df Filesystem1K-blocksUsed Available Use% Mounted on /var/log/named 10138552 2223148 7377344 24% /chroot/dns/var/log/named tmpfs308196 420307776 1% /run dev 10240 0 10240 0% /dev shm 1540968 0 1540968 0% /dev/shm cgroup_root 10240 0 10240 0% /sys/fs/cgroup none1048576 0 1048576 0% /var/tmp/portage Is your /etc/mtab a regular file, or is it a symlink to /proc/self/mounts? The latter is recommended. It is regular file. I never changed it... vs5-dns ~ # ls -l /etc/mtab -rw-r--r-- 1 root root 908 Nov 9 19:14 /etc/mtab Anyway, please have a look at the contents of /etc/mtab, /proc/self/mounts, and proc/self/mountinfo while named is running and when it is stopped. If you pastebin them we can take a look for key differences. With bind running: http://pastebin.com/wkTW6xAY without bind: http://pastebin.com/JG5FPNDW While I can see some differences there, I still do not understand why is "/" missing in "df" output. BTW I can not proove it, but this was not the case all the time. At least when I was tuning monitoring software, I'm pretty sure "/" was there... Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] oracle-jdk-bin-1.8.0 - Fetch Restriction
On 09/11/2015 22:36, the...@sys-concept.com wrote: > On 11/09/2015 11:16 AM, Frederico Moraes Ferreira wrote: >> chmod 0644 >> >> Em 09-11-2015 20:13, the...@sys-concept.com escreveu: >>> I'm trying to emerge: oracle-jdk-bin-1.8.0.66 >>> >>> I've downloaded to package jdk-8u66-linux-x64.tar.gz >>> move it to: /usr/portage/distfiles >>> change owner to portage:portage >>> >>> but I still get this error: >>> >>> Calculating dependencies... done! >>> [ebuild NSF ] dev-java/oracle-jdk-bin-1.8.0.66:1.8::gentoo >>> [1.7.0.80:1.7::gentoo] USE="alsa awt cups fontconfig -derby -doc >>> -examples -javafx -jce -nsplugin -pax_kernel (-selinux) -source" >>> 60,303 KiB >>> >>> Total: 1 package (1 in new slot), Size of downloads: 60,303 KiB >>> Fetch Restriction: 1 package (1 unsatisfied) >>> > > It is: 0644 > ll /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz > -rw-r--r-- 1 portage portage 119537664 Nov 9 13:36 > /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz > Your download was truncated or interrupted. It's too small: # ls -al /var/distfiles/jdk-8u66-linux-x64.tar.gz -rw-r--r-- 1 alan portage 181287376 Oct 23 14:13 /var/distfiles/jdk-8u66-linux-x64.tar.gz Download the tar.gz again -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user][SOLVED] oracle-jdk-bin-1.8.0 - Fetch Restriction
On 11/09/2015 01:43 PM, Alan McKinnon wrote: [snip] >> >> It is: 0644 >> ll /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz >> -rw-r--r-- 1 portage portage 119537664 Nov 9 13:36 >> /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz >> > > > Your download was truncated or interrupted. It's too small: > > # ls -al /var/distfiles/jdk-8u66-linux-x64.tar.gz > -rw-r--r-- 1 alan portage 181287376 Oct 23 14:13 > /var/distfiles/jdk-8u66-linux-x64.tar.gz > > > Download the tar.gz again Thanks, yes that was it. Thelma
Re: [gentoo-user] oracle-jdk-bin-1.8.0 - Fetch Restriction
2015-11-09 23:36 GMT+03:00: > On 11/09/2015 11:16 AM, Frederico Moraes Ferreira wrote: >> chmod 0644 >> >> Em 09-11-2015 20:13, the...@sys-concept.com escreveu: >>> I'm trying to emerge: oracle-jdk-bin-1.8.0.66 >>> >>> I've downloaded to package jdk-8u66-linux-x64.tar.gz >>> move it to: /usr/portage/distfiles >>> change owner to portage:portage >>> >>> but I still get this error: >>> >>> Calculating dependencies... done! >>> [ebuild NSF ] dev-java/oracle-jdk-bin-1.8.0.66:1.8::gentoo >>> [1.7.0.80:1.7::gentoo] USE="alsa awt cups fontconfig -derby -doc >>> -examples -javafx -jce -nsplugin -pax_kernel (-selinux) -source" >>> 60,303 KiB >>> >>> Total: 1 package (1 in new slot), Size of downloads: 60,303 KiB >>> Fetch Restriction: 1 package (1 unsatisfied) >>> > > It is: 0644 > ll /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz > -rw-r--r-- 1 portage portage 119537664 Nov 9 13:36 > /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz 1. Are you on x64? 2. Strange, but my file of the same version has a significantly bigger size: 181287376. Isn't your file damaged? -- Regards, Alex
[gentoo-user] OpenSSH upgrade warning
A major upgrade to OpenSSH is being stabilized: https://bugs.gentoo.org/show_bug.cgi?id=18 The default of PermitRootLogin for sshd in the new version is "prohibit-password". If you typically log in to the root account over SSH using a password, **IT'S GONNA BREAK**, and you won't be able to fix it remotely unless you have an account that can sudo to root. To maintain the current behavior, set PermitRootLogin to "yes" before you upgrade, and then be careful not to wipe out sshd_config.
Re: [gentoo-user] OpenSSH upgrade warning
On Mon, Nov 9, 2015 at 6:38 PM, Michael Orlitzkywrote: > A major upgrade to OpenSSH is being stabilized: > > https://bugs.gentoo.org/show_bug.cgi?id=18 > > The default of PermitRootLogin for sshd in the new version is > "prohibit-password". If you typically log in to the root account over > SSH using a password, **IT'S GONNA BREAK**, and you won't be able to fix > it remotely unless you have an account that can sudo to root. > > To maintain the current behavior, set PermitRootLogin to "yes" before > you upgrade, and then be careful not to wipe out sshd_config. > > The question is, why would you want root login? If your still using it, your doing it wrong.
[gentoo-user] Re: Bind stole my /
Hi Jarry, Jarry wrote: > On 08-Nov-15 17:58, Mike Gilbert wrote: >> On Fri, Nov 6, 2015 at 12:19 PM, Jarrywrote: >>> Hi Gentoo-users, >>> >>> I noted one strange thing today: It seems one of my servers lost "/"! >>> >>> vs5-dns ~ # df >>> Filesystem1K-blocksUsed Available Use% Mounted on >>> /var/log/named 10138552 2223148 7377344 24% /chroot/dns/var/log/named >>> tmpfs308196 420307776 1% /run >>> dev 10240 0 10240 0% /dev >>> shm 1540968 0 1540968 0% /dev/shm >>> cgroup_root 10240 0 10240 0% /sys/fs/cgroup >>> none1048576 0 1048576 0% /var/tmp/portage >> >> Is your /etc/mtab a regular file, or is it a symlink to >> /proc/self/mounts? The latter is recommended. > > It is regular file. I never changed it... > > vs5-dns ~ # ls -l /etc/mtab > -rw-r--r-- 1 root root 908 Nov 9 19:14 /etc/mtab > >> Anyway, please have a look at the contents of /etc/mtab, >> /proc/self/mounts, and proc/self/mountinfo while named is running and >> when it is stopped. If you pastebin them we can take a look for key >> differences. > > With bind running: > http://pastebin.com/wkTW6xAY > > without bind: > http://pastebin.com/JG5FPNDW > > While I can see some differences there, I still do not understand > why is "/" missing in "df" output. BTW I can not proove it, but this > was not the case all the time. At least when I was tuning monitoring > software, I'm pretty sure "/" was there... Actually I have the same problem, but I do not run named. /etc/mtab is a regular file on my system, too (since years). I am actually missing two entries: / /var/share/storage Compare with contents of mtab. Both entries were originally there. Do you have also nfs exports? === %< = joehni@bobbel ~ $ df -hl Filesystem Size Used Avail Use% Mounted on udev10M 0 10M 0% /dev /var/spool/cups-pdf892G 261G 586G 31% /export/cups-pdf tmpfs 396M 572K 395M 1% /run none 2.0G 0 2.0G 0% /dev/shm cgroup_root 10M 0 10M 0% /sys/fs/cgroup /dev/sda6 926M 269M 594M 32% /var/log /var/share/storage/Video/Film 3.6T 2.3T 1.2T 65% /export/storage/Video/Film joehni@bobbel ~ $ cat /etc/mtab proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=505255,mode=755 0 0 devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 /dev/sda5 / ext4 rw,relatime,data=ordered 0 0 tmpfs /run tmpfs rw,nodev,relatime,size=404508k,mode=755 0 0 mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0 none /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=2097152k 0 0 cgroup_root /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0 fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0 openrc /sys/fs/cgroup/openrc cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release- agent.sh,name=openrc 0 0 cpuset /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0 cpu /sys/fs/cgroup/cpu cgroup rw,nosuid,nodev,noexec,relatime,cpu 0 0 cpuacct /sys/fs/cgroup/cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct 0 0 blkio /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 memory /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0 devices /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0 freezer /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0 net_cls /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0 perf_event /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0 net_prio /sys/fs/cgroup/net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_prio 0 0 debug /sys/fs/cgroup/debug cgroup rw,nosuid,nodev,noexec,relatime,debug 0 0 /dev/sda6 /var/log ext4 rw 0 2 /dev/sdb1 /var/share/storage/Video/Film ext4 rw 0 2 /var/db/portage /export/portage none rw,bind 0 0 /var/share/storage /export/storage none rw,bind 0 0 /var/spool/cups-pdf /export/cups-pdf none rw,bind 0 0 /var/share/storage/Video/Film /export/storage/Video/Film none
Re: [gentoo-user] Bind stole my /
On Mon, Nov 9, 2015 at 2:36 PM, Jarrywrote: > On 08-Nov-15 17:58, Mike Gilbert wrote: >> >> On Fri, Nov 6, 2015 at 12:19 PM, Jarry wrote: >>> >>> Hi Gentoo-users, >>> >>> I noted one strange thing today: It seems one of my servers lost "/"! >>> >>> vs5-dns ~ # df >>> Filesystem1K-blocksUsed Available Use% Mounted on >>> /var/log/named 10138552 2223148 7377344 24% /chroot/dns/var/log/named >>> tmpfs308196 420307776 1% /run >>> dev 10240 0 10240 0% /dev >>> shm 1540968 0 1540968 0% /dev/shm >>> cgroup_root 10240 0 10240 0% /sys/fs/cgroup >>> none1048576 0 1048576 0% /var/tmp/portage >> >> >> Is your /etc/mtab a regular file, or is it a symlink to >> /proc/self/mounts? The latter is recommended. > > > It is regular file. I never changed it... > > vs5-dns ~ # ls -l /etc/mtab > -rw-r--r-- 1 root root 908 Nov 9 19:14 /etc/mtab > >> Anyway, please have a look at the contents of /etc/mtab, >> /proc/self/mounts, and proc/self/mountinfo while named is running and >> when it is stopped. If you pastebin them we can take a look for key >> differences. > > > With bind running: > http://pastebin.com/wkTW6xAY > > without bind: > http://pastebin.com/JG5FPNDW > > While I can see some differences there, I still do not understand > why is "/" missing in "df" output. BTW I can not proove it, but this > was not the case all the time. At least when I was tuning monitoring > software, I'm pretty sure "/" was there... It may be a bug. Can you try replacing /etc/mtab with a symlink to /proc/self/mounts to see if it makes any difference? That triggers different code paths in several programs.