QuicksearchPersonalCategoriesSyndicate This Blog |
Tuesday, August 30. 20113DM2: Etch repository removed
The repository 3DM2/CLI for Etch was removed from http://jonas.genannt.name.
Thanks to IP Exchange GmbH for sponsoring my Debian packages. Saturday, May 21. 2011SSH public key distribution with puppet
The last years I have used several tools to distribute the public ssh keys of my users across the servers but they don't fit anymore. I use puppet for my infrastructure but the build in puppet feature ssh_authorized_key does not fit.
I have different users across my servers and same users on many servers (e.g. web farms). One public ssh key can be an member of:
![]() I have created an Webapp with an ajax interface. You can drag & drop the ssh key groups or ssh keys to an user. The key will be deployed via an puppet parser function, you need the storeconfig feature in puppet. The webapp has got an own database (postgres) but you can merge the puppet storeconfig database to the server manager database (via an rake task). If you specify an regular expression on your server groups, an new merged server will be automatically added to the group and on the next run of puppet the keys from the server group will be deployed without any action from you. Puppet stuff:
![]() drag & drop the ssh keys or the ssh key groups from right to left into the users on the servers or server groups public ssh key distribution with puppet and ajax interface from Jonas on Vimeo. Thursday, September 9. 2010Postfix as backup MX with Postgrey
For keeping that stuff in my mind:
Monday, March 22. 2010Samba: Automatic printer driver download to Windows
There are tons of manuals, howtos and blog posts, but they all depend on old samba versions.
I have get it working with Samba 3.3.7 and CUPS 1.3.8 on an Debian Lenny system. smb.conf: [global] Tasks
Login to an Windows computer
Your printer queue will now blow up, because windows printer queue shows also the completed cups printer jobs. You have to add the following lines to cupsd.conf: PreserveJobFiles No Friday, March 19. 2010Server Manager with PuppetI have added an new feature to my Server Manager. You can now use that manager to maintain the /etc/network/interfaces file on debian. Server Manager - Debian Interfaces configuration from Jonas on Vimeo. Updated 3dm2/CLI packages from 3Ware
I have updated my 3Ware 3dm2 debian packages.
Now version 10.0 is available on jonas.genannt.name. The CLI tools 10.0 are also available. An Debian Repository is also available. Friday, September 11. 2009Playing with nginx
Playing with nginx. Here are some random hints:
1.) nginx with php: /usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f "/usr/bin/php-cgi -c /etc/php5/cgi/php-nginx.ini" -P /var/run/fcgi-php.pid2.) Deny access to .svn directories: location ~ \.svn { deny all; }3.) rewrite urls if ( !-f $request_filename ) { The rewrite rule will redirect /images/bar/foo.png if it does not exists to /images/default/foo.png spwan-fcgi is included in the lighttpd package if you are using lenny. On squeeze and sid spawn-fcgi is an standalone package! Monday, June 1. 2009converting filenames from ISO-8859-15 to UTF-8
Useful links for converting filenames from one encoding to another:
convmv, recursively converting filenames from ISO-8859-15 to UTF-8: convmv -r --notest -f ISO-8859-15 -t UTF-8 /home Saturday, April 25. 2009Updated user_mgmt script - Passwd::Unix
I have uploaded an new version of my linux user management script. This new version fixes an Passwd:Unix bug - The library has got an problem with the umask. You can download it on jonas.genannt.name.
You may have noticed that the perl library Passwd::Unix is not available at debian lenny. I have created an ITP #525340 to upload Passwd::Unix into debian. If my packages passes the NEW-Queue I will create an backport for lenny and upload it to backports.org. Tuesday, April 14. 2009Debian Lenny - libnss-ldap udev
If you are using libnss-ldap to connect to your LDAP server it's possible that you get the following message on startup
Can't contact LDAP server udevd[374]: nss_ldap: failed to bind to LDAP server ldaps://foo.bar: This is an known problem, please have a look at the debian BTS: #375215, #375077, #375215 To get it working, you have to add bind_policy soft to /etc/libnss-ldap.conf. Tuesday, February 3. 2009RCS version control number in Cfengine
If you are using Cfengine and use RCS to store your cfagent.conf file, you could use your RCS version control number inside Cfengine.
Example on editfiles: { /etc/screenrc The $(RCSRev) will hold the current RCS version number. So you will distribute the version of cfagent.conf in your files. I had some problems to get this working, therefore an little guide for other guys around the net: Precondition: cfagent.conf is controlled via SVN Add the following code to your control selection: RCSRev = ( ExecShellResult("/bin/echo \"$Id: $\" | /usr/bin/cut -f3 -d \" \" " ) ) Save your cfagent.conf and run svn propset svn:keywords "Id" cfagent.conf && svn -m "RCS" commit cfagent.conf. This command tells subversion that svn should replace $Id: $ with the current RCS version and commit it. If you open your cfagent.conf again, you will notice that the line above changed to: RCSRev = ( ExecShellResult("/bin/echo \"$Id: cfagent.conf 20 2009-02-03 18:21:33Z jonas $\" | /usr/bin/cut -f3 -d \" \" " ) ) That's all - you can now use $(RCSRev) inside your cfagent.conf. Thursday, November 6. 2008Updated 3dm2 packages from 3Ware
I have updated my 3Ware 3dm2 debian packages.
Please have a look at: jonas.genannt.name. Packaging these 3DM2 software was the same shit like the versions before - I was not able to install the 32bit Java package from 3ware.com to an normal debian lenny system. I have informed 3Ware three times about this problem - they are always telling me 'Thanks, We will have a look at this problem'. I have received my last email from 3Ware on 25 Sep 2008 with the body 'Will check', after this email nothing! But the installer bug is included into the newest version again. So - have fun with my packages Sunday, September 21. 2008webalizer IPv6 addresses
If you are using IPv6, you know that webalizer truncates IPv6 addresses, this is very bad for the statistics.
The IPv6 patch is available at #452259. I have included the patch and rebuild the package for etch. You can download the debian package at jonas.genannt.name. Saturday, September 13. 2008Debian Repository for 3Ware packages
I have set up an Debian Repository for my 3Ware packages. You can now install your 3dm2 and cli packages via apt.
Add the following line to your sources.list: deb http://jonas.genannt.name/debian etch restrictedFor testing aka Lenny you have to replace etch with lenny. This repository is signed with my GPG key (0xB616FFFA), you should add my key in your apt-keyring: wget -O - http://jonas.genannt.name/debian/jonas_genannt.pub | apt-key add -
(Page 1 of 3, totaling 40 entries)
» next page
|