(untitled)
test
Another funny problem occurs if one tries to recompile the VSUUI v4r5 module, or to use it with the tag "alpha" (that is with the cc/cxx compilers). Actually, the problem occurs only on ax15. There is an unresolved external reference: Unresolved: std::basic_string, std::allocator >::operator =(const std::basic_string , std::allocator >&) Explanation: For a reason that I do not understand, VSUUI uses a special C++ linker option "-ptr $(VSUUIROOT)/$(VSUUI_tag)/cxx_repository". This option requires some consistency between the compile-time options and the link-time options. Here, probably due to the fact that this option is used only at link time, it creates inconsistencies. Solution: Prevent the use of this option by doing gmake tag=alpha cpplinkflags=""
One funny problem that happens on ax1 when one links a C file with libraries that contain C++ objects: there are some unresolved external references: unexpected__3stdXv __cxx_v60_dispatch__X4need3new8libcxxso __cxx_throw_setup __cxx_throw_ctor __cxx_exception_caught __cxx_handler_exit__X4need3new8libcxxso Explanation: As we compile a C file, the command cc is invoked. This command DOES NOT search the libraries in /usr/lib/cmplrs/cxx where the standard C++ libraries reside.So it only finds an old library file /lib/libc++.a which does not contain the right references. Solution: use -L/usr/lib/cmplrs/cxx
Finally, I have prepared a CETIA (VGPW2) version of Cm v7r10 and El v4r5. The only trick was to do "pck build_setup -tag=VGPW2", then "source VGPW2.csh", then "make" The CETIA (VMTR2X) and the OS9 versions are still to be built.
Finally, I have been able to install DBVSUUI v1r0. 1. There were problems with the OSF1 version, due to stupid compilation options forced by VSU. I could overcome them by forcing the righ values of the cflags and cppflags macros. 2. There were problems with the Alpha version, due to the fact that a lot of alpha versions of used libraries were missing (Cursor, VSUUI, VSU). I have generated them. So, in the end, the OSF1 and alpha versions have been generated.
Following a request from Laurent Fournier, I have installed new releases of packages: DBench/DBUser Nouveau v0r1 DBench/DBVSU Nouveau v0r1 DBench/DBVSU/DBVSUUI Nouveau v0r1 Pi v2r0 -> v2r2 Mc v1r1 -> v2r0 Vb v2r0 -> v2r2 Sr v2r0 -> v2r2 Lo v1r3 -> v2r1 I have been unable to install DBench/DBVSU/DBVSUUI. I will see later
Following a request from Alain Masserot, I have installed new releases of various packages: Cfg v0r7 -> v1r0 Vx v2r5 -> v2r7 Adc298 v0r1 -> v0r3 Do v3r3 -> v3r5 Ti v6r4 -> v6r6 Fd v2r3 -> v2r51 TiM v3r44 -> v3r46 FbF v3r24 -> v3r27 Pr v3r0 -> v3r2 I was unable v3r51 to install FbM due to compilation errors. I am waiting for corrections.
Following a request by Andrea Vicere, I have installed ddd on the RIOs. I had only a small difficulty in compiling ddd/HelpCB.C, but I could overcome it by compiling it manually in "-O0" mode. I have put the PDF manual in /usr/local/ddd-3.2.1/doc/ddd.pdf
End of the story about sudo on the RIOS The logging function used locks to guarantee that simultaneous loggins from differents hosts are synchronized. The problem is that the log file is in an NFS-mounted file and that LynxOS does not seem able to cope with that. After a lot of tries (with a test program based on fnctl), I realized that there were no issues. So I simply disabled the locking. The only risk is to miss a line or to have two lined mixed in the log, but we'll have to live with it. By the way, the log is in /rootfs/rw/logs/sudo.log In order to have the name of the host logged, I have had to add an option to the configuration. The final configuration options are: ./configure --bindir=/usr/local/sudo/LynxOS/bin --sbindir=/usr/local/sudo/LynxOS/sbin/ --sysconfdir=/usr/local/etc --with-logging=file --with-logpath=/rootfs/rw/logs/sudo.log --enable-log-host
nedit Continued I had forgotten a fourth difficulty. The linker complained about lack of memory. The solution was to become root, to double the data memory with the ulimit command and it worked.
sudo, the end The problem was not on the "exec" side, but was simply due to the fact that, in the sudoers file I had put the command was "su - virgorun" and this command is not interpreted correctly on the RIOs. So I replaced it with "su virgorun" and it worked.
Following a request from Laurent Fournier, I have installed a new version of "nedit" on the Alphas and the RIOs. On the Alphas, I had not much to do as a binary version was available. On the RIOs, I had to restart from the source and I created a Makefile.LynxOS makefile. I had 3 difficulties: 1. The system include file "global.h" is not available on the RIOs. Fortunately, there was a preprocessing directive in nedit to avoid it. 2. The preprocessor constant SYS_NMLN is used, but does not exist on the RIOs. There are other equivalent constants which I should have used but I have instead assigned the value 32 to this constant. 3. There were a lot a missing references at the link step, so I had to add a few libraries (ICE, SM, bsd, Xpm), and some more than once due to recursive dependancies. Then everything went on smoothly.
Re-installation and customization of Bugzilla I have installed the new version of Bugzilla (2.10). First mistake: I erased everything from the previous installation in MySQL. The problem was that the script checksetup.pl could not create the "database" table. So I created it by hand. Then I forced db_check to (because if not the script tries to list the databases present in MySQL then fails due to an improper instruction _ListDBs) Then there was another problem due to the fact that the variable "db_host" ws a "my" variable and that the script then did a "do localconfig" which was supposed to update this value but which could not (I wanted to update it from localhost to fred) I had to run the script on Fred because of the permissions I gave to the user "bugs" in MySQL. Then I had the problem of separating the HTML files and the CGI files (do not forget to put the .pm file in the same directory as the CGI) Due to this problem, I had to put explicit paths to all the .cgi and .html references (quite a job !). Maybe next time I'll try to reconfigure HTTP There was also a difficult problem with an HTML reference which was hidden in data/params ! Finally, I obtained a login and I rerun checksetup.pl. The trick is that in this case (only one user registered), the script gives him all the permissions (making him a memeber of all the groups). Then I finally obtained the nice options at the end of the "Query" menu and I attempted some light reconfiguration.
sudo on the RIOs. Continued It seems that, though the crypt function works perfectly, when sudo uses "execvp" the user is prompted for a password. So a by-pass must be found...
sudo on the RIOs I encountered one problem in the compilation step, due to the fact that the constant LONG_LONG_MAX is defined, but defined as another constant __LONG_LONG_MAX__ which is not defined itself. As for the link step, a few entries were not found, such as the ones regarding syslog and inet_addr. I had to add -lbsd in the LIBS macro of the Makefile. Another problem was with the "crypt" function, but Stefano gave me a library (ufc-crypt) which worked. The first bad news was that I could not share the same directories as on the Alphas (due to the fact that /usr/local/ is NOT NFS-mounted). As moreover the /usr/local is on the /rootfs is mounted read-only, I had to copy the sudo executable to the right place on ginger. The good news is that the directory name and the file names are the same as on OSF1. So the same script in /usr/local/bin worked. The other bad news was that I could not share the same sudoers file for the same reason and that, moreover, I could not use the +virgo NIS trick as the RIOs do not know about NIS. So I listed explicitly the RIOS in the sudoers file.
Following a discussion during the last E &S meeting, I have installed the sudo package, with the following configuration - the configuration file is in /usr/local/etc/sudoers - the OSF1 binaries are in /usr/local/sudo/OSF1/bin/sudo and /usr/local/sudo/OSF1/sbin/visudo I have written a small script in /usr/local/bin/sudo which is intended for switching to the right architecture binaries. Presenlty, it just switches to OSF1! At present, the sudoers file consists in a single line %virgo +virgo = /bin/su - virgorun which means that any user in the virgo group (%virgo) can run the command "/bin/su - virgorun" on any machine in the netgroup virgo (+virgo) Lastly, I have configured sudo to log its activity to the "auth" facility.
With the help of Brunon Mansoux, VPC is finally running correctly. In order to further introduce the VMC daemon, it is important that VPC runs on a separate machine. So I have modified the virgo.daemons file so that VPC runs on ax1 (whence the other daemons run on ax2). I have had also to add a line to the /etc/inittab file so that rc.virgo is run also on ax1. Note: I have also modified the standard output of rc.virgo on these two machines do not overlap (log.ax1 and log.ax2).
Christian Arnault has worked on the /cvsroot repository. He has imported in it all the packages (with their successive versions) which were under /virgoApp and which were not already managed by CVS. I have then unified the access rights under/cvsroot. The main difficulty here is that, in order to manage the locks, CVS requires that any user wanting to access a subdirectory of /cvsroot has write access to this directory, even if he just wants to read its content (the lock file is written in the directory). So I have decided the following: the owner of each directory is the package manager, but the group is always the "cvs" group.
Folllowing a request from Christian Arnault, I have installed the CVSWeb software for browsing through the Web the Cascina repository. This software consists mainly in a CGI script which I have installed in /opt/w3/cgi-bin/cvsweb/cvsweb.cgi It has inherited the authorization policy from the cgi-bin directory, which is the one for the logbook (Unix accounts) I have customized it lightly - point to the location of the config file /usr/local/lib/cvsweb/cvsweb.conf - point to the location of the unique Virgo repository - change the Apache icon to the Virgo icon - change the title from "CVS repository" to "Virgo CVS repository - write a message saying that the missing packages are on the LAL repository (and giving a pointer to their CVSWeb system
In addition to the change made on July 19: FbM v3r2 -> v3r3 and following various requests from LAPP people, the following upgrades have been added to the new test environment Pi v1r8 -> v2r0 Vb v1r2 -> v2r0 Sr v1r3 -> v2r0 Adc298 v0r0 -> v0r1 Pr v2r46 -> v3r0 FbF v2r26 -> v3r24 Vx v2r4 -> v2r5 Cfg v0r6 -> v0r7 Ti v6r3 -> v6r4 TiM v3r42 -> v3r44 Do v2.01 -> v3r3 The new test environments have all three kept their release number.
Following a request from Didier Verkindt, I have installed a new release of FbM and prepared a new VSE FbM v3r2 -> v3r3 Virgo v2r16 -> v2r17 VirgoNoUI v1r15 -> v1r16 VirgoRun v1r9 -> v1r10 This new environment will become the standard one on August 18
The change of environments announced in the last entry has been done today
Following a request from Matteo Barsuglia, I have installed a new version of the AcroRead software: version 4.05 The installation has been done in the /usr/local/Acrobat4 directory. A symbolic link was already present from /usr/local/bin/acroread
I have changed the ownership of the data directory of MySQL from root to mysql I have changed in the "startup" script /usr/local/share/mysql/mysql.server the value of the variable "mysql_daemon_user" from "root" to "mysql" We should use also this startup script when starting manually mysql, instead of using /usr/local/bin/safe_mysqld with the option --user=mysql, because precisely we could forget the option --user. Now the mysqld daemon runs as mysql and no longer as root, which is much safer.
Following various requests, I have installed new releases of the following packages: Dy v6r9 -> v6r10 FbS v6r2 -> v6r3 Fd v2r2 -> v2r3 GxS v0r9 -> v0r99 TiM v3r4 -> v3r42 I have upgraded accordingly the Virgo environments: Virgo v2r15 -> v2r16 VirgoNoUI v1r14 -> v1r15 VirgoRun v1r8 -> v1r9