Supported versions
Hunter Matthews <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <1016567567.1146.55.camel@kea> |
Let me be more specific here -
I run Current for my department on 7.1, so that is definately
supported. I server older clients (6.2, 7.1, 7.2) and have reports of
many people successfully serving 6.2,7.1,7.2 and rawhide.
So 7.1 and 7.2 servers are definately supported, and clients as old as
6.2 (with the errata'd up2date and rhn_register) are supported.
Red Hat has _just_ announced up2date and rhn_register bug fixes, taking
up2date to 2.7.42 or something. I haven't tested those yet, but they
should work for people.
Several people have asked about an anonymous registration mode or
command. I really don't want to write one (I hate patching clients), but
this works pretty well for me:
rhnreg_ks --force --username=x --password=x --email=x --nopackages
--nohardware
rhnreg_ks is a command line tool used during kickstarts by some people.
the username, password and email parts are required by the client (so I
just specify "x" for all of them) and the nopackages and nohardware
parts tell the client not to bother sending that part of the
registeration information (because for anon clients, it'll get dropped
on the floor anyway).
On Tue, 2002-03-19 at 13:42, Hunter Matthews wrote:
> Yeah, I hate to say it, but Current 1.0.x probably requires at LEAST a
> 7.1 machine to run on. That includes the rpm errata from Red Hat.
>
> If someone can show a broken 7.1 but working 7.2 based Current, I'll try
> and fix it / work around it.
>
> But I'm afraid 6.2 and probably 7.0 are just right out.
>
>
> On Tue, 2002-03-19 at 13:09, John Berninger wrote:
> > Current running as a server on a 6.2 platform is not at all supported,
> > and is not likely to work. This is due to the RPM libraries, Python
> > libraries, and BSDDb libraries; we developed for a server platform of
> > Red Hat Linux 7.2, and even 7.1 has some issues which could cause
> > Current to run afoul of tracebacks.
> >
> > On Tue, 19 Mar 2002, [email protected] wrote:
> >
> > > I came across current last week, happily set up on RedHat 7.2 for my own
> > > munged distribution. Worked perfectly :)
> > >
> > > Another week and another job later ...
> > >
> > > Have downloaded current on a RedHat 6.2 box + updates which is the
> > > distro for my new employers.
> > >
> > > Set up current as before, cadmin happy generating databases.
> > >
> > > However when I initialise current it dies. I think it is a db issue, or
> > > maybe it just doesn't work on RedHat 6.2 as the server ...
> > >
> > > I'm thinking maybe rebuild python from src.rpm against the libc and db3
> > > libraries but it seems dynamically linked, any ideas. Lots of data
> > > follows...
> > >
> > > [root@fred lib-dynload]# ldd bsddbmodule.so
> > > libdb.so.3 => /lib/libdb.so.3 (0x40009000)
> > > libdb.so.2 => /lib/libdb.so.2 (0x40043000)
> > > libc.so.6 => /lib/libc.so.6 (0x40051000)
> > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> > >
> > >
> > > I added an extra logException() line in to locate what was going on:
> > >
> > > Mar 03 17:25:45 Current server v1.0.2 starting, released under the GPL
> > > Mar 03 17:25:45 Attempting to fork() into the background...
> > > Mar 03 17:25:45 Sucessfully fork()ed
> > > Mar 03 17:25:45 Starting up Backend
> > > Mar 03 17:25:45 Error opening channel 'redhat-i386-6.2'
> > > Mar 03 17:25:45 Error opening db_dir
> > > '/usr/local/redhat/linux/6.2/current'
> > > Mar 03 17:25:45 Shutting down because we could not start the server
> > > Mar 03 17:2545 : EXCEPTION in /usr/sbin/current, main(), 124
> > > [logException()]
> > > Traceback (innermost last):
> > > File "/usr/sbin/current", line 119, in main
> > > packagedb.db.addChannel(db_dir)
> > > File "/usr/share/current/packagedb.py", line 50, in addChannel
> > > tmp.open(db_dir)
> > > File "/usr/share/current/channel.py", line 357, in open
> > > 'rpm_index.wdb'), mode)
> > > error: (22, 'Invalid argument')
> > >
> > > I played about and it's the bsddb.btopen returning this, I get it when I
> > > try and open the files just using the module.
> > >
> > > Which is where the index gets opened up.
> > >
> > > [root@fred i386]# file /usr/local/redhat/linux/6.2/current/rpm_index.wdb
> > > /usr/local/redhat/linux/6.2/current/rpm_index.wdb: Berkeley DB 2.X
> > > Btree/Little Endian (Version 6, Logical sequence number: file - 0,
> > >
> > > A strace reveals:
> > >
> > > 24899 open("/usr/local/redhat/linux/6.2/current/rpm_index.wdb",
> > > O_RDONLY) = 6
> > > 24899 fcntl(6, F_SETFD, FD_CLOEXEC) = 0
> > > 24899 fstat(6, {st_mode=S_IFREG|0644, st_size=131072, ...}) = 0
> > > 24899 read(6, "\0\0\0\0\0\0\0\0\0\0\0\0b1\5\0\6\0\0\0\0\20\0\0", 24) =
> > > 24
> > > 24899 close(6) = 0
> > > 24899 gettimeofday({1016558608, 830949}, NULL) = 0
> > > 24899 write(5, "Mar 03 17:23:28 Error opening channel
> > > \'redhat-i386-6.2\'\n", 56) = 56
> > >
> > >
> > >
> > > [root@fred RPMS]# rpm -qf /lib/libdb-2.1.3.so
> > > glibc-2.1.3-23
> > > [root@fred RPMS]# rpm -q glibc
> > > glibc-2.1.3-23
> > > [root@fred RPMS]# rpm -qf /lib/libdb1-2.1.3.so
> > > glibc-2.1.3-23
> > > [root@fred RPMS]# rpm -qf /lib/libdb
> > > libdb-2.1.3.so libdb.so.2 libdb1-2.1.3.so
> > > libdb-3.1.so libdb.so.3 libdb1.so.2
> > > [root@fred RPMS]# rpm -qf /lib/libdb-3.1.so
> > > db3-3.1.17-4.6x
> > >
> > > Paul
> > >
> > > _______________________________________________
> > > Current-server mailing list
> > > [email protected]
> > > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> >
> > --
> > Thank you,
> > John Berninger
> >
> > Systems Administrator [email protected]
> > Department of Mathematics Box 8205, Harrelson Hall
> > NC State University Raleigh, NC 27695
> > Phone: (919)515-6315 Fax: (919)515-3798
> >
> > GPG Key ID: A8C1D45C
> > Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C
> > --
> > _______________________________________________
> > Current-server mailing list
> > [email protected]
> > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> >
> >
> --
> Hunter Matthews Unix / Network Administrator
> Office: BioScience 145/244 Duke Univ. Biology Department
> Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438
> Never take candy from strangers. Especially on the internet.
>
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server
>
>
--
Hunter Matthews Unix / Network Administrator
Office: BioScience 145/244 Duke Univ. Biology Department
Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438
Never take candy from strangers. Especially on the internet.