Linux Containers - setup script?
by Philip Rhoades
People,
I would like to set up lxc on Fedora 14 x86_64 for sandboxing and the
closest thing I can find to a simple setup script is this:
http://blog.kagesenshi.org/2010/03/howto-linux-container-lxc-on-fedora-12...
which had a few bugs in it but after fixing them I still couldn't create
a container (I posted a comment to the author on his blog).
Does anyone know of some Fedora specific docs to get a minimal container
going with a minimal amount of hand editing of configuration files etc?
Thanks,
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil(a)pricom.com.au
13 years, 1 month
fc8 upgrade
by Jorgen Lundman
Hello list,
Senior unix admin, but relatively fresh Linux admin. I run a fc8 box only for
cross-compiling, as so many toolchains come pre-compiled for it.
However, today I found the need to finally upgrade. This is an account of what I
went through, and not just meant as a bitch session.
I do not care about the OS, but it would be easier if all my toolchain installs
and home directory contents remained.
I have a tiny /boot and the rest on a lv / system, setup by a colleague. This
all runs on xen, but that is not really part of this email.
First I tried to use preupgrade, and I went through all the yum tasks to ensure
I have the latest version of it and so on.
Then I ran preupgrade, I went straight for fc14. I was told that my /boot was
too small. Of course it is! Still, it did say something about downloading it
after reboot. Plus one for fc there.
Rebooting and it gives some obscure error about not finding previous system. Eh?
Googling and crap, I finally find out how to get at the anaconda logs (it could
have been mentioned by anaconda i think, instead of just 'error, click here to
reboot')
In the end it said something about fc8 can not be upgraded. I still do not
really know why, but google suggests I can not skip versions, I need to go to 9
first. preupgraded only lists 10 to 14. I try 10 anyway.
No difference at all. Bugger.
Right, so I download the fc14 ISO and try to do a install over the old OS,
hoping to keep data. The installer does have an option to keep things, the
second to last option, before custom.
It just notifies me that there are no places to install to, sorry.
I use custom, which at least gives me some clues. Apparently I can not install
to a ext3 filesystem. This seems a really bad decision by someone. Essentially,
it is just untaring files on an existing fs. To force a certain version seems
really backwards.
I google for how to convert ext3 to ext4, and go through that. 2 hours later I
am ready to try again.
I return back to the installer, the 4th option still does not work, so i go
through custom. I manage to convince it to use my / and /boot. It installs, I
reboot. No warnings about losing data, so I feel confident here.
Upon reboot it has no settings for network, ssh etc. So I go through the GUI to
set network (I guess I am supposed to use GUI, even though I prefer to reach for
ifconfig).
I look for a way to start SSH, and there do not appear to be any. Google said to
use Administration/Services. But that does not exists. Huh, I actually have to
start a shell to run /sbin/services sshd start. Minus one there.
Only to find that port 22 does not answer. I go through the usual checks to make
sure it is running, and connects locally. I start the firewall GUI to confirm
that port 22 is open, I even try without firewall. Still, no connection.
How strange. there is a cryptic message about iptables? I don't have services so
I can not check using the GUI, so again I am forced to use shell to disable it.
Finally I can login. minus one again.
Only to find everything has been wiped. Boo.
It was a major hassle for me, I feel sorry for fresh people trying fc14 for the
first time. I feel there is room to make some improvements.
Anyway, I will zfs rollback to my fc8 and install something else.
good luck,
--
Jorgen Lundman | <lundman(a)lundman.net>
Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell)
Japan | +81 (0)3 -3375-1767 (home)
13 years, 1 month
[Fwd: Re: FC15 and GNOME3]
by Aaron Konstam
-------- Forwarded Message --------
From: Aaron Konstam <akonstam(a)sbcglobal.net>
To: users(a)lists.fedoraproject.org
Subject: Re: FC15 and GNOME3
Date: Tue, 01 Mar 2011 09:35:46 -0600
On Tue, 2011-03-01 at 08:21 +0530, Rahul Sundaram wrote:
> On 02/28/2011 11:34 PM, James McKenzie wrote:
> >
> > Agreed. If I want lid close, suspend, let me select it. If I don't,
> > let me select it.
>
> It is configurable via dconf.
>
> Rahul
>I admit I don't know what dconf is. Running it causes a core dump on my
>machine; and there is no : man dconf
>However, what happens when the lid is closed can be configured in GNOME
>through the power management icon in the right side of the upper
>panel.
OK, I blew it. I did not see FC15 in the subject. For I know dconf works
well in FC15. I was reporting my FC14 experience.
--
=======================================================================
Lying is an indispensable part of making life tolerable. -- Bergan Evans
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam(a)sbcglobal.net
13 years, 1 month
internet apps don't connect in FC14
by Jim Philips
I installed FC14 today on my laptop. I can connect to the Internet and
download software. I can also ping sites out on the Internet from the
command line. However, the browser refuses to load any pages and
Evolution won't connect to a mail server. I tried turning off the firewall
altogether and this made no difference. Any ideas on what the issue could
be?
13 years, 1 month
Fedora 14 - can't change pointer theme
by Neil Bird
I updated from Fedora 12 to Fedora 14 over the weekend, and now I can't
change my pointer theme. I'm stuck using dmz-aa.
The pointer preferences still show my custom pointer choice, it's just
not being used. Well, mostly. Within Firefox and Thunderbird windows, my
custom pointer is showing up. But window borders, the desktop and most apps
only show the dmz-aa pointer.
I can't find a ref. to dmx under ~/.gconf (but I can find my custom
pointer selection: /desktop/gnome/peripherals/mouse/cursor_theme I think).
Any ideas where to look? I've seen mention of this elsewhere, but only
WRT compiz (I use openbox), and it involved changing the system default,
which I don't want to have to do.
--
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit
13 years, 1 month
random crashes
by Andras Simon
My desktop machine started having random crashes last summer when
I installed Fedora 13 (x86_64) on it. Now I upgraded to Fedora
14, and this has only got worse: before, uptimes could be
anything between 3 minutes and a month, now it's a few hours
at most.
I never found anything interesting in the logs.
When running without X, during a crash I saw a message on the
console mentioning mcelog, so I installed and used it as a
daemon, and also via
/sys/devices/system/machinecheck/machinecheck0/trigger as
described here: http://www.kernel.org/pub/linux/utils/cpu/mce/README
But it didn't report anything.
I checked temperatures with sensors: nothing. Ran memtest86+ for
hours: the same.
Is there something else that I should check?
Andras
13 years, 1 month
Can not open Desktop effects on FC14
by Yunchi Wang
Hello everyone. After I installed the updates last night, I can not open
Desktop Effects. Exactly when I choose System->Preferences->Desktop Effects,
there is no window came out. Prior to this, everything is OK. I have
installed graphics driver. My notebook is Acer 4741G. Thanks!
--
a green hand of opensource and linux
13 years, 1 month
k3b dvd burn problems with growisofs
by Brian Millett
My system:
fedora 14, dell e6500, TSSTcorp DVD +-RW TS-U633F
With the default k3b that now uses growisofs to burn a dvd, it fails at
49% every time.
Downloaded the k3b-2.0.2-2.fc14.src.rpm, disabled the patch51 which
changes wodim to growisofs, recompiled and now I can burn a DVD iso
image.
--
Brian Millett - [ Garibaldi (re: spacing), "Revelations"]
"They put you in an airlock, seal it, and then open the space door. You
spend the next five minutes chewing vacuum until your lungs turn
inside-out, your eyeballs freeze, and your heart explodes. It's the
worst kind of death you can imagine. And when that day comes, I'll be
there to push the button."
13 years, 1 month