Software

Entries feed

Tuesday, 29 December, 2015

Preview of switchconf 0.0.15-1

Since the last version 0.0.9 on Debian, I have made some changes until version 0.0.14. The version 0.0.15 is only to include a fix for the new findutils. I thank you to Andreas Metzler for the fix and the prompt NMU.

The files are here, take notice about the replaced ~ in the original by _:

switchconf_0.0.15.orig.tar.xz switchconf_0.0.15-1_wip1.debian.tar.xz switchconf_0.0.15-1_wip1_all.deb

If you need the dsc file, just ask me.

Here comes the changelog since 0.0.9, without the lastest NMU:

switchconf (0.0.15-1~wip1) UNRELEASED; urgency=low

  * New upstream version:
    * Replace 'find -perm +1' by 'find -perm /1', thank you Andreas
      Metzler for the patch and the NMU.
  * Add systemd service file, thank you Felipe Sateler for reviewing it.
  * Bump standards-version to 3.9.6, no changes needed.
  * New maintainer email address.

 -- Jose M Calhariz <jose@calhariz.com>  Tue, 29 Dec 2015 19:59:07 +0000

switchconf (0.0.14-1) UNRELEASED; urgency=low

  * Force the use of bash, instead of a POSIX shell.

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 24 Aug 2014 04:37:04 +0100

switchconf (0.0.13-2) UNRELEASED; urgency=low

  * Add Homepage field pointing to alioth page of the project

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 02 Mar 2014 18:01:07 +0000

switchconf (0.0.13-1) wheezy; urgency=low

  * New upstream version:
    * Distribution tar is now compressed by xz
  * Change to source format 3.0 (quilt)

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 02 Mar 2014 15:56:31 +0000

switchconf (0.0.12-1) wheezy; urgency=low

  * Fixed some typos on switchconf

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 02 Mar 2014 15:39:09 +0000

switchconf (0.0.11-1) wheezy; urgency=low

  * New upstream version:
    * Makefile: add target dist-exp to build distribution files.
    * Add flag -f with the path to the configuration file.
  * Update debian/rules to version 0.24.
  * Update debian/control with new name and email address of Maintainer.
  * Update copyright.

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 16 Feb 2014 18:04:22 +0000

switchconf (0.0.10-1) UNRELEASED; urgency=low

  * New upstream version:
    * Fix return code on error.
    * Use syslog system to report errors.

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Thu, 16 Jan 2014 20:23:46 +0000

Sunday, 20 December, 2015

Preview of amanda 3.3.7p1-1

Currently, as of today, amanda on sid is not installable because of a dependency on perl5 instead of perl. While I sort out a sponsor, my sponsor is very busy, here is a preview of the new packages. So anyone can install and test them and work around bug #808209.

The source of the packages is in collab-maint. The debs files are here:

Sunday, 13 December, 2015

at daemon now with SELinux support

Thanks to the work of Laurent Bigonville, now the at daemon have SELinux support.

So here is a new release at 3.1.18.

Please test it.

Sunday, 30 August, 2015

Preview of switchconf 0.0.14-2 in Debian

There was a long time since I published the last version of switchconf.

This time someone requested that I add support for systemd by adding a service file. This service file does not make switchconf depend on systemd. It will still work with svs init scripts.

As my knowledge of systemd is minimal, please review my changes.

To download use the following entries:

switchconf_0.0.14-2_wip4_all.deb

switchconf_0.0.14-2_wip4.debian.tar.xz

switchconf_0.0.14-2_wip4.dsc

switchconf_0.0.14-2_wip4_amd64.changes

switchconf_0.0.14.orig.tar.xz

Tuesday, 28 April, 2015

Locking in Linux Systems

Some notes on locking.

flock (1) (2)

lockfile (1)

Do not put the PID inside the lock file.

mutt_dotlock (1)

lockfile_create (3)

maillock (1) lockfile-create lockfile-remove lockfile-touch lockfile-check

lockfile-create --use-pid -r 0 file ; echo $?

lockfile-remove file

if ! lockfile-create --use-pid -r 0 file ; then echo no lock ; else echo lock ; fi

Sunday, 24 August, 2014

Published switchconf v 0.0.14

I have published a new version of switchconf, v0.0.14.

Can be downloaded from switchconf_0.0.14.orig.tar.xz

This is the relevant part from the Changelog.

 * Force the use of bash, instead of a POSIX shell.

Sunday, 2 March, 2014

Published switchconf v 0.0.13

I have published a new version of switchconf.

There are a number of changes since the previous public release 0.0.9 that I have to thank to John Halam. He sent me a big patch with a lots of new features that I am integrating one by one.

You may download switchconf from here.

Saturday, 1 February, 2014

Collect and keeps up to date the system information using sysinfoupdate

In 2005 I was looking for ways to auto collect information about a Linux server. The information was to be used in case of bare bones recovery. I didn't found a satisfactory program so I created one, sysinfoupdate. This program have been growing long this years and now is a system that helps to maintain a diary of a Linux Installation. The diary records all the important changes the sysadmin does to the system. This records can be used during recovery after a broken hardware or to detect what change may be causing a malfunction, for example.

It's use is very simple, create a diario directory in your home directory, for example /root/diario, and then run sysinfoupdate. Inside diario you will find a group files with textual information about your system. It works best if you run it as superuser and you keep track of the changes under a version control system, like subversion or git.

You can download the Debian package here or download the source from here.

Wednesday, 3 April, 2013

Openafs 1.6.x limits

Interesting limits of openafs 1.6.x

Max Partition? max signed int64

Volume Max Size?

Bigger than 2TiB

Quota Max Size

2 TiB

Max Files per directory

64.000 entries, around 32k filenames.

Max Files per volume

Around 32 million files.

Max Filename?

255 chars

Number of ACL-Entries (per directory)?

20

Maximum number of servers for a read only volume:

13

Saturday, 16 February, 2013

Update to kibana package

I have improved the packaging of kibana for Debian. Is lintian clean and almost ready for inclusion in Debian.

kibana_0.2.0_35_g40f2512_5-1_all.deb
kibana_0.2.0_35_g40f2512_5-1.dsc
kibana_0.2.0_35_g40f2512_5.orig.tar.gz
kibana_0.2.0_35_g40f2512_5-1.debian.tar.gz

The CMS have replaced the + by _ in the filenames. Be prepared to rename back the files before doing dpkg-source -x kibana_0.2.0_35_g40f2512_5-1.dsc

Friday, 18 January, 2013

Packaged kibana into a Debian package

I have made a Debian package for kibana software. You may download the kibana_0.2.0_35_g40f2512_3-1_all.deb file or the sources kibana_0.2.0_35_g40f2512_3-1.dsc.

Monday, 12 November, 2012

Good hacks on using Debian testing

I found an interesting article on how to use Debian testing/unstable/experimental and ways to contribute back to Debian.

http://bonedaddy.net/pabs3/log/2012/10/29/thoughts-on-debian-testing/

Tuesday, 3 January, 2012

To package or not to package, that's the question.

In the past I had to install many times, by hand, extra software on Unix machines, specially because of missing useful software like a C compiler or because I like too much to use the bash. In the end it can get very messy I promised myself to never do again a make install for manually installing software in a Debian machine.

It's possible and it pays on the long run. When you take a program from outside the distribution you need to: configure, compile, install and document what you have done. So you can do it again with the next version. Specially when you have done local modifications. If you put your software inside a Debian package and follow the most sensible Debian Policy rules you get:

  • The documentation on how to configure, build and install the software is in debian/rules file.
  • It's easy to upgrade or remove the software, because is a Debian package.
  • You can use a patch system like quilt or dpatch to isolate your local changes from the upstream sources. If you create different patches files, for every logical feature you enhance or fix, it will be easier to drop them when the new version have the desired feature and to know what features needs to be ported for the new version of the upstream software.
  • You can do it even with the binaries of proprietary software. Its easy to take an rpm or tar files with the binaries and insert them inside the sources of a Debian package. With the proper care it's easy to update the sources for the next upgrade.

For example I have been doing this for packaging the pristine upstream binary of eclipse, because the teachers of my University usually requests a newer version of eclipse than what is available from Debian stable or even unstable.

Another example is the support software for HP hardware before HP officially supported Debian. I have taken the original rpm files or the scexe scripts and convert them into a debian file. Usually I need only to change two files with every new release of software, the Makefile with the name of the new rpm file and the debian/changelog with the new version and what is new.

In the end it's easier than it seams to create and maintain a Debian package. It's a steep curve, but pays off on the long run.

The good thing is all this approaches are compatible with a puppet or chef system for managing the Unix servers.

Thursday, 4 August, 2011

Preview of xorp v1.8.3 in Debian

I attended DebConf11 and my main objective was to package xorp v1.8.3 for Debian. In the spirit of release early and release often here are the links for a package compiled for Debian v6.0 aka squeeze. The work is not finished and most important was not yet reviewed by a Debian Developer. Reports of success are important.

For downloading:

xorp_1.8.3-1_wip4_bpo60_1_i386.deb

xorp_1.8.3-1_wip4_bpo60_1_amd64.deb

For accessing the sources or using apt-get add the following lines to your /etc/apt/sources.list:

deb http://debian.tagus.ist.utl.pt/debian squeeze/UNRELEASED main contrib
deb-src  http://debian.tagus.ist.utl.pt/debian squeeze/UNRELEASED main contrib

Sunday, 4 July, 2010

Nagstatmon help monitor network and servers using nagios

Monitoring a network or a group of servers using nagios have some problems. Receiving alarms by email or have a browser with a open page to the nagios site is an option that don't fit well in the work flow of some people.

Nagstatmon is a program that solves that problem. It opens a small window or icon on a taskbar of your desktop and show how many alarms are active. When an alarm triggers you can see where and what kind of alarm and easily open a connection for managing the equipment in fault.

This program is available in Debian testing (squeeze) but the package is compatible with Debian stable (v5.0, lenny).

The homepage for the software is http://nagstamon.sourceforge.net/

Monday, 28 June, 2010

Published cal-logcheck-database v 0.35

cal-logcheck-database is a personal package that I use to collect extra rules for logcheck. This rules help me keeping the logcheck reports cleaner and informative.

This version have new rules for smartmontools messages and updates the package for squeeze.

You can download the package and the source from here:

cal-logcheck-database_0.35_all.deb

cal-logcheck-database_0.35.dsc

cal-logcheck-database_0.35.tar.gz

cal-logcheck-database_0.35_i386.changes

In alternative you can install it using apt if you add the following line to your /etc/apt/sources.list:

deb     http://debian.tagus.ist.utl.pt/debian lenny/updates main

Monday, 14 June, 2010

Debian package v0.0.9-2 of switchconf hit testing

Debian package v0.0.9-2 of switchconf have migrated from unstable to testing. This new version have changed only the package, not the code of switchconf. Follows the changelog.

  * Fix bashism in a private rule on debian/rules file (Closes: #581451).
  * Add remote_fs to dependency of init.d.
  * Bump standard version to 3.8.4, no changes needed. 

Thursday, 21 January, 2010

Published switchconf v 0.0.9

I have published a new version of switchconf, v0.0.9.

Can be downloaded from https://alioth.debian.org/frs/?group_id=100068&release_id=1462.

This is the relevant part from the Changelog.

   * Remove old version of files when using softlinks (Closes: #553427).
   * Use run-parts when available to run scripts (Closes: #563224).
   * Call scripts with the name of next configuration (Closes: #563223).
   * Locking system to prevent a second run before the first finish.

Sunday, 29 November, 2009

Published switchconf v 0.0.8

I have published a new version of switchconf.

There were changes to the build process so it depend less on Debian software. The package was build to be used on my job, so was not uploaded to Debian.

Can be downloaded from https://alioth.debian.org/frs/?grou...

page 2 of 2 -