Re: [gentoo-user] New Firefox-38.1.0 headers, or is Google getting smarter?

2015-07-31 Thread Volker Armin Hemmann
Am 31.07.2015 um 11:31 schrieb Mick:
 I used Firefox to login to Gmail and suddenly received a message from Google, 
 advising me:

 New sign-in from Firefox on Linux

 Hi Michael,Your Google Account x was just used to sign in from Firefox on 
  
 Linux.

 Have you noticed something similar and should we be changing anything on the 
 new FF configuration, or is this Gmail getting smarter?


seriously? Have you never heard that browsers send tons of data to the
server? Like browser version, OS, language... ?

Mozilla/5.0 (X11; Linux x86_64) KHTML/4.14.10 (like Gecko) Konqueror/4.14

that is, for example what MY konqueror setup currently sends.



Re: [gentoo-user] Gentoo on Android and the problem of space

2015-07-31 Thread wabenbau
meino.cra...@gmx.de wrote:

 Mick michaelkintz...@gmail.com [15-08-01 04:28]:
  On Friday 31 Jul 2015 19:19:06 meino.cra...@gmx.de wrote:
   Hi,
   
   on my tablet PC I used an Android App called Linux deploy
   to install an chroot-environment for - guess - Gentoo. :)
   
   The tablet has a SDcard slot and recognizes any FAT32 formatted
   SDcard automatically. Anything else will silently be ignored.
   
   Furthermore Linux deploy uses a single file when it is
   pointed to an external SDcard (with FAT32) which is mounted
   via a loop device, formatted ext4, and then populated with
   the Gentoo Linux files.
   
   So far so nice.
   
   Unfortunately the file size is limited to 4GB, which is not
   /that/ much in respect to what I want to install later (Linux
   deploy goes as far as LXDE runs a terminal and only a few moe
   things).
   
   I created a second file of 4GB and set it up as a second
   partition. This is now additional storage capacity of another
   4GB.
   
   BUT:
   Linux deploy already installed a full rootfs and more on the first
   file. And I need to increase the size of _the whole rootfs_ with
   this extra file ... not only the storage capacity located behind
   a certain mountpoint.
   
   Is there any way to add the capacity of the second file in a way,
   that the whole rootfs participates from/in/at/of (damn! sorry, I
   am not good with/at/in/of/from propositions) this?
   
   How can I deal with this?
   
   Thank you very much in advance for any help!
   Best regards,
   Meino
  
  Have you tried mounting it with '-o loop' from your chrooted
  system?  However, this won't work unless the chrooted system can
  see the new partition.
  
  -- 
  Regards,
  Mick
 
 Hi Mick, 
 
 yes...my question is a result from that. What I did is (the structure
 is an example):
 
 This is the root of the current image file, which contains the
 chroot environment and is mounted via loop by the android OS:
 drwxr-xr-x   2 root root  4096 2015-07-25 04:04 bin
 drwxr-xr-x   5 root root  1024 2015-07-25 07:42 boot
 drwxr-xr-x   3 root root 0 2015-08-01 04:26 config
 drwxr-xr-x  18 root root 15640 2015-08-01 04:26 dev
 drwxr-xr-x   2 root root  4096 2015-01-11 16:42 doc
 drwxr-xr-x 150 root root 12288 2015-07-31 04:01 etc
 drwxr-xr-x   5 root root  4096 2014-01-13 05:21 home
 lrwxrwxrwx   1 root root 5 2015-03-24 03:10 lib 
 drwx--   2 root root  4096 2014-10-08 17:04 lost+found
 drwxr-xr-x   3 root root  4096 2014-05-12 03:56 media
 drwxr-xr-x   5 root root  4096 2010-11-05 21:07 mnt
 drwxr-xr-x  14 root root  4096 2015-07-24 19:34 opt
 dr-xr-xr-x 179 root root 0 2015-08-01 04:26 proc
 drwx--  96 root root 12288 2015-08-01 04:56 root
 drwxr-xr-x  19 root root   860 2015-08-01 04:28 run
 drwxr-xr-x   2 root root 12288 2015-07-28 21:07 sbin
 dr-xr-xr-x  12 root root 0 2015-08-01 04:26 sys
 drwxrwxrwt  39 root root  4096 2015-08-01 04:58 tmp
 drwxr-xr-x  18 root root  4096 2014-09-07 19:09 usr
 drwxr-xr-x  14 root root  4096 2015-01-08 08:27 var
 
 This fs is nearly filled up...not much more space available.
 
 So I created a second image file, which currently contains
 nothing more than 4GB of free space (YEAH!:)
 
 If I mount this (via loop) to for example to /mnt/
 I will get:
 drwxr-xr-x   2 root root  4096 2015-07-25 04:04 bin
 drwxr-xr-x   5 root root  1024 2015-07-25 07:42 boot
 drwxr-xr-x   3 root root 0 2015-08-01 04:26 config
 drwxr-xr-x  18 root root 15640 2015-08-01 04:26 dev
 drwxr-xr-x   2 root root  4096 2015-01-11 16:42 doc
 drwxr-xr-x 150 root root 12288 2015-07-31 04:01 etc
 drwxr-xr-x   5 root root  4096 2014-01-13 05:21 home
 lrwxrwxrwx   1 root root 5 2015-03-24 03:10 lib 
 drwx--   2 root root  4096 2014-10-08 17:04 lost+found
 drwxr-xr-x   3 root root  4096 2014-05-12 03:56 media
 drwxr-xr-x   5 root root  4096 2010-11-05 21:07 mnt  (behind this
 there is 4GB of additional space) drwxr-xr-x  14 root root  4096
 2015-07-24 19:34 opt dr-xr-xr-x 179 root root 0 2015-08-01 04:26
 proc drwx--  96 root root 12288 2015-08-01 04:56 root
 drwxr-xr-x  19 root root   860 2015-08-01 04:28 run
 drwxr-xr-x   2 root root 12288 2015-07-28 21:07 sbin
 dr-xr-xr-x  12 root root 0 2015-08-01 04:26 sys
 drwxrwxrwt  39 root root  4096 2015-08-01 04:58 tmp
 drwxr-xr-x  18 root root  4096 2014-09-07 19:09 usr
 drwxr-xr-x  14 root root  4096 2015-01-08 08:27 var
 
 BUT: The space of the filesystem to which for example updates and new
 programs will be installed is not increased by a single byte.
 
 I need a soultion which add the 4GB space in a way that 
 the current nearly filled filesystem will get more space as a whole.
 
 How can I do that?
 
 Best regards,
 Meino

It's not exactly what you want, but it should work:

Check the size of the directories under /usr with du:

du -hs /usr/*

Now you can consider which of them you want to move to your free 4GB 
space. Lets say, you have decided to move /usr/bin/ and /usr/portage/ 
to the free space that 

Re: [gentoo-user] Re: Can't boot btrfs

2015-07-31 Thread Rich Freeman
On Fri, Jul 31, 2015 at 5:47 PM, James wirel...@tampabay.rr.com wrote:
 So, a smart (and really cool dude like yourself) surely can take the
 handbook, and edit out an experimental version that only address btrfs-raid
 one?

Sure, if there is interest I can put together something once I'm back home.

--
Rich



[gentoo-user] Re: Gentoo on Android and the problem of space

2015-07-31 Thread James
 Meino.Cramer at gmx.de writes:


 on my tablet PC I used an Android App called Linux deploy 
 to install an chroot-environment for - guess - Gentoo. :)

Meino,

I just ran across a gentoo project you might find interesting. If nothhing
else the author will probably be an excellent source of information
for you::

https://wiki.gentoo.org/wiki/Project:Android

PS, I've got an old android tablet buried somewhere in my lab
It's a samsung and I'm looking for the charger.
Once you are successful, I look forward to following your wiki
page to test what you figure out!


hth,
James










[gentoo-user] Re: Can't boot btrfs

2015-07-31 Thread James
Rich Freeman rich0 at gentoo.org writes:


 Sure, if there is interest I can put together something once I'm back home.

I'm sure there is an interest in Raid 1 with btrfs on gentoo. If at all
possible, I think avoiding mdadm and lvm are advisable to simplify the
install and put the focus of the gentoo community learning the ins and out
of btrfs; if possile. Any guide would be an excellent starting point
on allowing many gentoo users to benefit from btrfs. A simple partition
scheme to start with would keep the guide shorter.

If you put this together, single disk, here is a web pages that states that
it is pretty much straightforward to convert to a dual disk raid-1 config::

 Conversion 

A non-raid filesystem is converted to raid by adding a device and running a
balance filter that will change the chunk allocation profile.

For example, to convert an existing single device system (/dev/sdb1) into a
2 device raid1 (to protect against a single disk failure):

mount /dev/sdb1 /mnt
btrfs device add /dev/sdc1 /mnt
btrfs balance start -dconvert=raid1 -mconvert=raid1 /mnt 


James

 
[1]
https://btrfs.wiki.kernel.org/
index.phpUsing_Btrfs_with_Multiple_Devices#Registration_in_.2Fetc.2Ffstab





Re: [gentoo-user] Can't boot btrfs

2015-07-31 Thread Peter Humphrey
On Friday 31 July 2015 06:44:54 Rich Freeman wrote:

 As Neil already pointed out, if you're not using an initramfs you need
 to put all your devices on this line if they're part of an array.  The
 kernel will not scan to find the others.

I didn't mention it the first time but I'd already tried 
device=/dev/sda3,device=/dev/sdb3 on the command line and it didn't help. I'd 
also tried the initramfs but that didn't help either. I'll try them again.

 If you do use an initramfs you really should use a UUID or label
 instead of a device name, but a device name will work as long as it
 happens to not get reordered on you.

I have only two SATA drives, both SSD, so even if they do get reordered they 
should still result in the same, no?

  The other thing I've tried is to build an initramfs with dracut. I tried
  to include its btrfs module but it refused because it couldn't find a
  command btrfs. So I recompiled the kernel with btrfs as a module and added
  'filesystems+=btrfs ' into dracut.conf. Still no success.
 
 Do you have btrfs-utils installed?

I have btrfs-progs, which I assume is what you mean.

 Dracut should work fine with btrfs built into the kernel natively or as a
 module, though if you want to boot directly it will have to be native

Yes, of course, I understand that. I tried it both ways round, as I said.

 I believe that as long as dracut can find the btrfs utility it will
 put it in the initramfs.

I'll check that again with lsinitrd.
 
 Otherwise there isn't much more to this - I think these two issues are
 the only real problems you're having, depending on which route you
 decide to take with the initramfs (which I still recommend, but you
 could of course have separate grub lines to boot with and without it
 if you want to experiment).

Indeed. Thank you both.

-- 
Rgds
Peter




Re: [gentoo-user] Can't boot btrfs

2015-07-31 Thread Peter Humphrey
On Friday 31 July 2015 13:33:18 I wrote:
 On Friday 31 July 2015 06:44:54 Rich Freeman wrote:
  As Neil already pointed out, if you're not using an initramfs you need
  to put all your devices on this line if they're part of an array.  The
  kernel will not scan to find the others.
 
 I didn't mention it the first time but I'd already tried
 device=/dev/sda3,device=/dev/sdb3 on the command line and it didn't help.
 I'd also tried the initramfs but that didn't help either. I'll try them
 again.

This time I tried device=/dev/sda3,/dev/sdb3 in case that was the proper
syntax, but it made no discernible difference - the final message from the
kernel panic was the same VFS: Unable to mount roofs on unknown-block(8,3).

---8

  I believe that as long as dracut can find the btrfs utility it will
  put it in the initramfs.

Indeed it did so for me (this was today when I ran
dracut --kver 4.0.5-gentoo again:

# lsinitrd -k 4.0.5-gentoo | grep btr
btrfs
-rwxr-xr-x   1 root root  142 Jun 15 11:27 
lib64/dracut/hooks/initqueue/timeout/10-btrfs_timeout.sh
-rw-r--r--   1 root root  418 Apr 26 14:07 
lib64/udev/rules.d/64-btrfs.rules
-rwxr-xr-x   1 root root   427048 Jul 31 13:39 sbin/btrfs
-rwxr-xr-x   1 root root   427048 Jul 31 13:39 sbin/btrfsck
-rwxr-xr-x   1 root root   187384 Jul 31 13:39 sbin/btrfs-zero-log
-rwxr-xr-x   1 root root 1196 Jul 30 08:50 sbin/fsck.btrfs

  Otherwise there isn't much more to this

I've been thinking that for a few days now :)

  I think these two issues are the only real problems you're having,
  depending on which route you decide to take with the initramfs (which I
  still recommend, but you could of course have separate grub lines to boot
  with and without it if you want to experiment).

Yes, I'm playing with two grub entries, of which one tries devices= and the
other includes this line (is the syntax right? The file does exist):

initrd /boot/initramfs-4.0.5-gentoo.img

In the case of the initramfs the 8,3 in the kernel panic message becomes 8,19.
Is that a useful clue?

Another wobbler: as far as I can remember I haven't done anything about
compression, but could it have crept in somewhere?

And another: my dicky memory says that after booting SysRescCD to lay out the
new partitions and restore my rescue system, I booted the latter to do the
rest of the work, including mkfs.btrfs. Perhaps I should start again right
from the beginning but using SysRescCD's mkfs.btrfs. That'll be another day's
work.

-- 
Rgds
Peter




Re:Re: [gentoo-user] Compile kde-apps/libkdcraw-4.14.3 error

2015-07-31 Thread Wallance Lee


Thanks! I have solved it.


At 2015-07-31 19:53:01, Neil Bothwick n...@digimed.co.uk wrote:
On Fri, 31 Jul 2015 18:03:11 +0800 (CST), Wallance Lee wrote:

 Hi, everyone
 I want to install media-gfx/digikam for picture manager.And it depends
 on kde-apps/libkdcraw-4.14.3.But it compiled error like
 this /usr/include/libraw/libraw_datastream.h:154:17: error: exception
 handling disabled, use -fexceptions to enable throw
 LIBRAW_EXCEPTION_IO_EOF; I use gcc-4.9.3 and kde plasma 5. What should
 I do to avoid this error? Thank you

As usual, search b.g.o first:

https://bugs.gentoo.org/show_bug.cgi?id=555646


-- 
Neil Bothwick

Multitasking: Reading in the bathroom.


Re: [gentoo-user] Re: Can't boot btrfs

2015-07-31 Thread peter
James wirel...@tampabay.rr.com wrote :

 Peter Humphrey  writes:
 
 
  This time I tried device=/dev/sda3,/dev/sdb3 in case that was the proper
  syntax, but it made no discernible difference - the final message from the
  kernel panic was the same VFS: Unable to mount roofs on 
  unknown-block(8,3).
 
 
 Hello Peter,
 
 As many know, I have made many failed attempts to get btrfs in raid 1
 working
 on gentoo, and have to this date, failed.
 
 
 OpenSuse-13.2 seems to solve this, but not in raid-1 config. I have read
 that you can easily add the second disk after install and change the config
 to raid-1. I'm working on this, but other things limit my time atm.
 
 
 Using YaST to config the btrfs under openSuse is a breeze. Once I have ti
 all fixed I can just copy the necessary files (fstab etc) to another system
 and install gentoo of top of those disks.
 
 
 Others use calculate linux or sabayon similarly and are quite happy with
 the results. I am hope that somebody figures this out and sees to it that
 the information makes it to the gentoo wiki, for all to benefit from robust
 usage of btrfs in raid-1.
 
 
 Sorry, that I could not be of more help.

No, that's interesting - thanks. I've just started building it again; if this 
fails too I'll follow your suggestion. 

(Apologies if the format is bad; I'm using web mail.)









Re: [gentoo-user] To Wifi or not to Wifi...

2015-07-31 Thread Meino . Cramer
Hi Mick,

thanks a lot for linking this informations for me :)

My Lollipop device is a pure tablet. I choose
intentionally a no-gsm/no-phone device...of
smartphones I only like the smart part.

And yesterday evening I put Linux on it...currently
only as chroot environment (since nobody has currently
made public a custom rom/kernel) so the android kernel
is still running, but ... one step is done.

I am eager to see the first custom ROMs for my device
(Asus MeMO Pad 7 ME176CX) and a cwm/twpr for it made
by the guys at clockworkmod.com/Team Win...can't wait...
really :)

Until then I have to be careful with modding, since there is no simple
way of replay a nandroid backup.

Have a nice weekend!
Best regards,
Meino

Mick michaelkintz...@gmail.com [15-07-31 17:09]:
 Some info on lollipop FYI:
 
 http://pulse.ng/tech/biggest-flaw-ever-you-can-hack-an-android-device-with-a-text-message-id4018313.html
 
 On 30 July 2015 at 12:53, J. Roeleveld jo...@antarean.org wrote:
 
  On Wednesday, July 29, 2015 05:10:02 PM meino.cra...@gmx.de wrote:
   J. Roeleveld jo...@antarean.org [15-07-29 16:39]:
On Wednesday, July 29, 2015 10:54:53 AM Thanasis wrote:
 On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote:
 ...snip...

  2) How I can assign a static IP to my tablet.

 At the end of /etc/dhcp/dhcpd.conf add a line like

 host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx;  fixed-address
 xxx.xxx.xxx.xxx; }

  3) How I can change the MAC on my tablet.

 What is the OS on the tablet?
   
If I read this right in this thread, I believe it's Android Lollipop.
In this case, without rooting, it definitely will not be possible.
   
I don't see why anyone would want to change the MAC on a tablet, other
then
try to break into someone elses WIFI.
   
--
Joost
  
   Hi Joost,
  
   your are right: It is Android Lollipop 5.0 ! :)
 
  Same version as my mobile phone. (After the latest update)
 
   I think specialists experienced in networks, Wlans, Wifis and
   such know and are experienced in hacking into others devices. Changing
   the MAC may or may not a tool for that ... I simply dont know. I am
   just at the start to get Wifi working ... a very basic problem for
   others like you I think. For me...it is just a challenge.
   Are you experienced in breaking in someone elses WIFI via changing the
   MAC? Where came your idea from?
 
  I played around with it in the past, not recently though.
 
  MAC-based access control lists are simple and lightweight. Which is why I
  use
  them for WIFI networks (apart from the guest-WIFI). But I don't consider
  them
  secure enough to only rely on those.
 
  I only actively set MAC-addresses for VMs to avoid duplications. I don't
  see
  the point in setting them specifically as they tend to be unique in my
  experience.
 
  Only other reason I can think off for changing the MAC-address is to get
  around
  a MAC-based filtering.
 
  --
  Joost
 
 
 
 
 -- 
 Regards,
 Mick



[gentoo-user] Re: Can't boot btrfs

2015-07-31 Thread James
Peter Humphrey peter at prh.myzen.co.uk writes:


 This time I tried device=/dev/sda3,/dev/sdb3 in case that was the proper
 syntax, but it made no discernible difference - the final message from the
 kernel panic was the same VFS: Unable to mount roofs on 
 unknown-block(8,3).


Hello Peter,

As many know, I have made many failed attempts to get btrfs in raid 1 working
on gentoo, and have to this date, failed.


OpenSuse-13.2 seems to solve this, but not in raid-1 config. I have read
that you can easily add the second disk after install and change the config
to raid-1. I'm working on this, but other things limit my time atm.


Using YaST to config the btrfs under openSuse is a breeze. Once I have ti
all fixed I can just copy the necessary files (fstab etc) to another system
and install gentoo of top of those disks.


Others use calculate linux or sabayon similarly and are quite happy with
the results. I am hope that somebody figures this out and sees to it that
the information makes it to the gentoo wiki, for all to benefit from robust
usage of btrfs in raid-1.


Sorry, that I could not be of more help.

sincerely,
James






Re: [gentoo-user] Can't boot btrfs

2015-07-31 Thread Dale
Peter Humphrey wrote:
 Hello list,

 I've created a new btrfs volume on SSDs, complete with a lot of subvolumes
 corresponding to the old lvm2 logical volumes. I took the opportunity of
 removing a couple of old partitions, so I now have this:

 /dev/sd[ab]1 form /dev/md1 as /boot,
 /dev/sd[ab]2 are my rescue system: sda2 is its root, sdb2 is its portage tree,
 /dev/sd[ab]3 is the btrfs file system.

 I can boot my rescue system with no problems, but not the main system - I get
 a kernel panic with BTRFS: failed to read the system array on sda3. I'm
 writing this after chroot, su - prh, startx.

 Both in the main and rescue systems I have this:
 $ grep -i btrfs /usr/src/linux/.config
 CONFIG_BTRFS_FS=y
 CONFIG_BTRFS_FS_POSIX_ACL=y
 # CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set
 # CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
 # CONFIG_BTRFS_DEBUG is not set
 # CONFIG_BTRFS_ASSERT is not set

 The relevant grub.cfg entries (I've moved to grub-2) are:

 menuentry 'Gentoo Linux 4.0.5, no network' {
 linux /boot/kernel-x86_64-4.0.5-gentoo root=/dev/sda3 softlevel=nonet 
 net.ifnames=0 irqpoll
 }
 menuentry 'Rescue System 4.0.5' {
 linux /boot/kernel-x86_64-4.0.5-gentoo-rescue root=/dev/sda2 
 net.ifnames=0 irqpoll
 }

 Something seemed to be wrong in the kernel setup, so to test that I compiled
 the main kernel with the .config from the rescue system. Same result.

 Another test: I wondered whether, somehow, the btrfs volume included the name
 of the mount point where it had been created, and would only allow itself to
 be mounted there. Not so: moving its mount point in the rescue system didn't
 prevent it from being mounted. I didn't expect it would, since the kernel
 panic occurs long before fstab is read.

 The other thing I've tried is to build an initramfs with dracut. I tried to
 include its btrfs module but it refused because it couldn't find a command
 btrfs. So I recompiled the kernel with btrfs as a module and added
 'filesystems+=btrfs ' into dracut.conf. Still no success.

 After a few days of floundering around, copious googling and getting splinters
 under my fingernails I'm out of ideas. Can anyone see what else I can try? I
 created the btrfs with mkfs.btrfs -m raid1 -d raid1 --label GENTOO /dev/sda3
 /dev/sdb3. I've done that twice, with all the subvolume creation and backup
 recovery, the second time with --force.



This may not be related but thought I would mention.  For some reason,
my system will not boot a kernel newer than 3.18.7.  I use
gentoo-sources and generally use make oldconfig.  I have also tried the
new 4.0 kernels as well.  They try to boot but don't make it past the
kernel trying to do its thing.  I don't reboot often so I have not had
the chance to figure out exactly why this is happening.  Recently I had
to start using that pesky init thingy but I don't think that is causing
the problem.   I get a error/panic and then it says it is going to
reboot in 10 seconds.  By the time I figure out where the failure might
be, it reboots itself. 

I thought I would mention just in the rare event you are running into
the same issue I am.  Just a thought.  If you know this isn't the
problem, just ignore and carry on. 

Dale

:-)  :-) 




[gentoo-user] Gentoo on Android and the problem of space

2015-07-31 Thread Meino . Cramer
Hi,

on my tablet PC I used an Android App called Linux deploy 
to install an chroot-environment for - guess - Gentoo. :)

The tablet has a SDcard slot and recognizes any FAT32 formatted
SDcard automatically. Anything else will silently be ignored.

Furthermore Linux deploy uses a single file when it is
pointed to an external SDcard (with FAT32) which is mounted
via a loop device, formatted ext4, and then populated with 
the Gentoo Linux files.

So far so nice.

Unfortunately the file size is limited to 4GB, which is not
/that/ much in respect to what I want to install later (Linux
deploy goes as far as LXDE runs a terminal and only a few moe things).

I created a second file of 4GB and set it up as a second partition.
This is now additional storage capacity of another 4GB.

BUT:
Linux deploy already installed a full rootfs and more on the first 
file. And I need to increase the size of _the whole rootfs_ with this
extra file ... not only the storage capacity located behind a certain
mountpoint.

Is there any way to add the capacity of the second file in a way, that
the whole rootfs participates from/in/at/of (damn! sorry, I am not
good with/at/in/of/from propositions) this?

How can I deal with this?

Thank you very much in advance for any help!
Best regards,
Meino







Re: [gentoo-user] Gentoo on Android and the problem of space

2015-07-31 Thread Mick
On Friday 31 Jul 2015 19:19:06 meino.cra...@gmx.de wrote:
 Hi,
 
 on my tablet PC I used an Android App called Linux deploy
 to install an chroot-environment for - guess - Gentoo. :)
 
 The tablet has a SDcard slot and recognizes any FAT32 formatted
 SDcard automatically. Anything else will silently be ignored.
 
 Furthermore Linux deploy uses a single file when it is
 pointed to an external SDcard (with FAT32) which is mounted
 via a loop device, formatted ext4, and then populated with
 the Gentoo Linux files.
 
 So far so nice.
 
 Unfortunately the file size is limited to 4GB, which is not
 /that/ much in respect to what I want to install later (Linux
 deploy goes as far as LXDE runs a terminal and only a few moe things).
 
 I created a second file of 4GB and set it up as a second partition.
 This is now additional storage capacity of another 4GB.
 
 BUT:
 Linux deploy already installed a full rootfs and more on the first
 file. And I need to increase the size of _the whole rootfs_ with this
 extra file ... not only the storage capacity located behind a certain
 mountpoint.
 
 Is there any way to add the capacity of the second file in a way, that
 the whole rootfs participates from/in/at/of (damn! sorry, I am not
 good with/at/in/of/from propositions) this?
 
 How can I deal with this?
 
 Thank you very much in advance for any help!
 Best regards,
 Meino

Have you tried mounting it with '-o loop' from your chrooted system?  However, 
this won't work unless the chrooted system can see the new partition.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Gentoo on Android and the problem of space

2015-07-31 Thread James
 Meino.Cramer at gmx.de writes:

 on my tablet PC I used an Android App called Linux deploy 
 to install an chroot-environment for - guess - Gentoo. :)

 The tablet has a SDcard slot and recognizes any FAT32 formatted
 SDcard automatically. Anything else will silently be ignored.

 Furthermore Linux deploy uses a single file when it is
 pointed to an external SDcard (with FAT32) which is mounted
 via a loop device, formatted ext4, and then populated with 
 the Gentoo Linux files.


Hello Meino,

I'm not sure tinhat will suit your needs.
I'm not sure this will work, but if it does it might jubt be very
cool and quick:


http://opensource.dyc.edu/tinhat


I'd be curious if anyone has uploaded such to an existing tablet
computer.



hth,
James




Re: [gentoo-user] Re: Can't boot btrfs

2015-07-31 Thread Rich Freeman
On Fri, Jul 31, 2015 at 11:50 AM, James wirel...@tampabay.rr.com wrote:

 As many know, I have made many failed attempts to get btrfs in raid 1 working
 on gentoo, and have to this date, failed.


Interesting. I've never had any problems with it.  I boot using
grub2+dracut with root on a single-device btrfs, and /usr on a
multi-device raid1 btrfs (and dracut mounts both).

As long as you pass a valid root= dracut should just find and mount
all the devices for your root.  Note that it will attempt to read
/etc/fstab and remount your root using whatever is in that, so make
sure it is valid.

Some relevant config:
from grub.cfg:
linux   /root1/boot/vmlinuz-3.18.19
root=UUID=7d9f3772-a39c-408b-9be0-5fa26eec8342 ro
rootflags=subvol=root1 init=/usr/lib/systemd/systemd
video=1920x1080-32@60 crashkernel=64M net.ifnames=0
libahci.ignore_sss=1
initrd  /root1/boot/initramfs-3.18.19.img

from fstab:
/dev/disk/by-uuid/7d9f3772-a39c-408b-9be0-5fa26eec8342  /
btrfs   noatime,ssd,nodiscard,compress=none 0 0
/dev/disk/by-uuid/cd074207-9bc3-402d-bee8-6a8c77d56959  /data
btrfs   noatime,compress=none   0 0

Compression is transparent - the mount option only affects future
writes to the device, and you don't need anything to correctly mount
the drive.

--
Rich



Re: [gentoo-user] Can't boot btrfs

2015-07-31 Thread Neil Bothwick
On Fri, 31 Jul 2015 13:53:42 -0500, Dale wrote:

 This may not be related but thought I would mention.  For some reason,
 my system will not boot a kernel newer than 3.18.7.  I use
 gentoo-sources and generally use make oldconfig.  I have also tried the
 new 4.0 kernels as well.  They try to boot but don't make it past the
 kernel trying to do its thing.  I don't reboot often so I have not had
 the chance to figure out exactly why this is happening.  Recently I had
 to start using that pesky init thingy but I don't think that is causing
 the problem.   I get a error/panic and then it says it is going to
 reboot in 10 seconds.  By the time I figure out where the failure might
 be, it reboots itself. 

The reboot after a panic is a kernel option. You can turn it off or
lengthen the delay to give yourself time to read the message.

The option is CONFIG_PANIC_TIMEOUT.


-- 
Neil Bothwick

There are no stupid questions, just too many inquisitive idiots.


pgpWKI5jnuFB0.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: Can't boot btrfs

2015-07-31 Thread James
 peter at prh.myzen.co.uk writes:


   This time I tried device=/dev/sda3,/dev/sdb3 in case that was the 
   proper syntax, but it made no discernible difference -


bugs.gentoo.org contains a wealth of information in the myriad of btrfs
bugs that have been file. Reading those might help you find that
'needle in the hay stack' you are looking for. I surely hope that
you are successful with btrfs. Me, I've been defeated on btrfs/raid-1
for over a year now (off and on) but I'm not giving up as a few folks are
successful with it, even on gentoo.  YMMV.


hth,
James






Re: [gentoo-user] Compile kde-apps/libkdcraw-4.14.3 error

2015-07-31 Thread Neil Bothwick
On Fri, 31 Jul 2015 18:03:11 +0800 (CST), Wallance Lee wrote:

 Hi, everyone
 I want to install media-gfx/digikam for picture manager.And it depends
 on kde-apps/libkdcraw-4.14.3.But it compiled error like
 this /usr/include/libraw/libraw_datastream.h:154:17: error: exception
 handling disabled, use -fexceptions to enable throw
 LIBRAW_EXCEPTION_IO_EOF; I use gcc-4.9.3 and kde plasma 5. What should
 I do to avoid this error? Thank you

As usual, search b.g.o first:

https://bugs.gentoo.org/show_bug.cgi?id=555646


-- 
Neil Bothwick

Multitasking: Reading in the bathroom.


pgpNNX8Brml7L.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo on Android and the problem of space

2015-07-31 Thread Meino . Cramer
Mick michaelkintz...@gmail.com [15-08-01 04:28]:
 On Friday 31 Jul 2015 19:19:06 meino.cra...@gmx.de wrote:
  Hi,
  
  on my tablet PC I used an Android App called Linux deploy
  to install an chroot-environment for - guess - Gentoo. :)
  
  The tablet has a SDcard slot and recognizes any FAT32 formatted
  SDcard automatically. Anything else will silently be ignored.
  
  Furthermore Linux deploy uses a single file when it is
  pointed to an external SDcard (with FAT32) which is mounted
  via a loop device, formatted ext4, and then populated with
  the Gentoo Linux files.
  
  So far so nice.
  
  Unfortunately the file size is limited to 4GB, which is not
  /that/ much in respect to what I want to install later (Linux
  deploy goes as far as LXDE runs a terminal and only a few moe things).
  
  I created a second file of 4GB and set it up as a second partition.
  This is now additional storage capacity of another 4GB.
  
  BUT:
  Linux deploy already installed a full rootfs and more on the first
  file. And I need to increase the size of _the whole rootfs_ with this
  extra file ... not only the storage capacity located behind a certain
  mountpoint.
  
  Is there any way to add the capacity of the second file in a way, that
  the whole rootfs participates from/in/at/of (damn! sorry, I am not
  good with/at/in/of/from propositions) this?
  
  How can I deal with this?
  
  Thank you very much in advance for any help!
  Best regards,
  Meino
 
 Have you tried mounting it with '-o loop' from your chrooted system?  
 However, 
 this won't work unless the chrooted system can see the new partition.
 
 -- 
 Regards,
 Mick

Hi Mick, 

yes...my question is a result from that. What I did is (the structure
is an example):

This is the root of the current image file, which contains the
chroot environment and is mounted via loop by the android OS:
drwxr-xr-x   2 root root  4096 2015-07-25 04:04 bin
drwxr-xr-x   5 root root  1024 2015-07-25 07:42 boot
drwxr-xr-x   3 root root 0 2015-08-01 04:26 config
drwxr-xr-x  18 root root 15640 2015-08-01 04:26 dev
drwxr-xr-x   2 root root  4096 2015-01-11 16:42 doc
drwxr-xr-x 150 root root 12288 2015-07-31 04:01 etc
drwxr-xr-x   5 root root  4096 2014-01-13 05:21 home
lrwxrwxrwx   1 root root 5 2015-03-24 03:10 lib 
drwx--   2 root root  4096 2014-10-08 17:04 lost+found
drwxr-xr-x   3 root root  4096 2014-05-12 03:56 media
drwxr-xr-x   5 root root  4096 2010-11-05 21:07 mnt
drwxr-xr-x  14 root root  4096 2015-07-24 19:34 opt
dr-xr-xr-x 179 root root 0 2015-08-01 04:26 proc
drwx--  96 root root 12288 2015-08-01 04:56 root
drwxr-xr-x  19 root root   860 2015-08-01 04:28 run
drwxr-xr-x   2 root root 12288 2015-07-28 21:07 sbin
dr-xr-xr-x  12 root root 0 2015-08-01 04:26 sys
drwxrwxrwt  39 root root  4096 2015-08-01 04:58 tmp
drwxr-xr-x  18 root root  4096 2014-09-07 19:09 usr
drwxr-xr-x  14 root root  4096 2015-01-08 08:27 var

This fs is nearly filled up...not much more space available.

So I created a second image file, which currently contains
nothing more than 4GB of free space (YEAH!:)

If I mount this (via loop) to for example to /mnt/
I will get:
drwxr-xr-x   2 root root  4096 2015-07-25 04:04 bin
drwxr-xr-x   5 root root  1024 2015-07-25 07:42 boot
drwxr-xr-x   3 root root 0 2015-08-01 04:26 config
drwxr-xr-x  18 root root 15640 2015-08-01 04:26 dev
drwxr-xr-x   2 root root  4096 2015-01-11 16:42 doc
drwxr-xr-x 150 root root 12288 2015-07-31 04:01 etc
drwxr-xr-x   5 root root  4096 2014-01-13 05:21 home
lrwxrwxrwx   1 root root 5 2015-03-24 03:10 lib 
drwx--   2 root root  4096 2014-10-08 17:04 lost+found
drwxr-xr-x   3 root root  4096 2014-05-12 03:56 media
drwxr-xr-x   5 root root  4096 2010-11-05 21:07 mnt  (behind this there is 4GB 
of additional space)
drwxr-xr-x  14 root root  4096 2015-07-24 19:34 opt
dr-xr-xr-x 179 root root 0 2015-08-01 04:26 proc
drwx--  96 root root 12288 2015-08-01 04:56 root
drwxr-xr-x  19 root root   860 2015-08-01 04:28 run
drwxr-xr-x   2 root root 12288 2015-07-28 21:07 sbin
dr-xr-xr-x  12 root root 0 2015-08-01 04:26 sys
drwxrwxrwt  39 root root  4096 2015-08-01 04:58 tmp
drwxr-xr-x  18 root root  4096 2014-09-07 19:09 usr
drwxr-xr-x  14 root root  4096 2015-01-08 08:27 var

BUT: The space of the filesystem to which for example updates and new programs
will be installed is not increased by a single byte.

I need a soultion which add the 4GB space in a way that 
the current nearly filled filesystem will get more space as a whole.

How can I do that?

Best regards,
Meino











Re: [gentoo-user] Re: Gentoo on Android and the problem of space

2015-07-31 Thread Meino . Cramer
James wirel...@tampabay.rr.com [15-08-01 04:28]:
  Meino.Cramer at gmx.de writes:
 
  on my tablet PC I used an Android App called Linux deploy 
  to install an chroot-environment for - guess - Gentoo. :)
 
  The tablet has a SDcard slot and recognizes any FAT32 formatted
  SDcard automatically. Anything else will silently be ignored.
 
  Furthermore Linux deploy uses a single file when it is
  pointed to an external SDcard (with FAT32) which is mounted
  via a loop device, formatted ext4, and then populated with 
  the Gentoo Linux files.
 
 
 Hello Meino,
 
 I'm not sure tinhat will suit your needs.
 I'm not sure this will work, but if it does it might jubt be very
 cool and quick:
 
 
 http://opensource.dyc.edu/tinhat
 
 
 I'd be curious if anyone has uploaded such to an existing tablet
 computer.
 
 
 
 hth,
 James
 
 


Hi James,

Thank you for the link, James ! :)

But I am not in search of a totally different distribution...I am
looking for more space for my current one... :)

Best regards,
Meino





Re: [gentoo-user] Re: Gentoo on Android and the problem of space

2015-07-31 Thread Francisco Ares
2015-08-01 0:09 GMT-03:00 meino.cra...@gmx.de:

 James wirel...@tampabay.rr.com [15-08-01 04:28]:
   Meino.Cramer at gmx.de writes:
 
   on my tablet PC I used an Android App called Linux deploy
   to install an chroot-environment for - guess - Gentoo. :)
 
   The tablet has a SDcard slot and recognizes any FAT32 formatted
   SDcard automatically. Anything else will silently be ignored.
 
   Furthermore Linux deploy uses a single file when it is
   pointed to an external SDcard (with FAT32) which is mounted
   via a loop device, formatted ext4, and then populated with
   the Gentoo Linux files.
 
 
  Hello Meino,
 
  I'm not sure tinhat will suit your needs.
  I'm not sure this will work, but if it does it might jubt be very
  cool and quick:
 
 
  http://opensource.dyc.edu/tinhat
 
 
  I'd be curious if anyone has uploaded such to an existing tablet
  computer.
 
 
 
  hth,
  James
 
 


 Hi James,

 Thank you for the link, James ! :)

 But I am not in search of a totally different distribution...I am
 looking for more space for my current one... :)

 Best regards,
 Meino




Hi,

Just my 2 cents: my tablet knows about NTFS; it reads and writes in an 8G
portable flash drive formated that way. It is slow, but it works.

Best regards,
Francisco


Re: [gentoo-user] Re: Gentoo on Android and the problem of space

2015-07-31 Thread Meino . Cramer
James wirel...@tampabay.rr.com [15-08-01 04:29]:
  Meino.Cramer at gmx.de writes:
 
 
  on my tablet PC I used an Android App called Linux deploy 
  to install an chroot-environment for - guess - Gentoo. :)
 
 Meino,
 
 I just ran across a gentoo project you might find interesting. If nothhing
 else the author will probably be an excellent source of information
 for you::
 
 https://wiki.gentoo.org/wiki/Project:Android
 
 PS, I've got an old android tablet buried somewhere in my lab
 It's a samsung and I'm looking for the charger.
 Once you are successful, I look forward to following your wiki
 page to test what you figure out!
 
 
 hth,
 James
 

Hi James,

Thanks for the link again ! :) :) :)

From this
https://wiki.gentoo.org/wiki/Project:Android/FAQ
I get the impression, that this Gentoo is for ARM based platforms.
My budget tablet runs on a Intel Atom Bay Trail ZF3745 Quad Core.

I am quite happy with what Linux Deploy does and how it works.

I only need more space in my filesystem so I am looking for a 
solution for that problem first before installing other distribution
or projects.

Best regards,
Meino





[gentoo-user] Re: Can't boot btrfs

2015-07-31 Thread James
Rich Freeman rich0 at gentoo.org writes:

  As many know, I have made many failed attempts to get btrfs in raid 1 
  working on gentoo, and have to this date, failed.

 Interesting. I've never had any problems with it.  I boot using
 grub2+dracut with root on a single-device btrfs, and /usr on a
 multi-device raid1 btrfs (and dracut mounts both).

WE should focus on Peter's needs, as this is his thread.

 As long as you pass a valid root= dracut should just find and mount
 all the devices for your root.  Note that it will attempt to read
 /etc/fstab and remount your root using whatever is in that, so make
 sure it is valid.

 Some relevant config:
 from grub.cfg:
 linux   /root1/boot/vmlinuz-3.18.19
 root=UUID=7d9f3772-a39c-408b-9be0-5fa26eec8342 ro
 rootflags=subvol=root1 init=/usr/lib/systemd/systemd
 video=1920x1080-32 at 60 crashkernel=64M net.ifnames=0
 libahci.ignore_sss=1
 initrd  /root1/boot/initramfs-3.18.19.img

 from fstab:
 /dev/disk/by-uuid/7d9f3772-a39c-408b-9be0-5fa26eec8342  /
 btrfs   noatime,ssd,nodiscard,compress=none 0 0
 /dev/disk/by-uuid/cd074207-9bc3-402d-bee8-6a8c77d56959  /data
 btrfs   noatime,compress=none   0 0

 Compression is transparent - the mount option only affects future
 writes to the device, and you don't need anything to correctly mount
 the drive.

I have dozens and dozens of excellent links on btrfs. I've read hundreds and
hundreds of postings and docs, some even about other folks successes with
btrfs and raid-1. I can install btrfs and put gentoo on it. Successfully
configuring the system files, rebooting and enjoying  raid-1 on btrfs evades
me. I file a bug (bgo 548930) requesting support for btrfs in the
gentoo handbook. It's not even assigned to anyone...

So, a smart (and really cool dude like yourself) surely can take the
handbook, and edit out an experimental version that only address btrfs-raid
one?  That way a following of folks could 'monkey see monkey do' install
gentoo on raid -1? (You'd be a very popular person with lots of
commoners. (struggling admin types?).

The way I see it there are (2) main cases and (2) minor cases::

(1) main case::  efi system with drives 2T
(1_a) minor case efi system with drives 2T

(2) main case :: mbr/bios system with Drives 2T
(2_b) minor case:: mbr/bios system with drive 2T

Either of these cases in a format of the gentoo handbook, could
simple removed all references to all files systems but btrfs.
Hell, I'd be willing to send some dollars to whomever  or (whatever charity)
for that..

Once that happens, then surely we could get an unofficial install script


Note:: the OpenSuse-13.2 install does not even need a ext boot partition as
it uses btrfs for  every partition. I think that sort of doc, is really what
Peter, myself and many others need:: and is consistent with 'the gentoo way'?

In my mind all new/default gentoo installs should be raid-1 as that would
eliminate many postings for help on gentoo_user {imho} YMMV.


James










[gentoo-user] Re: Resizing a FAT partition?

2015-07-31 Thread Martin Vaeth
meino.cra...@gmx.de meino.cra...@gmx.de wrote:

 I took a look at parted and the resize command

Use a parted-3.0. With parted-3.0 the maintainers
considered removing the most important functionality
of the prorgram a development.
parted-2.4 (e.g.) has a resize command which is working
(in the sense that it modifies the filesystem).




Re: [gentoo-user] To Wifi or not to Wifi...

2015-07-31 Thread Mick
Some info on lollipop FYI:

http://pulse.ng/tech/biggest-flaw-ever-you-can-hack-an-android-device-with-a-text-message-id4018313.html

On 30 July 2015 at 12:53, J. Roeleveld jo...@antarean.org wrote:

 On Wednesday, July 29, 2015 05:10:02 PM meino.cra...@gmx.de wrote:
  J. Roeleveld jo...@antarean.org [15-07-29 16:39]:
   On Wednesday, July 29, 2015 10:54:53 AM Thanasis wrote:
On 07/29/2015 05:42 AM, meino.cra...@gmx.de wrote:
...snip...
   
 2) How I can assign a static IP to my tablet.
   
At the end of /etc/dhcp/dhcpd.conf add a line like
   
host mytablet { hardware ethernet xx:xx:xx:xx:xx:xx;  fixed-address
xxx.xxx.xxx.xxx; }
   
 3) How I can change the MAC on my tablet.
   
What is the OS on the tablet?
  
   If I read this right in this thread, I believe it's Android Lollipop.
   In this case, without rooting, it definitely will not be possible.
  
   I don't see why anyone would want to change the MAC on a tablet, other
   then
   try to break into someone elses WIFI.
  
   --
   Joost
 
  Hi Joost,
 
  your are right: It is Android Lollipop 5.0 ! :)

 Same version as my mobile phone. (After the latest update)

  I think specialists experienced in networks, Wlans, Wifis and
  such know and are experienced in hacking into others devices. Changing
  the MAC may or may not a tool for that ... I simply dont know. I am
  just at the start to get Wifi working ... a very basic problem for
  others like you I think. For me...it is just a challenge.
  Are you experienced in breaking in someone elses WIFI via changing the
  MAC? Where came your idea from?

 I played around with it in the past, not recently though.

 MAC-based access control lists are simple and lightweight. Which is why I
 use
 them for WIFI networks (apart from the guest-WIFI). But I don't consider
 them
 secure enough to only rely on those.

 I only actively set MAC-addresses for VMs to avoid duplications. I don't
 see
 the point in setting them specifically as they tend to be unique in my
 experience.

 Only other reason I can think off for changing the MAC-address is to get
 around
 a MAC-based filtering.

 --
 Joost




-- 
Regards,
Mick


[gentoo-user] Can't boot btrfs

2015-07-31 Thread Peter Humphrey
Hello list,

I've created a new btrfs volume on SSDs, complete with a lot of subvolumes
corresponding to the old lvm2 logical volumes. I took the opportunity of
removing a couple of old partitions, so I now have this:

/dev/sd[ab]1 form /dev/md1 as /boot,
/dev/sd[ab]2 are my rescue system: sda2 is its root, sdb2 is its portage tree,
/dev/sd[ab]3 is the btrfs file system.

I can boot my rescue system with no problems, but not the main system - I get
a kernel panic with BTRFS: failed to read the system array on sda3. I'm
writing this after chroot, su - prh, startx.

Both in the main and rescue systems I have this:
$ grep -i btrfs /usr/src/linux/.config
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set
# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
# CONFIG_BTRFS_DEBUG is not set
# CONFIG_BTRFS_ASSERT is not set

The relevant grub.cfg entries (I've moved to grub-2) are:

menuentry 'Gentoo Linux 4.0.5, no network' {
linux /boot/kernel-x86_64-4.0.5-gentoo root=/dev/sda3 softlevel=nonet 
net.ifnames=0 irqpoll
}
menuentry 'Rescue System 4.0.5' {
linux /boot/kernel-x86_64-4.0.5-gentoo-rescue root=/dev/sda2 
net.ifnames=0 irqpoll
}

Something seemed to be wrong in the kernel setup, so to test that I compiled
the main kernel with the .config from the rescue system. Same result.

Another test: I wondered whether, somehow, the btrfs volume included the name
of the mount point where it had been created, and would only allow itself to
be mounted there. Not so: moving its mount point in the rescue system didn't
prevent it from being mounted. I didn't expect it would, since the kernel
panic occurs long before fstab is read.

The other thing I've tried is to build an initramfs with dracut. I tried to
include its btrfs module but it refused because it couldn't find a command
btrfs. So I recompiled the kernel with btrfs as a module and added
'filesystems+=btrfs ' into dracut.conf. Still no success.

After a few days of floundering around, copious googling and getting splinters
under my fingernails I'm out of ideas. Can anyone see what else I can try? I
created the btrfs with mkfs.btrfs -m raid1 -d raid1 --label GENTOO /dev/sda3
/dev/sdb3. I've done that twice, with all the subvolume creation and backup
recovery, the second time with --force.

-- 
Rgds
Peter




Re: [gentoo-user] Can't boot btrfs

2015-07-31 Thread Neil Bothwick
On Fri, 31 Jul 2015 10:35:46 +0100, Peter Humphrey wrote:

 $ grep -i btrfs /usr/src/linux/.config
 CONFIG_BTRFS_FS=y
 CONFIG_BTRFS_FS_POSIX_ACL=y
 # CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set
 # CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
 # CONFIG_BTRFS_DEBUG is not set
 # CONFIG_BTRFS_ASSERT is not set
 
 The relevant grub.cfg entries (I've moved to grub-2) are:
 
 menuentry 'Gentoo Linux 4.0.5, no network' {
 linux /boot/kernel-x86_64-4.0.5-gentoo root=/dev/sda3
 softlevel=nonet net.ifnames=0 irqpoll
 }
 menuentry 'Rescue System 4.0.5' {
 linux /boot/kernel-x86_64-4.0.5-gentoo-rescue root=/dev/sda2 
 net.ifnames=0 irqpoll
 }

Btrfs needs to scan the build the array, which is normally done from an
initramfs. As you are not using one, you need to specify both devices
using the device= syntax posted in the Hubris thread.


-- 
Neil Bothwick

Unsupported service (adj): Broken (see Demon)


pgpa_g_6Dl4nJ.pgp
Description: OpenPGP digital signature


[gentoo-user] New Firefox-38.1.0 headers, or is Google getting smarter?

2015-07-31 Thread Mick
I used Firefox to login to Gmail and suddenly received a message from Google, 
advising me:

New sign-in from Firefox on Linux

Hi Michael,Your Google Account x was just used to sign in from Firefox on  
Linux.

Have you noticed something similar and should we be changing anything on the 
new FF configuration, or is this Gmail getting smarter?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] New Firefox-38.1.0 headers, or is Google getting smarter?

2015-07-31 Thread Hans-Juergen Becker
Hi,

On Fri, Jul 31, 2015 at 10:31:48AM +0100, Mick wrote:
 
 Have you noticed something similar and should we be changing anything on the 
 new FF configuration, or is this Gmail getting smarter?

i've also received that with IE/Windows, so i guess gmail is getting smarter.
This started some weeks ago, iirc. 

cheers
Hans-Jürgen



[gentoo-user] Compile kde-apps/libkdcraw-4.14.3 error

2015-07-31 Thread Wallance Lee
Hi, everyone
I want to install media-gfx/digikam for picture manager.And it depends on 
kde-apps/libkdcraw-4.14.3.But it compiled error like this
/usr/include/libraw/libraw_datastream.h:154:17: error: exception handling 
disabled, use -fexceptions to enable
   throw LIBRAW_EXCEPTION_IO_EOF;
I use gcc-4.9.3 and kde plasma 5.
What should I do to avoid this error?
Thank you





Re: [gentoo-user] Can't boot btrfs

2015-07-31 Thread Rich Freeman
On Fri, Jul 31, 2015 at 5:35 AM, Peter Humphrey pe...@prh.myzen.co.uk wrote:
 menuentry 'Gentoo Linux 4.0.5, no network' {
 linux /boot/kernel-x86_64-4.0.5-gentoo root=/dev/sda3 softlevel=nonet
 net.ifnames=0 irqpoll
 }

As Neil already pointed out, if you're not using an initramfs you need
to put all your devices on this line if they're part of an array.  The
kernel will not scan to find the others.

If you do use an initramfs you really should use a UUID or label
instead of a device name, but a device name will work as long as it
happens to not get reordered on you.


 The other thing I've tried is to build an initramfs with dracut. I tried to
 include its btrfs module but it refused because it couldn't find a command
 btrfs. So I recompiled the kernel with btrfs as a module and added
 'filesystems+=btrfs ' into dracut.conf. Still no success.


Do you have btrfs-utils installed?  Dracut should work fine with btrfs
built into the kernel natively or as a module, though if you want to
boot directly it will have to be native (which is one of the reasons
most distros always use an initramfs - they want a modular kernel but
can't predict what your root is running on).

I believe that as long as dracut can find the btrfs utility it will
put it in the initramfs.

Otherwise there isn't much more to this - I think these two issues are
the only real problems you're having, depending on which route you
decide to take with the initramfs (which I still recommend, but you
could of course have separate grub lines to boot with and without it
if you want to experiment).

-- 
Rich