Another "Stateless" project for Fedora
by Krzysztof Kozlowski
Hello
I wish to introduce my own little "stateless" (actually
a kind of NFS-readonly-root) project :
http://acn.waw.pl/koziol/projekty/fedora_nfs_readonly_root/index.html
I wanted to do this completely from the scratch - to learn something :).
Maybe it will be interesting for you :).
The goal is to boot Fedora Core 3 by PXE and mount root from NFS
(readonly). I've prepared some scripts to create the "initrd.img" for
booting. They were designed to work on FreeBSD (which is a server in my
case), but I've tested them on Fedora Core 3.
Currently only those scripts are published (I think it's the most
difficult part) and documentation for initrd.img and the booting
process (*only in Polish*, sorry my English is awfull :) ). In the
future I will publish another part of scripts - how to prepare NFS
server for serving NFS-root...
Hope my work will be usefull for someone
Krzysztof Kozłowski
19 years, 2 months
rawhide report: 20050128 changes
by Build System
New package mcelog
Tool to translate x86-64 CPU Machine Check Exception data.
Updated Packages:
bash-3.0-26
-----------
* Fri Jan 28 2005 Tim Waugh <twaugh(a)redhat.com> 3.0-26
- Fixed job handling bug (bug #145124).
evolution-data-server-1.1.4.2-1
-------------------------------
* Thu Jan 27 2005 David Malcolm <dmalcolm(a)redhat.com> - 1.1.4.2-1
- Update from unstable 1.1.4.1 to unstable 1.1.1.4.2
gaim-1:1.1.2-2
--------------
* Fri Jan 28 2005 Florian La Roche <laroche(a)redhat.com>
- rebuild
* Thu Jan 20 2005 Warren Togami <wtogami(a)redhat.com> 1:1.1.2-1
- 1.1.2 with more bugfixes
* Tue Jan 18 2005 Chip Turner <cturner(a)redhat.com> 1:1.1.1-3
- rebuild for new perl
gdb-6.3.0.0-0.13
----------------
* Thu Jan 27 2005 Jeff Johnston <jjohnstn(a)redhat.com> 6.3.0.0-0.13
- Fix to allow ia64 gdb to backtrace from syscalls in a corefile.
- Bugzilla 145092.
gnome-icon-theme-2.9.90-1
-------------------------
* Thu Jan 27 2005 Matthias Clasen <mclasen(a)redhat.com> - 2.9.90-1
- Update to 2.9.90
- Update icon caches in %post
gnome-mag-0.11.13-1
-------------------
* Fri Jan 28 2005 Matthias Clasen <mclasen(a)redhat.com> 0.11.13-1
- Update to 0.11.13
gnome-mime-data-2.4.2-1
-----------------------
* Thu Jan 27 2005 Matthias Clasen <mclasen(a)redhat.com> - 2.4.2-1
- Update to 2.4.2
gnome-panel-2.8.1-9
-------------------
* Fri Jan 28 2005 Florian La Roche <laroche(a)redhat.com>
- rebuild
* Thu Jan 27 2005 Jeremy Katz <katzj(a)redhat.com> - 2.8.1-8
- really disable e-d-s support
gnopernicus-0.10.0-1
--------------------
* Fri Jan 28 2005 Matthias Clasen <mclasen(a)redhat.com> 0.10.0-1
- Update to 0.10.0
gnumeric-1:1.4.2-1
------------------
* Thu Jan 27 2005 Caolan McNamara <caolanm(a)redhat.com> 1.4.2-1
- bump to next version
gok-0.12.1-1
------------
* Fri Jan 28 2005 Matthias Clasen <mclasen(a)redhat.com> 0.12.1-1
- Update to 0.12.1
hal-0.4.7-2
-----------
* Thu Jan 27 2005 David Zeuthen <davidz(a)redhat.com> 0.4.7-2
- Add patch that should close #146316
hicolor-icon-theme-0.5-1
------------------------
* Thu Jan 27 2005 Matthias Clasen <mclasen(a)redhat.com> - 0.5-1
- Update to 0.5
kernel-2.6.10-1.1115_FC4
------------------------
* Thu Jan 27 2005 Dave Jones <davej(a)redhat.com>
- Drop VM hack that broke in yesterdays rebase.
* Wed Jan 26 2005 Dave Jones <davej(a)redhat.com>
- Drop 586-SMP kernels. These are a good candidate for
fedora-extras when it appears. The number of people
actually using this variant is likely to be very very small.
- 2.6.11-rc2-bk4
ldapjdk-0:4.17-1jpp_2fc
-----------------------
* Thu Jan 27 2005 Gary Benson <gbenson(a)redhat.com> 0:4.17-1jpp_2fc
- Remove non-distributable files from the source tarball.
* Fri Jan 21 2005 Gary Benson <gbenson(a)redhat.com> 0:4.17-1jpp_1fc
- Build into Fedora.
* Tue Nov 16 2004 Fernando Nasser <fnasser(a)redhat.com> 0:4.17-1jpp_1rh
- Merge with upstream for upgrade
libgnome-2.9.1-1
----------------
* Thu Jan 27 2005 Matthias Clasen <mclasen(a)redhat.com> - 2.9.1-1
- Update to 2.9.1
* Thu Nov 04 2004 Dan Walsh <dwalsh(a)redhat.com> - 2.8.0-3
- Stat gnome_user_private_dir before doing chmod, firefox gets
- blown up because of this in strict selinux policy.
* Mon Oct 18 2004 <jrb(a)redhat.com> - 2.8.0-2
- change default browser to firefox
libgnomeprint22-2.8.2-1
-----------------------
* Wed Jan 26 2005 Matthias Clasen <mclasen(a)redhat.com> - 2.8.2-1
- Update to 2.8.2
* Wed Nov 24 2004 Owen Taylor <otaylor(a)redhat.com> - 2.8.0-4
- Fix problem with Lain glyphs when subsetting some Asian fonts (#140010)
libgnomeprintui22-2.8.2-1
-------------------------
* Thu Jan 27 2005 Matthias Clasen <mclasen(a)redhat.com> - 2.8.2-1
- Update to 2.8.2
libgnomeui-2.9.1-1
------------------
* Thu Jan 27 2005 Matthias Clasen <mclasen(a)redhat.com> - 2.9.1-1
- Update to 2.9.1
- Drop upstreamed patches
libgtop2-2.9.90-1
-----------------
* Thu Jan 27 2005 Matthias Clasen <mclasen(a)redhat.com> - 2.9.90-1
- Updaet to 2.9.90
lvm2-cluster-2.00.29-1.22.FC4
-----------------------------
* Thu Jan 27 2005 Florian La Roche <laroche(a)redhat.com>
- rebuild against current libs
mutt-5:1.4.2.1-1
----------------
* Thu Jan 27 2005 Bill Nottingham <notting(a)redhat.com> 5:1.4.2.1-1
- update to 1.4.2.1 (#141007, <moritz(a)barsnick.net>)
- include a /etc/Muttrc.local for site config (#123109)
- add <f2> as a additional help key for terminals that use <f1> internally
(#139277)
ncurses-5.4-15
--------------
* Thu Jan 27 2005 Adrian Havill <havill(a)redhat.com> 5.4-15
- update to newest jumbo monthly patch + weeklies, fixing
new line cursor move problem (#140326)
* Thu Oct 21 2004 Adrian Havill <havill(a)redhat.com> 5.4-14
- escape rpm macros in the changelog (#135408)
pcmcia-cs-3.2.8-4.5
-------------------
* Thu Jan 27 2005 Dave Jones <davej(a)redhat.com>
- Update to upstream 3.2.8.
policycoreutils-1.21.5-1
------------------------
* Thu Jan 27 2005 Dan Walsh <dwalsh(a)redhat.com> 1.21.5-1
- Upgrade to latest from NSA
* Merged newrole -l support from Darrel Goeddel (TCS).
- Fix genhomedircon STARTING_UID
* Wed Jan 26 2005 Dan Walsh <dwalsh(a)redhat.com> 1.21.4-1
- Upgrade to latest from NSA
* Merged fixfiles patch for file_contexts.local from Dan Walsh.
puretls-0.9-0.b4.1jpp_2fc
-------------------------
* Wed Jan 26 2005 Florian La Roche <laroche(a)redhat.com> 0.9-0.b4.1jpp_2fc
- Remove additional "/" from perl path.
rpmdb-fedora-1:4-0.20050128
---------------------------
selinux-policy-strict-1.21.4-2
------------------------------
* Thu Jan 27 2005 Dan Walsh <dwalsh(a)redhat.com> 1.21.4-2
- Fix handling of local.users file
* Thu Jan 27 2005 Dan Walsh <dwalsh(a)redhat.com> 1.21.4-1
- Update from NSA
* Changed policy Makefile to still generate policy.18 as well,
and use it for make load if the kernel doesn't support 19.
* Merged enhanced MLS support from Darrel Goeddel (TCS).
selinux-policy-targeted-1.21.4-2
--------------------------------
* Thu Jan 27 2005 Dan Walsh <dwalsh(a)redhat.com> 1.21.4-2
- Fix handling of local.users file
* Thu Jan 27 2005 Dan Walsh <dwalsh(a)redhat.com> 1.21.4-1
- Update from NSA
* Changed policy Makefile to still generate policy.18 as well,
and use it for make load if the kernel doesn't support 19.
* Merged enhanced MLS support from Darrel Goeddel (TCS).
squirrelmail-1.4.4-1
--------------------
* Thu Jan 27 2005 Warren Togami <wtogami(a)redhat.com> 1.4.4-1
- 1.4.4
startup-notification-0.8-1
--------------------------
* Thu Jan 27 2005 Matthias Clasen <mclasen(a)redhat.com> 0.8-1
- Update to 0.8
usermode-1.78-1
---------------
* Thu Jan 27 2005 Jindrich Novy <jnovy(a)redhat.com> 1.78-1
- pam-panel-icon has popup menu to choose to forget/keep
authentization by right clicking as usual for other panel applets (#75845)
- fix race condition (#142254)
vino-2.9.2-1
------------
* Thu Jan 27 2005 Matthias Clasen <mclasen(a)redhat.com> 2.9.2-1
- Update to 2.9.2
xfce-utils-4.2.0-1
------------------
* Thu Jan 27 2005 Than Ngo <than(a)redhat.com> 4.2.0-1
- 4.2.0
xfdesktop-4.2.0-1
-----------------
* Thu Jan 27 2005 Than Ngo <than(a)redhat.com> 4.2.0-1
- 4.2.0
xfwm4-4.2.0-1
-------------
* Thu Jan 27 2005 Than Ngo <than(a)redhat.com> 4.2.0-1
- 4.2.0
* Mon Jul 19 2004 Than Ngo <than(a)redhat.com> 4.0.6-1
- update to 4.0.6
- use %find_lang macros
* Tue Jun 15 2004 Elliot Lee <sopwith(a)redhat.com>
- rebuilt
xorg-x11-6.8.1.902-7
--------------------
* Thu Jan 27 2005 Mike A. Harris <mharris(a)redhat.com> 6.8.1.902-7
- Renamed build_maintainer macro to build_mharris as it is actually a personal
macro and there are actually several developers maintaining the rpm for
quite some time now. In case anyone is curious, I use it to tweak the spec
file on occasion to build on a customized OS install that does not quite
match any of our supported OS configurations. ;o)
- Added a %check section to the spec file, to put post build/install sanity
checks in place.
- Added new post-build sanity check "with_undef_sym_test", did a local test
build to confirm it works correctly, fixed a few things, then disabled it
by default because Xorg needs a lot of love in order for this to be default.
* Wed Jan 26 2005 Mike A. Harris <mharris(a)redhat.com> 6.8.1.902-6
- Added xorg-x11-6.8.1.902-lnxLib-tmpl-sharedlibreq-fixes.patch to fix
many missing library dependancies in lnxLib.tmpl, detected by examining
the build log of a "with_bail_on_undef_syms" build.
- Disabled with_bail_on_undef_syms, after determining that there is a bit of
work that needs to be done upstream first in order for us to expect X to
fully build with these linker options.
* Mon Jan 24 2005 Mike A. Harris <mharris(a)redhat.com> 6.8.1.902-5
- Removed dead unused i810 update patch.
- Enabled with_bail_on_undef_syms, to do a test build.
19 years, 2 months
Help correct Fedora s390 running under VM
by Sysadmin cokzl
I am run (Fedora Core release Rawhide (Rawhide)Kernel 2.6.10-1.1103_FC4 on
an s390)
from vm/esa on s390, and i am see on console:
****************************************************************************
***********
Booting default (linux)...
Linux version 2.6.10-1.1103_FC4 (bhcompile(a)spade.z900.redhat.com) (gcc
version
.4.3 20050113 (Red Hat 3.4.3-15)) #1 SMP Wed Jan 19 20:40:50 EST 2005
We are running under VM (31 bit mode)
This machine has no IEEE fpu
Built 1 zonelists
Kernel command line: root=LABEL=/1 BOOT_IMAGE=0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 124544k/131072k available (1874k kernel code, 0k reserved, 605k
data, 1
8k init)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Detected 1 CPU's
Boot cpu address 0
cpu 0 phys_idx=0 vers=FF ident=100003 machine=9672 unused=0000
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 899k freed
debug: Initialization complete
NET: Registered protocol family 16
****************************************************************************
***************
and here cycling
i am do command vm/esa:
trace all
and i see:
TRACE ALL
HCPTRI1027I An active trace set has turned RUN off.
B
-> 001D196E' SLR 1F33 CC 2
B
001D1970' CS BA342000 002E8454 CC 1
B
001D1974' ???? A744FFFB 0057AD33 CC 1
B
-> 001D196A' DIAG 83000044 00000044 CC 1
B
001D196E' SLR 1F33 CC 2
B
001D1970' CS BA342000 002E8454 CC 1
B
001D1974' ???? A744FFFB 0057AD33 CC 1
B
-> 001D196A' DIAG 83000044 00000044 CC 1
B
001D196E' SLR 1F33 CC 2
B
001D1970' CS BA342000 002E8454 CC 1
B
001D1974' ???? A744FFFB 0057AD33 CC 1
B
-> 001D196A' DIAG 83000044 00000044 CC 1
B
001D196E' SLR 1F33 CC 2
B
001D1970' CS BA342000 002E8454 CC 1
B
001D1974' ???? A744FFFB 0057AD33 CC 1
i am do command vm/esa:
STORE 001D1974 A7440002:
and i see:
CP ST 001D1974 A7440002
Store complete.
cio: Was not able to determine available CHSCs, cc=2.
chsc_get_sch_descriptions: Error -22 while doing chsc; processing some
machine c
hecks may not work
appldata info: mem-ops registered]
appldata info: os-ops registered]
appldata info: net_sum-ops registered]
audit: initializing netlink socket (disabled)
audit(1106763062.926:0): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key A151D8E9D3A0BB
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
Channel measurement facility using basic format (autodetected)
cpi: no system name specified
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 108k freed
Red Hat nash version 4.2.0.1 starting
Mounted /proc filesystem ........................................
and so on
and i see:
Fedora Core release Rawhide (Rawhide)
Kernel 2.6.10-1.1103_FC4 on an s390
cokzlb login:
HELP correct; improve; reform; repair BUG
19 years, 2 months
rawhide report: 20050126 changes
by Build System
New package cryptix
Java crypto package
New package cryptix-asn1
Cryptix ASN1 implementation
New package gnu.getopt
Java getopt implementation
New package jakarta-commons-beanutils
Jakarta Commons BeanUtils Package
New package jakarta-commons-collections
Jakarta Commons Collections Package
New package jakarta-commons-daemon
Jakarta Commons Daemon Package
New package jakarta-commons-dbcp
Jakarta Commons DataBase Pooling Package
New package jakarta-commons-digester
Jakarta Commons Digester Package
New package jakarta-commons-el
The Jakarta Commons Extension Language
New package jakarta-commons-fileupload
Jakarta Commons Fileupload Package
New package jakarta-commons-lang
Jakarta Commons Lang Package
New package jakarta-commons-launcher
The Launcher Component is designed to be a cross platform Java application launcher.
New package jakarta-commons-pool
Jakarta Commons Pool Package
New package jakarta-commons-validator
Jakarta Commons Validator
New package jakarta-taglibs-standard
An open-source implementation of the JSP Standard Tag Library
New package ldapjdk
The Mozilla LDAP Java SDK
New package puretls
Java implementation of SSLv3 and TLSv1
New package struts11
Web application framework
Updated Packages:
NetworkManager-0.3.3-1.cvs20050125.3.1
--------------------------------------
* Tue Jan 25 2005 Dan Williams <dcbw(a)redhat.com> 0.3.3-1.cvs20050125
- Play nice with dbus 0.23
- Update our list of Allowed Wireless Networks more quickly
anaconda-10.2.0.13-1
--------------------
* Tue Jan 25 2005 Peter Jones <pjones(a)redhat.com> - 10.2.0.13-1
- Hopefully fix LVM size bug (#145183)
- Support multiple iso sets in the same directory (#146053)
at-3.1.8-64
-----------
* Tue Jan 25 2005 Jason Vas Dias <jvdias(a)redhat.com> 3.1.8-64
- bugs 5160/146132: add PAM authentication control to atd
* Tue Oct 05 2004 Jason Vas Dias <jvdias(a)redhat.com> 3.1.8-60
- fix bug 131510: no_export env. var. blacklisting should not
- remove 'SHELL' when only 'SHELLOPTS' is blacklisted.
- at(1) man-page should not say 'commands are run with /bin/sh'
- and should explain usage of SHELL environement variable and
- details of blacklisted variables.
* Tue Sep 28 2004 Rik van Riel <riel(a)redhat.com> 3.1.8-58
- fix typo in man page, bug 112303
- (regenerated at-3.1.8-man-timespec-path.patch with fix)
desktop-printing-0.18-2
-----------------------
* Tue Jan 25 2005 Dan Williams <dcbw(a)redhat.com> 0.18-2
- Rebuild for dbus 0.23
dictd-1.9.7-5
-------------
* Tue Jan 25 2005 Karsten Hopp <karsten(a)redhat.de> 1.9.7-5
- don't install config file, leave it to the dictionary packages to
populate it. (#135920)
dmraid-1.0.0.rc5f-3
-------------------
* Fri Jan 21 2005 Alasdair Kergon <agk(a)redhat.com> 1.0.0.rc5f-2
- Rebuild to pick up new libdevmapper.
* Fri Nov 26 2004 Heinz Mauelshagen <heinzm(a)redhat.com> 1.0.0.rc5f
- specfile cleanup
eclipse-1:3.0.1_fc-8
--------------------
* Tue Jan 25 2005 Andrew Overholt <overholt(a)redhat.com> 1:3.0.1_fc-8
- add eclipse.db to libswt3-gtk2 files list
* Tue Jan 25 2005 Andrew Overholt <overholt(a)redhat.com> 1:3.0.1_fc-7
- add missing jar-so combinations to lists
- add libswt3-gtk2 jar-so combinations
- use native ecj instead of interpreted
gcc-3.4.3-17
------------
* Tue Jan 25 2005 Jakub Jelinek <jakub(a)redhat.com> 3.4.3-17
- update from gcc-3_4-branch
- PRs c++/19258, c++/19375, libstdc++/19510, other/16403,
rtl-optimization/19296, target/16304, target/19548
- fix PR rtl-optimization/19579
- remove Java *.a libraries, issue error for gcj -static (#145829)
gcc4-4.0.0-0.22
---------------
* Tue Jan 25 2005 Jakub Jelinek <jakub(a)redhat.com> 4.0.0-0.22
- update from trunk
- fix PR rtl-optimization/19579
- remove Java *.a libraries, issue error for gcj -static (#145829)
gdm-1:2.6.0.5-11
----------------
* Tue Jan 25 2005 Ray Strode <rstrode(a)redhat.com> 1:2.6.0.5-11
- Fix bug in greeter sort-session-list patch where selecting
a session did nothing (bug 145626)
isdn4k-utils-3.2-22
-------------------
* Tue Jan 25 2005 Than Ngo <than(a)redhat.com> 3.2-22
- fix the bug in isdn startup script, #146057
kernel-2.6.10-1.1110_FC4
------------------------
* Tue Jan 25 2005 Dave Jones <davej(a)redhat.com>
- 2.6.11-rc2-bk3
pciutils-2.1.99.test8-6
-----------------------
* Tue Jan 25 2005 Bill Nottingham <notting(a)redhat.com> - 2.1.99.test8-6
- remove explicit kernel dep (#146153)
pygtk2-2.5.3-1
--------------
* Tue Jan 25 2005 Jeremy Katz <katzj(a)redhat.com> - 2.5.3-1
- 2.5.3
rhpl-0.153-1
------------
* Tue Jan 25 2005 Peter Jones <pjones(a)redhat.com> - 0.153-1
- add Russian unicode keyboard (#146009)
- revert glibc-kernheaders fix.
rpmdb-fedora-1:4-0.20050126
---------------------------
ruby-1.8.2-4
------------
* Tue Jan 25 2005 Akira TAGOH <tagoh(a)redhat.com> - 1.8.2-4
- fixed the wrong generation of file manifest. (#146055)
- spec file clean up.
selinux-policy-strict-1.21.3-3
------------------------------
* Tue Jan 25 2005 Dan Walsh <dwalsh(a)redhat.com> 1.21.3-3
- Fix crond to run in unconfined_domain on targeted policy
- Eliminate execmod from gpg
selinux-policy-targeted-1.21.3-3
--------------------------------
* Tue Jan 25 2005 Dan Walsh <dwalsh(a)redhat.com> 1.21.3-3
- Fix crond to run in unconfined_domain on targeted policy
- Eliminate execmod from gpg
squid-7:2.5.STABLE7-3
---------------------
* Tue Jan 25 2005 Jay Fenlason <fenlason(a)redhat.com> 7:2.5.STABLE7-3
- Include more upstream patches, including two for security holes.
tn5250-0.16.5-3
---------------
* Tue Jan 25 2005 Karsten Hopp <karsten(a)redhat.de> 0.16.5-3
- add BuildRequires ncurses-devel (#137558)
vixie-cron-1:4.1-22
-------------------
* Tue Jan 25 2005 Jason Vas Dias <jvdias(a)redhat.com> - 4.1-22
- Fix bug 146073 - allow the 'pam_access' module to be used with
- cron - set 'PAM_TTY' item to 'cron' .
xfce-mcs-plugins-4.2.0-1
------------------------
* Mon Jan 24 2005 Than Ngo <than(a)redhat.com> 4.2.0-1
- 4.2.0
xfce4-panel-4.2.0-1
-------------------
* Tue Jan 25 2005 Than Ngo <than(a)redhat.com> 4.2.0-1
- 4.2.0
* Wed Dec 08 2004 Than Ngo <than(a)redhat.com> 4.0.6-2
- add patch to use lauchmail/htmlview #142160
yum-2.1.13-1
------------
* Tue Jan 25 2005 Jeremy Katz <katzj(a)redhat.com> - 2.1.13-1
- update to 2.1.13
19 years, 2 months
DBUS features
by Trever L. Adams
My examples are going to be somewhat bad, but please see through them
for the reasoning and the necessity of these features.
1) We need a way to know if someone, using DBUS, is logged in either in
a
terminal or an X session.
Think of a situation where you have a piece of software that needs to do
tasks from time to time (changing of runlevels is likely).
You want to automate this, or at least be able to tell the machine to do
it. However, this process should wait (or the shell script that does all
the running) until no one is logged in. Yes, yes, who and w might
provide that, but I find this a cleaner solution.
2) We need a way to know if some critical process, such as up2date, is
being run at shutdown and allow the app, as long as it response every X
amount of time (2 minutes or so) to continue to run.
Think of a network environment and someone is doing an up2date via cron
or ssh. Someone finishes using the computer and turns it off. This
should pause, in a test or graphical shut down, showing a list of such
processes. It should not execute any shut down sequences until this list
is empty, or they programs all cease to respond.
These processes should notify DBUS, that they need to complete and that
they have completed, and have an event handler to respond to DBUS.
I have a few ideas about the VNC features as well, but those will come
later.
What do you all think? Is this possible (I am fairly sure it is)? Is it
a good thing... I think so?
Trever Adams
P.S. In the thread where I used HAL in the place of DBUS, someone
pointed out #1 is probably fairly simple, and the tone made it sound
that it may not be a good idea in FC, this is fine if it is the case,
but the functionality and core pieces for #2 should still be looked at.
--
"Walking on water and developing software to specification are easy as
long as both are frozen." --Edward V. Berard
19 years, 2 months
Stateless Linux - Status Check
by Erik Williamson
Hi All,
I was looking to evaluate Stateless Linux. Searching the archives of
this list didn't turn up anything, and Google really only came up with
the announcements in September. I see that the rpms
(http://people.redhat.com/dmalcolm/stateless/) haven't been updated in a
while, nor are they in the development tree - Is there still work being
done on this, has it changed names, etc?
Thanks,
Erik.
--
e r i k w i l l i a m s o n erik(a)cpsc.ucalgary.ca
system admin . department of computer science . university of calgary
19 years, 2 months
Fedora and Xen: A Quick Start Guide
by Jeremy Katz
As some people have noticed, Xen is now available from the Fedora
development repository. More information on Xen itself can be found at
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html. We're
following the -unstable Xen tree at the moment which does occasionally
lead to things being broken but also lets us track a lot of the more
interesting work going on there. Since setting up to run Xen isn't
entirely straight-forward, here's a run-through of what should work for
setting up a single Xen guest running the Fedora development tree.
To run xen on a system pulling strictly from the Fedora devel
repository, all of your deps should get satisfied automatically. But,
they are explicitly
* mkinitrd 4.2.0
* python 2.4
* python-twisted
* Using grub as your boot loader [1]
* Probably something on the order of 256 MB of RAM with the default
setup [2]
Then, you should be able to install the xen and kernel-xen0 packages.
Once this is done, you should have an entry set up in your grub.conf to
boot the xen0 kernel. Now, reboot into your new xen0 kernel [3]
Once you've rebooted, you should be running in the dom0 kernel. You'll
see a slightly scary looking warning about TLS during bootup and how to
disable it, but it shouldn't make things too bad. Then, if you start
xend with 'service xend start', you should be able to run 'xm list' and
see your domain running. Now, we want to set up a simple base Fedora
system. First, you'll want to install the kernel-xenU package
(unfortunately, the kernel for your guest domain must currently be kept
outside of the guest itself).
Next, let's create a file to use as the backing for our Fedora install.
For example purposes, I'll create one of a size of 1 GB.
dd if=/dev/zero of=/root/fedora.img bs=1M count=1024
Now, create an ext3 filesystem on this image.
mke2fs -F -j /root/fedora.img
You should now be able to mount your new temporary rootfs on a temporary
mountpoint, say /mnt
mount -o loop /root/fedora.img /mnt
Now, we can install whatever basesystem we want into this chroot. Make
sure that your yum configuration points to a valid repository. Then,
decide what group(s) you want to install. I'd recommend starting with
Base (or for the space constrained, Core, but this is more difficult).
Then, run
yum --installroot=/mnt -y groupinstall Base
Now, go get some coffee and have a snack. It's going to take a little
while :-)
Come back and if everything went okay, you'll have a minimal install
in /mnt. Now, for the ugly part, we need to set up some basic bits on
the filesystem that have to be different for xen right now. These
include a) creating some required device nodes in /dev
since we're not using an initrd and b) setting up an /etc/fstab
for i in console null zero ; do MAKEDEV -d /mnt -x $i ; done
For the /etc/fstab, something simple like the following should work
/dev/sda1 / ext3 defaults
1 1
none /dev/pts devpts gid=5,mode=620
0 0
none /dev/shm tmpfs defaults
0 0
none /proc proc defaults
0 0
none /sys sysfs defaults
0 0
Do any other configuration you want to on the filesystem and then
unmount it [4]
umount /mnt{/proc,}
Now, we just have to create a config file and you should be good to go.
I go for a very simple config file like the following which
is /etc/xen/rawhide on my machine [5]
kernel ="/boot/vmlinuz-2.6.10-1.1103_FC4xenU"
memory = 64
name = "rawhide"
nics = 1
disk = ['file:/root/fedora.img,sda1,w']
root = "/dev/sda1 ro"
Now, create a new domain with 'xm create -c rawhide' and off it goes. At
the end, you should see the login prompt at which point you can login as
root and begin playing around some.
This is pretty early and rough, but it's enough to starting playing
with. The next step (for me :) is getting to where you can do actual
installs in a Xen guest environment and then being able to boot kernels
which are on the guest's filesystem.
Jeremy
[1] This is required because you actually boot the Xen hypervisor and it
then starts the Linux kernel. It does this using the MultiBoot standard
[2] You can conceivably get by with less, but you'll have to reduce the
dom0_memory line in /boot/grub/grub.conf. The 130000 for dom0 is
currently hard-coded by mkinitrd (will get fixed before too long) and
can go a little lower. Also, the Xen hypervisor ends up requiring ~ 32
MB. Plus any memory for your unprivileged guests.
[3] Note, you may need to disable rhgb and switch to using runlevel 3.
There are conflicting reports about X working; I haven't tried
[4] And /proc under it, since /proc has to get mounted for a lot of
things to get done right. But yum figures that out
[5] Substitute /boot/vmlinuz-2.6.10-1.1090_FC4xenU with the xenU kernel
you installed. Additionally, the device sda1 listed here as the disk is
related to the /etc/fstab you created above
19 years, 2 months
HAL features needed
by Trever L. Adams
My examples are going to be somewhat bad, but please see through them
for the reasoning and the necessity of these features.
1) We need a way to know if someone, using HAL, is logged in either in a
terminal or an X session.
Think of a situation where you have a piece of software that needs to do
tasks from time to time (changing of runlevels is likely).
You want to automate this, or at least be able to tell the machine to do
it. However, this process should wait (or the shell script that does all
the running) until no one is logged in. Yes, yes, who and w might
provide that, but I find this a cleaner solution.
2) We need a way to know if some critical process, such as up2date, is
being run at shutdown and allow the app, as long as it response every X
amount of time (2 minutes or so) to continue to run.
Think of a network environment and someone is doing an up2date via cron
or ssh. Someone finishes using the computer and turns it off. This
should pause, in a test or graphical shut down, showing a list of such
processes. It should not execute any shut down sequences until this list
is empty, or they programs all cease to respond.
These processes should notify HAL, that they need to complete and that
they have completed, and have an event handler to respond to HAL.
I have a few ideas about the VNC features as well, but those will come
later.
What do you all think? Is this possible (I am fairly sure it is)? Is it
a good thing... I think so?
Trever Adams
--
"...very few phenomena can pull someone out of Deep Hack Mode, with two
noted exceptions: being struck by lightning, or worse, your *computer*
being struck by lightning." -- Matt Welsh
19 years, 2 months
Re: redhat abe
by Arjan van de Ven
On Thu, Jan 27, 2005 at 10:31:49AM +0100, Christian Fredrik Kalager Schaller wrote:
> On Thu, 2005-01-27 at 10:06 +0100, Arjan van de Ven wrote:
> > On Thu, 2005-01-27 at 09:28 +0100, Christof Damian wrote:
> > > I just read about Red Hat ABE (Application Build Environment) which
> > > seems to be something similar to mach.
> >
> > the goals are very similar to mach, but mach uses apt which made it not
> > suitable as basis for the ABE
>
> I hope that was not the real reason for doing ABE instead of using mach,
> as changing mach to use yum would probably be trivial. Sometimes I feel
RHEL does not use yum either, so yum was not an option either.
19 years, 2 months