Re: [gentoo-user] looking for a couple of systemd units
Had problems configuring the static network inside a gentoo VM. The network never came up but when I logged in and started the network.service manually it worked. Strange. The mentioned service-file was the one here (my posting with /bin/ip): http://gentoo.2317880.n4.nabble.com/Systemd-and-static-network-td265801.html So I googled some more and used the more complex file from arch: https://wiki.archlinux.org/index.php/Network_Configuration#Manual_connection_at_boot_using_systemd With this the VM gets connected fine now. It's even more flexible as it allows to set up multiple NICs by simply creating the corresponding config-file in /etc/conf.d
Re: [gentoo-user] looking for a couple of systemd units
Am 28.08.2013 08:03, schrieb Stefan G. Weichinger: Had problems configuring the static network inside a gentoo VM. The network never came up but when I logged in and started the network.service manually it worked. Strange. before you ask: yes, the service was enabled correctly (double-checked, redone ...)
Re: [gentoo-user] looking for a couple of systemd units
Am 27.08.2013 18:57, schrieb Canek Peláez Valdés: Canek, how to best tell the gentoo-devs about all these files? Filing bugs for every single file? Yeah, to the package in question. Probably with a CC to the systemd team, so they add the unit file if the maintainer takes too much to acknowledge the bug. I haven't done it myself with all the units I already have, I haven't gotten the time. Just found this note from Pacho on planet.gentoo.org: http://my.opera.com/pacho/blog/2013/08/27/how-to-write-proper-systemd-unit-files I will have to review some of my files then ;-) Stefan
Re: [gentoo-user] portage 2.2 in ~amd64
On Tue, 27 Aug 2013 17:27:30 -0400, gottl...@nyu.edu wrote: Am I correct in believing that when I upgrade to 2.2.1, all the commands from 2.1.x.y will continue to work? I know that several readers have used 2.2 for years with success. The commands will, but there may be better alternatives in 2.2. Man page time :) -- Neil Bothwick A snooze button is a poor substitute for no alarm clock at all. signature.asc Description: PGP signature
Re: [gentoo-user] Optional /usr merge in Gentoo
On Tue, Aug 27, 2013 at 8:03 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On 27/08/2013 14:05, Tanstaafl wrote: [-- snippy --] Thanks Alan, starting to get excited about playing with ZFS. How would you rate their docs and support community (for the free version)? Support is top-notch, on par with what you find around here if that helps ;-) Each major.minor version has a .pdf manual published, while the next version is in development, the docs get updated on a wiki and the final version is an export of that. There's a forum with knowledgeable users and the devs hang around just in case regular users can't help with a question. No mailing list though :-( And the forum does have a lot of noise from n00bs, but that's common with web forums. Like on Gentoo, you quickly learn to spot those posts and scan over them. Actually, there *is* a mailing list. I happened upon it accidentally several minutes ago. Two of them in fact. https://groups.google.com/a/zfsonlinux.org/forum/#!forum/zfs-discuss ... and if you want to partake in development of ZFS-on-Linux: https://groups.google.com/a/zfsonlinux.org/forum/#!forum/zfs-devel (I've just subscribed to the first list) Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] Optional /usr merge in Gentoo
On 2013-08-27 5:06 PM, Joerg Schilling joerg.schill...@fokus.fraunhofer.de wrote: You wrote that modules become derivatives of the Linux kernel and this is the same as writing ZFS would become a kernel derivative. Just for clarification, I was talking about compiling ZFS support INTO the kernel, not running it as a module. Do you claim that support for compiling ZFS directly into the kernel also does not violate the license?
Re: [gentoo-user] portage 2.2 in ~amd64
On 2013-08-27 5:27 PM, gottl...@nyu.edu gottl...@nyu.edu wrote: I was away for two weeks. I just resynced and see that 2.2.1 is now in testing (and my current version 2.1.13.1 is not in the tree). Am I correct in believing that when I upgrade to 2.2.1, all the commands from 2.1.x.y will continue to work? I know that several readers have used 2.2 for years with success. So... is 2.2 *ever* going to go stable???
Re: [gentoo-user] portage 2.2 in ~amd64
On 28/08/2013 13:04, Tanstaafl wrote: On 2013-08-27 5:27 PM, gottl...@nyu.edu gottl...@nyu.edu wrote: I was away for two weeks. I just resynced and see that 2.2.1 is now in testing (and my current version 2.1.13.1 is not in the tree). Am I correct in believing that when I upgrade to 2.2.1, all the commands from 2.1.x.y will continue to work? I know that several readers have used 2.2 for years with success. So... is 2.2 *ever* going to go stable??? 100+ alpha/beta releases 200+ rc releases what do you think? -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Optional /usr merge in Gentoo
On 28/08/2013 12:58, Tanstaafl wrote: On 2013-08-27 5:06 PM, Joerg Schilling joerg.schill...@fokus.fraunhofer.de wrote: You wrote that modules become derivatives of the Linux kernel and this is the same as writing ZFS would become a kernel derivative. Just for clarification, I was talking about compiling ZFS support INTO the kernel, not running it as a module. Do you claim that support for compiling ZFS directly into the kernel also does not violate the license? Whether the code is compile in or a module makes no difference wrt licenses as far as I know. There's no limitation on *running* the code, you can fetch and patch and edit and compile and run all you want and have it on as many of your (or the company's) machines as you want - neither license interferes with your right to do that. You may not redistribute the code though. A common misconception with these license is that they have something to do with whether you may run the code or not. That is incorrect. Free licenses are all about redistribution and your obligations about sharing when you hand the code over to others. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Optional /usr merge in Gentoo
Tanstaafl tansta...@libertytrek.org wrote: On 2013-08-27 5:06 PM, Joerg Schilling joerg.schill...@fokus.fraunhofer.de wrote: You wrote that modules become derivatives of the Linux kernel and this is the same as writing ZFS would become a kernel derivative. Just for clarification, I was talking about compiling ZFS support INTO the kernel, not running it as a module. Do you claim that support for compiling ZFS directly into the kernel also does not violate the license? There is no difference, both is permitted. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] portage 2.2 in ~amd64
On Wed, 28 Aug 2013 07:04:39 -0400, Tanstaafl wrote: So... is 2.2 *ever* going to go stable??? Give it a chance! It's only just come out of rc. Until recently it wasn't even available in testing without umasking. -- Neil Bothwick Does fuzzy logic tickle? signature.asc Description: PGP signature
Re: [gentoo-user] grub2 or kernel config - unable to properly boot
2013/8/28 Michael Hampicke m...@hadt.biz Am 27.08.2013 22:40, schrieb Francisco Ares: I think I might have found it. Although I have selected in the kernel menuconfig to compress the initramfs using gzip and deselected all other decompression forms. a simple file initramfs-xxx told me that it was XZ compressed data, so now I am rebuilding the kernel with all decompression algorithms built in. I will (hope) soon post the results. Thanks, Francisco It did not work :-( You could try generating an initramfs with dracut - see if that works. You possible have to change the name of the initramfs in grub.cfg. Files generated with dracut don't have *genkernel* in it's filename. If you can boot with dracut initramfs, you can investigate why the initramfs of genkernel does not work. Thanks, Michael, gonna read about dracut and try it out. Right now gentoo-sources-3.10.7 is being built, still using genkernel (I was using gentoo-sources-3.8.13). Meanwhile: the profile for this new install is default/linux/amd64/13.0/no-multilib - and I see that the directory where grub2 stores modules in /boot/grub2 is named i386-pc. Switching to a multilib profile and issuing an emerge -pvuDN world, I see that, for instance, glibc is queued to be rebuilt with multilib use flag. What I mean is: does genkernel uses the binaries already available in the filesystem it works on, or does it build its own ones? If so, is genkernel + grub2 compatible with a no-multilib profile? I guess so, specially after reading grub2 documentation, but, on the other hand, in a working system, I could see that busybox from the initramfs (thanks, Neil!) and the one in the root filesystem are different. Thanks again! Francisco
Re: [gentoo-user] grub2 or kernel config - unable to properly boot [SOLVED]
2013/8/28 Francisco Ares fra...@gmail.com 2013/8/28 Michael Hampicke m...@hadt.biz Am 27.08.2013 22:40, schrieb Francisco Ares: I think I might have found it. Although I have selected in the kernel menuconfig to compress the initramfs using gzip and deselected all other decompression forms. a simple file initramfs-xxx told me that it was XZ compressed data, so now I am rebuilding the kernel with all decompression algorithms built in. I will (hope) soon post the results. Thanks, Francisco It did not work :-( You could try generating an initramfs with dracut - see if that works. You possible have to change the name of the initramfs in grub.cfg. Files generated with dracut don't have *genkernel* in it's filename. If you can boot with dracut initramfs, you can investigate why the initramfs of genkernel does not work. Thanks, Michael, gonna read about dracut and try it out. Right now gentoo-sources-3.10.7 is being built, still using genkernel (I was using gentoo-sources-3.8.13). Meanwhile: the profile for this new install is default/linux/amd64/13.0/no-multilib - and I see that the directory where grub2 stores modules in /boot/grub2 is named i386-pc. Switching to a multilib profile and issuing an emerge -pvuDN world, I see that, for instance, glibc is queued to be rebuilt with multilib use flag. What I mean is: does genkernel uses the binaries already available in the filesystem it works on, or does it build its own ones? If so, is genkernel + grub2 compatible with a no-multilib profile? I guess so, specially after reading grub2 documentation, but, on the other hand, in a working system, I could see that busybox from the initramfs (thanks, Neil!) and the one in the root filesystem are different. Thanks again! Francisco Hi While trying to learn about dracut, I found a detail that made me look closer to the genkernel generated initramfs, and I found that the error message was perfectly clear: there was no /dev/sda5, where my real_root is, that initramfs has just /dev/sda1 to /dev/sda4 . I think it must be a limitation on genkernel part, although I was unable to find anything related to this issue up to now. So now I have rearranged the partitions, using just the first ones. Now I got a stuck splash image, no initialization shown, no progress bar moving... but this is another problem, probably I forgot to change something to reflect the new partitioning scheme. Thanks to all. Francisco
Re: [gentoo-user] grub2 or kernel config - unable to properly boot [SOLVED]
In linux.gentoo.user, you wrote: While trying to learn about dracut, I found a detail that made me look closer to the genkernel generated initramfs, and I found that the error message was perfectly clear: there was no /dev/sda5, where my real_root is, that initramfs has just /dev/sda1 to /dev/sda4 . I think it must be a limitation on genkernel part, although I was unable to find anything related to this issue up to now. It appears as if genkernel can only boot off real, not extended partitions. So now I have rearranged the partitions, using just the first ones. Now I got a stuck splash image, no initialization shown, no progress bar moving... but this is another problem, probably I forgot to change something to reflect the new partitioning scheme. It could be a tty problem. If I use genkernel unchanged I get a weird splash screen and the boot dialog writes all over my splash screen. What I have to do evey time an emerge updates my genkernel is: edit my /usr/share/genkernel/defaults/linuxrc file search for CONSOLE in this file and find: # exec ${CONSOLE} ${CONSOLE} 21 Just remove the hash at the start of the line, rebuild my initramfs and it is ready to go. -- Regards, Gregory.
[gentoo-user] Re: portage 2.2 in ~amd64
On Wed, 28 Aug 2013 07:04:39 -0400 Tanstaafl tansta...@libertytrek.org wrote: So... is 2.2 *ever* going to go stable??? Hopefully, 2.2.1 will be stabilized. See zmedico's comments 5 and 6 at https://bugs.gentoo.org/show_bug.cgi?id=478904#c5.