| View previous topic :: View next topic |
| Author |
Message |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4550 Location: Spa (Belgium)
|
Posted: Sun Jun 15, 2008 6:05 pm Post subject: OpenRC: bridge and brctl settings |
|
|
Hi.
I've switched to OpenRC and I can confirm it's a little faster than before with baselayout-1* series. However I've got a question on bridge settings: I've converted my old brctl settings as follows:
| before: | | brctl_br0=( "stp on" "sethello 1" "setmaxage 4" "setfd 4" ) |
| after: | | brctl_br0="stp on sethello 1 setmaxage 4 setfd 4" |
but I'm not sure it's correct. Should I move these settings towards a preup_br0 function?
EDIT: Sorry, I overlooked /usr/share/doc/openrc/net.example. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5488 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Mon Jun 16, 2008 2:50 pm Post subject: |
|
|
Uberlord, there seems to be a bug triggered with gcc-4.3.1 & -D_FORTIFY_SOURCE=2 enabled:
| Quote: | x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -fno-delete-null-pointer-checks -fno-ident -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -std=c99 -pedantic -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 -Wmissing-declarations -Wno-missing-prototypes -Wwrite-strings -Wbad-function-cast -Wnested-externs -Wcomment -Winline -Wchar-subscripts -Wcast-align -Wno-format-nonliteral -Wdeclaration-after-statement -Wsequence-point -Wextra -I../includes -I../librc -I../libeinfo -DHAVE_TERMCAP -DHAVE_PAM -c -o checkpath.o checkpath.c
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -fno-delete-null-pointer-checks -fno-ident -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -std=c99 -pedantic -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 -Wmissing-declarations -Wno-missing-prototypes -Wwrite-strings -Wbad-function-cast -Wnested-externs -Wcomment -Winline -Wchar-subscripts -Wcast-align -Wno-format-nonliteral -Wdeclaration-after-statement -Wsequence-point -Wextra -I../includes -I../librc -I../libeinfo -DHAVE_TERMCAP -DHAVE_PAM -c -o fstabinfo.o fstabinfo.c
In function ‘open’,
inlined from ‘do_check’ at checkpath.c:60,
inlined from ‘checkpath’ at checkpath.c:226:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [checkpath.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** wait: No child processes. Stop.
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/openrc-9999/work/openrc-9999/src'
make: *** [all] Error 2
*
* ERROR: sys-apps/openrc-9999 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2729: Called die
* The specific snippet of code:
* emake ${MAKE_ARGS} || die "emake ${MAKE_ARGS} failed"
* The die message:
* emake LIBNAME=lib64 OS=Linux failed |
https://hardened.gentooexperimental.org/secure/ticket/29
many thanks in advance for the fix _________________ Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004  |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Tue Jun 17, 2008 3:16 pm Post subject: |
|
|
The compile error has been fixed in git. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Tue Jun 17, 2008 3:18 pm Post subject: |
|
|
| synss wrote: | Hi, I also have an LVM issue.
After installation, dependencies are such as
root need fsck
lvm before fsck
lvm need root
looks to me like circular dependencies |
My lvm script does not need root, and I don't recall updating it. Try re-emerging lvm2 and etc-update. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5488 Location: Vienna, Austria; Germany; hello world :)
|
|
| Back to top |
|
 |
dreadnought n00b


Joined: 09 Jun 2004 Posts: 16 Location: Linz, Austria
|
Posted: Wed Jun 18, 2008 8:26 am Post subject: |
|
|
The transition to openrc-0.2.5 worked flawlessly here.
I skimmed most of the posts in this thread but I could not find anything similar:
Digging through the rc.log file I find a minor annoyance during shutdown
| Code: |
localmount | * Unmounting filesystems
localmount | * Unmounting /lib/rc/init.d ...
localmount | * failed because we are using /lib/rc/init.d
|
And it seems the option
does not have any influence on that _________________ Time was invented to keep everything from happening at once.
Space was invented to keep everything from happening to you. |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Wed Jun 18, 2008 9:11 am Post subject: |
|
|
Interesting. We should be skipping that dir. Could you edit /etc/init.d/localmount and put this on line 69.
| Code: | | echo "We are skipping ${no_umounts}" |
So we can see what it's skipping.
I'm suspecting a multilib error with lib64/lib here. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4550 Location: Spa (Belgium)
|
Posted: Wed Jun 18, 2008 11:27 am Post subject: Bridge (with virtual interfaces) flapping disabled/enabled |
|
|
I've upgraded to OpenRC on my laptop. I used to bridge several virtual (tap) interfaces to provide a routed network for my virtual machines. Now each time I start the bridge I see it endlessly flaps between active and disabled states:
| /var/log/messages: | Jun 18 11:43:39 solo br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
Jun 18 11:43:39 solo device vnet0 entered promiscuous mode
Jun 18 11:43:39 solo device vnet1 entered promiscuous mode
Jun 18 11:43:39 solo device vnet2 entered promiscuous mode
Jun 18 11:43:39 solo device vnet3 entered promiscuous mode
Jun 18 11:43:39 solo br0: port 4(vnet3) entering learning state
Jun 18 11:43:39 solo br0: port 3(vnet2) entering learning state
Jun 18 11:43:39 solo br0: port 2(vnet1) entering learning state
Jun 18 11:43:39 solo br0: port 1(vnet0) entering learning state
Jun 18 11:43:41 solo br0: port 4(vnet3) entering disabled state
Jun 18 11:43:41 solo br0: port 3(vnet2) entering disabled state
Jun 18 11:43:41 solo br0: port 2(vnet1) entering disabled state
Jun 18 11:43:41 solo br0: port 1(vnet0) entering disabled state
Jun 18 11:43:41 solo device vnet0 left promiscuous mode
Jun 18 11:43:41 solo br0: port 1(vnet0) entering disabled state
Jun 18 11:43:41 solo device vnet1 left promiscuous mode
Jun 18 11:43:41 solo br0: port 2(vnet1) entering disabled state
Jun 18 11:43:41 solo device vnet2 left promiscuous mode
Jun 18 11:43:41 solo br0: port 3(vnet2) entering disabled state
Jun 18 11:43:41 solo device vnet3 left promiscuous mode
Jun 18 11:43:41 solo br0: port 4(vnet3) entering disabled state
Jun 18 11:43:41 solo br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
Jun 18 11:43:41 solo device vnet0 entered promiscuous mode
Jun 18 11:43:41 solo device vnet1 entered promiscuous mode
Jun 18 11:43:41 solo device vnet2 entered promiscuous mode
Jun 18 11:43:41 solo device vnet3 entered promiscuous mode
Jun 18 11:43:41 solo br0: port 4(vnet3) entering learning state
Jun 18 11:43:41 solo br0: port 3(vnet2) entering learning state
Jun 18 11:43:41 solo br0: port 2(vnet1) entering learning state
Jun 18 11:43:41 solo br0: port 1(vnet0) entering learning state
Jun 18 11:43:44 solo br0: port 4(vnet3) entering disabled state
Jun 18 11:43:44 solo br0: port 3(vnet2) entering disabled state
Jun 18 11:43:44 solo br0: port 2(vnet1) entering disabled state
Jun 18 11:43:44 solo br0: port 1(vnet0) entering disabled state
Jun 18 11:43:44 solo device vnet0 left promiscuous mode
Jun 18 11:43:44 solo br0: port 1(vnet0) entering disabled state
Jun 18 11:43:44 solo device vnet1 left promiscuous mode
Jun 18 11:43:44 solo br0: port 2(vnet1) entering disabled state
Jun 18 11:43:44 solo device vnet2 left promiscuous mode
Jun 18 11:43:44 solo br0: port 3(vnet2) entering disabled state
Jun 18 11:43:44 solo device vnet3 left promiscuous mode
Jun 18 11:43:44 solo br0: port 4(vnet3) entering disabled state
Jun 18 11:43:44 solo br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
Jun 18 11:43:44 solo device vnet0 entered promiscuous mode
... |
Here's the relevant network configuration file
| /etc/conf.d/net: | #
# Virtual network n°1
#
tuntap_vnet0="tap"
tapctl_vnet0="-u vinz"
config_vnet0="null"
tuntap_vnet1="tap"
tapctl_vnet1="-u vinz"
config_vnet1="null"
tuntap_vnet2="tap"
tapctl_vnet2="-u vinz"
config_vnet2="null"
tuntap_vnet3="tap"
tapctl_vnet3="-u vinz"
config_vnet3="null"
bridge_br0="vnet0 vnet1 vnet2 vnet3"
config_br0="192.168.124.2/24"
depend_br0()
{
need net.vnet0
need net.vnet1
need net.vnet2
need net.vnet3
} |
I also made sure there is a symlink net.vnet<n> for each virtual interface in /etc/init.d/. Any idea? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Last edited by VinzC on Fri Jul 04, 2008 7:22 am; edited 1 time in total |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Wed Jun 18, 2008 11:42 am Post subject: |
|
|
Are the network scripts running in a loop in the background?
Did you get this error before?
| Code: | | br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature. |
Otherwise I have no ideas right now, sorry. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
dreadnought n00b


Joined: 09 Jun 2004 Posts: 16 Location: Linz, Austria
|
Posted: Wed Jun 18, 2008 12:06 pm Post subject: |
|
|
| UberLord wrote: | Interesting. We should be skipping that dir. Could you edit /etc/init.d/localmount and put this on line 69.
| Code: | | echo "We are skipping ${no_umounts}" |
So we can see what it's skipping.
I'm suspecting a multilib error with lib64/lib here. |
Indeed, I'm testing this on a x86_64 platform:
| Code: | | localmount |We are skipping ^(/|/dev|/dev/.*|/lib64/rc/init.d|/|/dev|/dev/.*|/lib64/rc/init.d|/proc|/proc/.*|/sys|/sys/.*)$ |
I'm not quite sure where this RC_SVCDIR variable gets set, so I have no clue how to fix it.
However the problem does not occur on my x86_64 fileserver. Any hints?
If this is not a part of openrc I'd file a bug report.
By the way:
After migrating my router and fileserver I've encountered an issue related to mdraid shutdown:
| Code: | mdraid | * Shutting down RAID devices (mdadm) ...
mdraid |mdadm: fail to stop array /dev/md0: Device or resource busy
...
localmount | * Unmounting filesystems
localmount | * Unmounting /mnt/raid ... |
Hmm, actually I already forgot about the way this was done in baselayout-1.*, and I don't want to switch back again now, but shouldn't the order be reversed here? _________________ Time was invented to keep everything from happening at once.
Space was invented to keep everything from happening to you. |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4550 Location: Spa (Belgium)
|
Posted: Wed Jun 18, 2008 12:13 pm Post subject: |
|
|
| UberLord wrote: | Are the network scripts running in a loop in the background?
Did you get this error before?
| Code: | | br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature. |
Otherwise I have no ideas right now, sorry. |
No, I didn't get that before. But I was not using baselayout for networking, just a custom network script library that I wrote. What I can say is that when I do things manually it's ok -- provided I rm those net.vmnet<n> and net.br0 links. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Wed Jun 18, 2008 12:43 pm Post subject: |
|
|
| VinzC wrote: | | UberLord wrote: | Are the network scripts running in a loop in the background?
Did you get this error before?
| Code: | | br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature. |
Otherwise I have no ideas right now, sorry. |
No, I didn't get that before. But I was not using baselayout for networking, just a custom network script library that I wrote. What I can say is that when I do things manually it's ok -- provided I rm those net.vmnet<n> and net.br0 links. |
OK, care to post the scripts you were using? Or link them. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Wed Jun 18, 2008 12:49 pm Post subject: |
|
|
| dreadnought wrote: |
Indeed, I'm testing this on a x86_64 platform:
| Code: | | localmount |We are skipping ^(/|/dev|/dev/.*|/lib64/rc/init.d|/|/dev|/dev/.*|/lib64/rc/init.d|/proc|/proc/.*|/sys|/sys/.*)$ |
I'm not quite sure where this RC_SVCDIR variable gets set, so I have no clue how to fix it.
However the problem does not occur on my x86_64 fileserver. Any hints?
If this is not a part of openrc I'd file a bug report. |
You can file a bug report anyway - I read em
RC_SVCDIR is set by /sbin/rc and is hardcoded in the C binary.
Could you post the output of this?
| Code: | strings /sbin/rc | grep 'lib.*/init.d$'
ls -l / |
| Quote: | By the way:
After migrating my router and fileserver I've encountered an issue related to mdraid shutdown:
| Code: | mdraid | * Shutting down RAID devices (mdadm) ...
mdraid |mdadm: fail to stop array /dev/md0: Device or resource busy
...
localmount | * Unmounting filesystems
localmount | * Unmounting /mnt/raid ... |
Hmm, actually I already forgot about the way this was done in baselayout-1.*, and I don't want to switch back again now, but shouldn't the order be reversed here? |
Yes it should. Not sure why that happens, but it's not critical. I would file a but against mdadm for that. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
dreadnought n00b


Joined: 09 Jun 2004 Posts: 16 Location: Linz, Austria
|
Posted: Wed Jun 18, 2008 2:50 pm Post subject: |
|
|
| UberLord wrote: |
Could you post the output of this?
|
Oh my, it should have been so obvious: | Code: | lrwxrwxrwx 1 root root 5 Jan 7 05:17 lib -> lib64
drwxr-xr-x 3 root root 4096 May 8 23:11 lib32
drwxr-xr-x 9 root root 4096 Jun 18 11:41 lib64 |
client (does not work)
| Code: | drwxr-xr-x 9 root root 4096 2008-06-17 14:48 lib
drwxr-xr-x 3 root root 4096 2008-03-22 23:52 lib32
lrwxrwxrwx 1 root root 3 2004-11-13 14:50 lib64 -> lib |
As you can see the link on the client has been around since my first gentoo install (2004).
I wonder why this has never bitten me though.
Thanks for your help and sorry to bother you.
I will file a bug for mdadm, but I still need to test if the problem persists when setting rc_parallel to NO. _________________ Time was invented to keep everything from happening at once.
Space was invented to keep everything from happening to you. |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4550 Location: Spa (Belgium)
|
Posted: Wed Jun 18, 2008 3:31 pm Post subject: |
|
|
| VinzC wrote: | | No, I didn't get that before. But I was not using baselayout for networking, just a custom network script library that I wrote. What I can say is that when I do things manually it's ok -- provided I rm those net.vmnet<n> and net.br0 links. |
| UberLord wrote: | | OK, care to post the scripts you were using? Or link them. |
They're unfortunately too big to post here. May I tar and send them to you? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Wed Jun 18, 2008 3:54 pm Post subject: |
|
|
| VinzC wrote: | | VinzC wrote: | | No, I didn't get that before. But I was not using baselayout for networking, just a custom network script library that I wrote. What I can say is that when I do things manually it's ok -- provided I rm those net.vmnet<n> and net.br0 links. |
| UberLord wrote: | | OK, care to post the scripts you were using? Or link them. |
They're unfortunately too big to post here. May I tar and send them to you? |
Yes
roy@marples.name _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4550 Location: Spa (Belgium)
|
Posted: Wed Jun 18, 2008 9:01 pm Post subject: |
|
|
| UberLord wrote: | | roy@marples.name |
Scripts sent .
Also note there is one thing that I miss: Ctrl+C doesn't cancel an init script anymore. For instance, it happens sometimes that ntpd hangs forever (I use it to step the clock down instead of ntpdate) as lojng as there is no network. As a workaround I pressed Ctrl+C to cancel a script that hangs but this time it doesn't seem to work anymore... _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4550 Location: Spa (Belgium)
|
Posted: Wed Jun 18, 2008 9:33 pm Post subject: Cannot open the device /dev/VgSys/<lvname> |
|
|
Yet another issue on my Athlon64 x86_64 machine, same version of OpenRC (0.2.5):
| Code: | * Checking local filesystems
Reiserfs super block bla bla bla...
[...]
Checking internal tree..finished
/dev/sda1: clean, bla bla files, bla bla blocks
Failed to open the device '/dev/VgSys/Var': No such file or directory
Failed to open the device '/dev/VgSys/Temp': No such file or directory
Failed to open the device '/dev/VgSys/Home': No such file or directory
Failed to open the device '/dev/VgSys/Opt': No such file or directory
* Operational error [!!]
* Setting up the Logical Volume Manager
Locking type 1 initialization failed. [ok]
* Remounting filesystem read/write [ok] |
Strange that it checks for logical volumes *before* LVM starts ...
EDIT: Forgot to say that LVM yet works and all my logical volumes are mounted as expected. Just that error message during boot.
EDIT: Yet more strange as I also have LVM2 (same version) on another Gentoo machine (x86) and it doesn't happen, IIRC. OpenRC-0.2.5 too. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Thu Jun 19, 2008 8:26 am Post subject: |
|
|
| VinzC wrote: | | UberLord wrote: | | roy@marples.name |
Scripts sent .
Also note there is one thing that I miss: Ctrl+C doesn't cancel an init script anymore. For instance, it happens sometimes that ntpd hangs forever (I use it to step the clock down instead of ntpdate) as lojng as there is no network. As a workaround I pressed Ctrl+C to cancel a script that hangs but this time it doesn't seem to work anymore... |
I'll probably have to look at the scripts in two weeks as I'm away on holiday very soon.
As the the Ctrl+C - well, that happens with baselayout-1 also, so I'm guessing it's a sysvinit issue rather than an OpenRC issue.
To test, simply do this outside of an xterm
rc boot
rc default
Do a Ctrl+C whilst default is running and you'll see you can interrupt it. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Thu Jun 19, 2008 8:29 am Post subject: Re: Cannot open the device /dev/VgSys/<lvname> |
|
|
| VinzC wrote: | Yet another issue on my Athlon64 x86_64 machine, same version of OpenRC (0.2.5):
| Code: | * Checking local filesystems
Reiserfs super block bla bla bla...
[...]
Checking internal tree..finished
/dev/sda1: clean, bla bla files, bla bla blocks
Failed to open the device '/dev/VgSys/Var': No such file or directory
* Operational error [!!]
* Setting up the Logical Volume Manager
Locking type 1 initialization failed. [ok]
* Remounting filesystem read/write [ok] |
Strange that it checks for logical volumes *before* LVM starts ...
EDIT: Forgot to say that LVM yet works and all my logical volumes are mounted as expected. Just that error message during boot.
EDIT: Yet more strange as I also have LVM2 (same version) on another Gentoo machine (x86) and it doesn't happen, IIRC. OpenRC-0.2.5 too. |
One machine may not be configured to fsck then in /etc/fstab
Also, it's up to YOU to control the volume start order as there is no set way of ordering it.
Try putting this in /etc/conf.d/lvm
rc_before="fsck" _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5488 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Thu Jun 19, 2008 5:48 pm Post subject: |
|
|
| kernelOfTruth wrote: | | UberLord wrote: | | The compile error has been fixed in git. |
ok, will try it asap, thanks  |
works now with gcc-4.3* and -D_FORTIFY_SOURCE=2 , thanks
another compile "error": it doesn't compile with -combine (several files passed to the compiler at once), any plans to fix it ? or would there be just some minor gain ?
thanks in advance _________________ Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004  |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Thu Jun 19, 2008 11:13 pm Post subject: |
|
|
| kernelOfTruth wrote: | | kernelOfTruth wrote: | | UberLord wrote: | | The compile error has been fixed in git. |
ok, will try it asap, thanks  |
works now with gcc-4.3* and -D_FORTIFY_SOURCE=2 , thanks
another compile "error": it doesn't compile with -combine (several files passed to the compiler at once), any plans to fix it ? or would there be just some minor gain ? |
I was just using CFLAGS - trivial to use CPPFLAGS as well to solve this.
Fixed in git - enjoy  _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5488 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Fri Jun 20, 2008 11:28 am Post subject: |
|
|
| UberLord wrote: | | kernelOfTruth wrote: | | kernelOfTruth wrote: | | UberLord wrote: | | The compile error has been fixed in git. |
ok, will try it asap, thanks  |
works now with gcc-4.3* and -D_FORTIFY_SOURCE=2 , thanks
another compile "error": it doesn't compile with -combine (several files passed to the compiler at once), any plans to fix it ? or would there be just some minor gain ? |
I was just using CFLAGS - trivial to use CPPFLAGS as well to solve this.
Fixed in git - enjoy  |
amazing ! thanks  _________________ Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004  |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4550 Location: Spa (Belgium)
|
Posted: Fri Jun 20, 2008 12:37 pm Post subject: Re: Cannot open the device /dev/VgSys/<lvname> |
|
|
| UberLord wrote: | One machine may not be configured to fsck then in /etc/fstab
Also, it's up to YOU to control the volume start order as there is no set way of ordering it.
Try putting this in /etc/conf.d/lvm
rc_before="fsck" |
Ok, thanks; I'll double check -- I didn't realize such a responsibility relied upon my shoulders . _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6289 Location: Blighty
|
Posted: Fri Jun 20, 2008 12:53 pm Post subject: Re: Cannot open the device /dev/VgSys/<lvname> |
|
|
| VinzC wrote: | | UberLord wrote: | One machine may not be configured to fsck then in /etc/fstab
Also, it's up to YOU to control the volume start order as there is no set way of ordering it.
Try putting this in /etc/conf.d/lvm
rc_before="fsck" |
Ok, thanks; I'll double check -- I didn't realize such a responsibility relied upon my shoulders . |
Did you want lvm to work off encrypted partitions, or encrypted partitions inside your lvm?
Just an example of why the user has to decide some ordering themselves. _________________ When baselayout tells you to update config files or things break WE REALLY DO MEAN IT
Please add SOLVED to the thread title if your issue has been
Strip comments from configs please |
|
| Back to top |
|
 |
|