Package: hsqldb-server; Version: 1.8.0.8-1ubuntu1; Description: Java SQL database server
Hi, i found an error in the init script /etc/init.d/hsqldb-server. You find the changes I made attached as a patch file. The command /etc/init.d/hsqldb-server status reports that the HSQL server is not running altough the process id in /var/run/hsqldb/server.pid is active. This happened due to the missing parameter $type in is_running. It should be is_running $type. The second problem I discovered comes up when you say /etc/init.d/hsqldb-server stop. With a urlid of just jdbc:hsqldb:hsql://localhost I get a java.lang.RuntimeException saying that the database alias could not be found. Altough the command still closes all databases down, I made a slight modification to the function run_shutdown. (See patch file) Hope this helps. Best regards, Tim Friske --- ../hsqldb-server 2008-01-12 12:51:28.0 +0100 +++ hsqldb-server 2008-01-12 19:07:17.0 +0100 @@ -64,8 +64,11 @@ run_shutdown() { local servertype=$1 - - hsqldb-sqltool --rcfile /etc/hsqldb/sqltool.rc --sql SHUTDOWN; localhost-${servertype}-sa /dev/null +local urlids=$(grep -E -m 10 '^[:blank:]*urlid' sqltool.rc | cut -d ' ' -f2 -) +local each +for each in $urlids; do + hsqldb-sqltool --rcfile /etc/hsqldb/sqltool.rc --sql SHUTDOWN; $each /dev/null +done } @@ -134,7 +137,7 @@ status) status=0 for type in server webserver; do - is_running + is_running $type typestatus=$? if [ $typestatus -eq 0 ]; then log_success_msg HSQLDB $type is running. -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Patching
On 13/01/2008, Evan [EMAIL PROTECTED] wrote: Any change in this area is far too complex for a LTS, however for 8.10 we have the opportunity to be innovative and create a new patching system better than that being used by the competition: An interesting discussion of these kinds of changes can be found here: https://launchpad.net/ubuntu/+spec/succinct https://wiki.ubuntu.com/apt-sync (the summary section contains links to other patching ideas and outlines problems with taking a patch approach) https://blueprints.launchpad.net/ubuntu/+spec/apt-sync And somebody has made the delta suggestion here: https://blueprints.launchpad.net/ubuntu/+spec/apt-deltas For me (with several Ubuntu machines on the same network), the work being undertaken under this head - https://blueprints.launchpad.net/ubuntu/+spec/apt-avahi - would have a bigger impact on my bandwidth. Aaron -- FSF Associate Member: 5632 http://www.fsf.org -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Patching
I believe the best solution to these problems is the use of debtorrent ( http://debtorrent.alioth.debian.org/) Which is currently in hardy (although might not actually fully work yet). Both solutions mentioned can be implemented eventually through the use of torrents. I don't believe either is implemented yet: Torrents check files in pieces so if some of the pieces have not changed they won't need to be redownloaded. Some torrent programs are currently trying to find local network hosts first, before getting files from outside. In my opinion it makes more sense to let the protocol worry about these things then include them in apt. Thanks, Bryan On Jan 12, 2008 6:16 PM, Aaron Whitehouse [EMAIL PROTECTED] wrote: On 13/01/2008, Evan [EMAIL PROTECTED] wrote: Any change in this area is far too complex for a LTS, however for 8.10we have the opportunity to be innovative and create a new patching system better than that being used by the competition: An interesting discussion of these kinds of changes can be found here: https://launchpad.net/ubuntu/+spec/succinct https://wiki.ubuntu.com/apt-sync (the summary section contains links to other patching ideas and outlines problems with taking a patch approach) https://blueprints.launchpad.net/ubuntu/+spec/apt-sync And somebody has made the delta suggestion here: https://blueprints.launchpad.net/ubuntu/+spec/apt-deltas For me (with several Ubuntu machines on the same network), the work being undertaken under this head - https://blueprints.launchpad.net/ubuntu/+spec/apt-avahi - would have a bigger impact on my bandwidth. Aaron -- FSF Associate Member: 5632 http://www.fsf.org -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Hardy Alpha-3 networking
Desktop i386 install Is the following a bug or can anyone change network settings via System/Administration/Network And can you verify it really changed by looking in the appropriate file. Install took a DHCP address. When completed I tried to change the settings to a static with different DNS, etc. The box came up stating Changing Interface Configuration and the status bar went back and forth for 10 min before I killed it. In order to properly config my network connection it was necessary to edit: /etc/network/interface /etc/resolv.conf /etc/hosts Notes: 1. This is the same problem I had with Alpha-2. 2. Same results installing on 3 different computers at two locations 20 miles apart. -rich -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss