Sunday, October 5. 2008tmux
I'm finally back on the net, after not having any internet access at my new apartment in Zürich after I moved there.
I now started my bachelor studies at the ETH Zürich, of course in Computer Science, though there's a little bit too much maths right now for me to be really excited about it, future semesters will be better I hope. So I'll try to get back to a few Gentoo things in the near future, now that I also finally fixed up my main dev system (which had its disk die just before I moved)... Still this blog entry's main focus is to tell you the name of a package I discovered today: app-misc/tmux After reinstalling this system I, as always before, emerged screen to take care of my detached terminal needs, I always had the problem with backspace not working correctly from the desktop, which I was never able to fix correctly, but it was bearable. This time it seems something else went wrong too, and inside my screen sessions it didn't source .bashrc or .bash_profile (which sources .bashrc), even if the shell was correctly set to a bash login shell... So, while perusing Gentoo Wiki's Screen TIPs to see if anyone had seen something like this, at the end of that page I came across the mention of tmux, a "simple, modern, BSD-licensed alternative to GNU Screen". Seeing that it only depended on ncurses (which is usually installed everywhere), and was only like 100kb of source, I installed it and tried it out. I have to say I'm impressed, this little tool does everything I did with screen too (mainly just having multiple, detached terminals and resuming them, which is probably no "advanced screen usage", but what most people will likely need), backspace works without any fiddling, the Bash stuff is correctly sourced, and the few commands are easy to adapt to, here a little overview: tmux Starts a new tmux session CTRL-b d Press CTRL-b, then d, to detach the terminal tmux a Reattach to the detached terminal Still, read man tmux to get the full overview, and then happily do emerge -C screen, as I did. Best regards, chtekk. Saturday, May 12. 2007net-www/apache-1* masked.
This I just wrote to gentoo-dev and gentoo-server, finally ending Apache-1* support in Gentoo.
Best regards, CHTEKK. Thursday, February 22. 2007
FOSDEM 07, here we come! Posted by Luca Longinotti
in Gentoo, Luca's life, SysCP at
22:12
Comments (2) Trackbacks (0) FOSDEM 07, here we come!
Yo all!
Tomorrow to FOSDEM 07 /me goes, along with hansmi, KillerFox and blubb from the swiss crowd! Later on both flo and EleRas will join us too, so for me not only will it be "the great Gentoo dev gathering", but also "the great SysCP dev gathering", will all three of us present. Now off to bed, as I have to get up early (~4AM) to catch the first train to get to Basel, where the others await, and from there off to Bruxelles. Lugano-Basel-Frankfurt Am Main-Köln-Bruxelles is the exact route, almost 1000 Km, for a total en-route time of about 11 hours, yay! On the PHP front, I've finally put PHP 5.2.1 and PHP 4.4.5, with all the needed patches and, of course, Suhosin support, into the PHP Overlay. I'll test it all during the next days and hopefully commit to the tree on Monday at the latest. Many bugs are fixed with the latest releases, concurrentmodphp support was greatly improved and fixed (especially wrt 64bit archs), and the new MySQL extension patches are included to have the connection charset settable per-SAPI, for each PHP version, using php.ini, instead of my.cnf. Work on VCD is also going steady, we should be near feature-completion soon, so expect some form of pre-release in the next two weeks... Poke Hollow on #gentoo-vserver for more info. Best regards, cya all, CHTEKK. Monday, January 1. 2007
Happy 2007! Posted by Luca Longinotti
in Gentoo, Luca's life, SysCP at
01:16
Comments (0) Trackbacks (0) Happy 2007!
Happy new year people!!!
I wish you all a great 2007 full of fun and happiness and all the other good stuff (new hardware comes to mind 23C3 finished two days ago, it was really great fun with great talks and great people (yeah, Polish guy living in the USA, from the university near Atlanta, you know who you are Now we've passed yesterday by visiting Berlin and at the moment we're connected through the Hostels connection... It depresses me to know it's at least twice as fast as my home DSL. By the way, all this convinced me to come to FOSDEM 07, so be prepared to know the CHTEKK (or be scared, that all depends). Cya, and happy new year, CHTEKK. Thursday, December 28. 2006
Greetings from 23C3. Posted by Luca Longinotti
in Gentoo, Luca's life, SysCP at
12:42
Comment (1) Trackbacks (0) Greetings from 23C3.
Yo! Greetings from the 23C3, the Chaos Computer Congress in Berlin.
Great talks and great people here, at the moment I'm attending a talk about JSON RPC (who knows, maybe that can/will be used someday to improve SysCP As you can see from this blog post, the wireless network works well (as does the wired one). With regards to Gentoo devs, I've already seen and got to know hansmi, KillerFox and Pylon. I've also been told that mabi is around and hanno should be too (at least based on the fact he gave a Lightning Talk about XGL yesterday, which I sadly missed), we should really define a place to meet and get to know eachother... That goes for Gentoo and SysCP users too. I myself can usually be found attending some talk or down in the Hackcenter (central position, at a round table). Have fun! Best regards, CHTEKK. Monday, December 18. 2006Work continues ...
Work on SysCP 1.3 continues, even with Christmas approaching!
General cleanup in various parts was done, me and EleRas reviewed all the regular expressions of the RegExp validator now used to validate data coming from the user, now they're much better and precise, and I've also added a Type validator to check that the type of the passed data is what we expect. Paging was also removed from the 1.3 codebase, as it was incomplete, outdated and completely broken there... It will be reimplemented once we've completed other parts of SysCP 1.3 which have priority. And the biggest change probably, is that the whole login/logout system was updated and rewritten to conform to the new structure, the "new way of doing thins". Best regards, CHTEKK. Sunday, November 19. 2006
New Propel db structure on its way! Posted by Luca Longinotti
in SysCP at
21:56
Comments (0) Trackbacks (0) New Propel db structure on its way!
The new database structure for SysCP 1.4 is taking form, I'd say it's almost complete, only the foreign-key definitions are still missing, something I intend to rectify in a day or two.
While changing towards this new structure, we've also changed to use Propel to connect and work with the database, it will thus replace the old DatabaseHandler. Starting with SysCP 1.4, thanks to all this, we'll also support using SysCP on a PostgreSQL database, and there will also be a module to let your customers create and administrate PostgreSQL databases, just like you can now with MySQL. Only thing that deluded me a little is that the Propel generated classes change when built with MySQL or PgSQL, which is kinda "WTF?", as we're speaking about a database abstraction layer to an extent... Oh well, the changes are tiny and we'll then decide how to approach this... Either distributing two SysCP tarballs, one with PgSQL classes and one with the MySQL ones, or just supplying a diff against the MySQL ones to support PgSQL... Once we're more into the whole thing we'll be able to decide! Best regards, CHTEKK. Friday, November 10. 2006
New PostgreSQL and PHP (late) Posted by Luca Longinotti
in Gentoo at
22:45
Comments (0) Trackbacks (0) New PostgreSQL and PHP (late)
As the title says, I'm late with this blog post, but better late than never...
The new dev-db/libpq and dev-db/postgresql ebuilds reached Portage on Thursday, they seem to work well (we've received positive feedback until now) and already solved a number of bugs! Thanks to dev-zero too for all the work spent on them, we make a good team! Btw, it seems dbs are made to be maintained by two people... Me and dev-zero for PgSQL, me and vivo for MySQL, and it works very well! WEEEE TEAMWORK RULEZ! Thansk guys, it's great to work with you all! On the PHP front, 5.2.0 reached the overlay, I still have to update the eclasses a little and fix some stuff, as well as update the 4.4.X and 5.1.X releases with some patches, which will probably happen tomorrow, and they'll probably be put into Portage on Sunday or Monday, sorry for the little delay, but at least the stuff's well tested and working then. Best regards and a great weekend to all, CHTEKK. Monday, November 6. 2006News, news, ... ;)
Hi all, /me is back, since a few days now, and I've been working on updating stuff...
Today, together with vivo, MySQL 5.0.X stabilization was agreed on, and https://bugs.gentoo.org/144999 updated accordingly. x86 already responded and stabled dev-db/mysql-5.0.26-r1, the other arches will soon follow. The upgrade from 4.1.X should be painless, just remember to read the MySQL upgrading guide for instructions on how to backup your data before the upgrade, and be sure to run revdep-rebuild from gentoolkit after the upgrade, as all things linking to MySQL will need to be recompiled. New PostgreSQL ebuilds are also coming up, those are the first of the new generation of PostgreSQL ebuilds, done together with dev-zero, that will fix up a lot of issues and ease maintainance of PostgreSQL a lot, as well as permitting some exciting new things in the future. ETA for those new ebuilds to enter Portage is this evening (UTC timezone). PHP 5.2.0 is also finally out, congrats to the PHP Team, expect an ebuild for the final version in the PHP Overlay by Wednesday and in Portage by Saturday at most. Samhain will also be updated soon to the newest versions, so if you use that, stay tuned. Work on SysCP 1.3 is going on strong, more about that in another blog entry in the next days. Best regards, CHTEKK. Friday, October 27. 2006
/me away until 03.11 Posted by Luca Longinotti
in Gentoo, LongiTEKK Networks, Luca's life, SysCP at
17:59
Comment (1) Trackbacks (0) /me away until 03.11
I'll be away from this evening UTC until evening UTC 03.11.2006, so don't search for me or await any reply from me.
Absolutely no internet access, so... See ya all in a week! Best regards, CHTEKK. Tuesday, October 24. 2006
Completion of languagesplitting Posted by Luca Longinotti
in SysCP at
23:57
Comments (0) Trackbacks (0) Completion of languagesplitting
Right, no more "update"! I've done the last four modules today and EleRas did all the rest yesterday, many thanks for that.
Now we only need to update the old design and we'll then merge branches/syscp-1.3/ back into trunk/syscp-1.3/. YAY! Step 1 of our plan to conquer the webpanel world completed. EleRas also wrote a fancy script that does some comparisions and generates updated language files also for all the other languages SysCP supports, but those are highly incomplete now that many definitions etc. changed, so they will have to be updated by the translators. English (of course), italian and german we can take care of ourselves, but for all the others we'd very much appreciate help from the community, we already have a list of translators, but having other people also working on it or as backup would really be great! So if you know any of: Portugues, Chinese, Catalan, Russian, French, Spanish, Danish very well, drop a note to flo [at] syscp [dot] org and/or eleras [at] syscp [dot] org, thanks! Best regards, CHTEKK. Tuesday, October 17. 2006Even more 1.3 ideas ;)
Expanding on EleRas's latests posts...
Wrt the email question: I agree that having an additional level, where a user which is intended to only have an email-account, can login and at least modify his own password, is a very good idea. This can then naturally be extended for antispam/antivirus settings, auto-responders, filters, etc.. But, thinking about it, we suffer from the same problem with FTP: how can an additional FTP account user change his own password? Another "ftp" level? No, that's not the solution, as isn't only a new "email" level in my opinion... Continue reading "Even more 1.3 ideas ;)" Saturday, October 14. 2006New SysCP blog & status
Hi all!
This blog post should be my first to also be syndicated on blog.syscp.org, one of the new resources we SysCP devs will use to better bring news and informations to you, the user. First, let me again thank Martin Burchert aka eremit for all the work he's done over the years and the big help and guidance he has provided to all of us, and the really fantastic work done on SysCP 1.3! Thanks Martin! Second, as EleRas said on his previous post, we're working on SysCP 1.3, largely following the proposals of SysCP EP01. We've already implemented most of the backend changes:
Also on the frontend side we're going pretty well:
Also a lot of bugfixes were added, as well as the theme by me and Luca Piona (which is also default in 1.2.14 now, yay!), thanks to EleRas for porting that to the SysCP 1.3 structure! We also should now be E_ALL and E_STRICT compliant on PHP 5.1.6 at least (that's what me and EleRas tested with, no more warnings, yay!). The PHPBeautifier SysCP filter also was ran over the whole codebase, and yelded very good results and a much more readable and beautiful code (it's all about beauty today, isn't it? And as EleRas also already announced, we're currently working on splitting up all the language files into a modular structure, it's no difficult job, but a tedious, boring one! Plans for the future (future = SysCP 1.4 final release):
There's also some talk about adding some type of optional LDAP support sometimes in the future, we'll see about that... Ah, and MacOS X support is also planned, again sometimes in the future, this will probably mainly be done by flo, unless someone buys me a Mac Mini (Intel CPU, at least 1GB ram, contact me for a shipping address That's it. Best regards, CHTEKK. Sunday, July 30. 2006#gentoo-db
#gentoo-db has just opened it's (virtual) doors (or windows or terminals, depends on what IRC client you use
The new channel is intented to provide a platform for discussions, concerning both support and development, centering on Gentoo and databases. At the moment Gentoo MySQL and PostgreSQL people hang out there, but it's my hope to see other developers and/or teams that maintain database-related packages for Gentoo (Firebird, Oracle, SQLite, BerkeleyDB, ...) join too, as well as users with experience in SQL and database management, or just people intersted in databases and their uses. Best regards, CHTEKK. Friday, July 14. 2006New PHP revisions in the tree
For all those who wondered, PHP in Gentoo is definitely not dead.
Just put new revisions in the tree (dev-lang/php-4.4.2-r6 and dev-lang/php-5.1.4-r4), that fix various bugs and security issues. On that note, a big thanks to Stefan Esser from Hardened-PHP.net for all his patches and work on securing PHP (and of course the Hardened-PHP patch itself)! The new PHP revisions also introduce a better separation between eclasses and ebuilds, making their managing and addition of new features easier. One of those new additions for now is the "concurrentmodphp" USE flag. It enables to build mod_php4 and mod_php5 in a way that both can be loaded at the same time into the same Apache2 instance, each mod_php then has it's own mime-types (application/x-httpd-php4{-source} for PHP4 and application/x-httpd-php5{-source} for PHP5) and configuration modifiers (php4_admin_value/php4_admin_flag for PHP4 and php5_admin_value/php5_admin_flag for PHP5 and so on). This feature is highly experimental, I could confirm it working on my x86 system and partially on an x86_64 system, but I'd very much like for users to try it out on systems where breakage is allowed (developement systems or test systems) and report back their results to me (chtekk@gentoo.org), thanks! To try it, do the following: emerge --syncthen don't forget to "etc-update" and re-emerge ALL of your installed PHP modules/extensions (such as dev-php4/pecl-zip etc.). Also all this does not work with the "java-internal" (PHP4) and "sharedext" (PHP4/5) USE flags enabled, so be sure to disable them when you emerge php. Best regards, CHTEKK. Tuesday, July 11. 2006Speeding up MPM-itk
A few days ago I added support for MPM-itk ("mpm-itk" USE flag) to our Apache 2.0 packages. MPM-itk is a user-switching MPM, that is, it switches to an assigned user when processing the requests, instead of processing everything as user apache (MPM-perchild, metux-MPM and MPM-peruser are other examples of this).
In it's original form it accomplishes this by doing the following: apache process as root, interpret the request --> fork() new process and switch (setuid(unprivuid) / setgid(unprivgid)) to unprivileged user for it, process the request --> kill of the setuid/setgid process, with the next request it will redo the processNow, this is foolproof, but provokes an immense performance hit, especially on static pages. Benchmarks done with ab2 showed that a normal Apache2 (MPM-prefork) can process about 240 PHP req/sec and 4000 HTML req/seq, while the MPM-itk patched Apache 2.0 managed about 110 PHP req/sec and 240 HTML req/sec, so you see, the peformance hit is enormous, and it's obiously due to the overhead of always having to fork() a new Apache process and then kill if off, for every request! I managed to successfully change the way the MPM works, and thus managed to bring it's speed to normal Apache levels (patch against MPM-itk available here), by changing the "worfklow" like this: apache process as root, interpret the request --> switch (setresuid(unprivuid, unprivuid, 0) / setresgid(unprivgid, unprivgid, 0)) to unprivileged user, process the request --> switch back to root (setresuid(0, 0, 0) / setresgid(0, 0, 0)), with the next request it will redo the processNow this solves the performance problems, as it doesn't anymore do the extra fork(), and fully reuses the process with the next request, but it introduces a new problem: a gaping security hole. Sunday, May 21. 2006Old-style PHP, bye bye!
Adieu old-style PHP (dev-php/php et all)...
One of many ways to say that, as I'm posting this, I'm cvs up'ing the affected directories to start the removal of the already masked old-style PHP packages, as announced one month ago. For all the ones that didn't yet migrate... Well, migrate NOW! And generally, enjoy the fact that "emerge php" will now install dev-lang/php, and you won't have to specify the directory anymore. Best regards, CHTEKK. Saturday, April 22. 2006Old-style PHP finally masked
The title says it all, the old PHP packages were finally masked!
Sorry for the three days delay (22 Apr instead of 19 Apr), but in the end, it's all done. Again, thanks a lot to all the people involved in this, without their work this would have never been possible. Best regards, CHTEKK. Tuesday, April 18. 2006dev-lang/php minor updates
I've just committed some updates to dev-lang/php, two of which may interst you:
1) the "nls" USE flag, which previously enabled the gettext extension, the mbstring extension and the sqlite-utf8 support, now only enables the gettext extension. The mbstring extension and sqlite-utf8 support were moved under the "unicode" USE flag. Affected ebuilds were already updated. 2) the EXTRA_ECONF variable was added to dev-lang/php, that way you can easily pass your own configure parameters to the ebuild if you want to try out some crazy stuff, just do: EXTRA_ECONF="--with-whatever-I-want" emerge dev-lang/php Two little notes: the variable doesn't get saved or remebered between emerges, so you have to add it to the command line each time, and anything you do that way is *totally unsupported*, so don't ever file bugs about it, thanks. Best regards, CHTEKK. UPDATE: it was now changed to EXTRA_ECONF instead of MY_CONF, to follow what a lot of other ebuilds already do. Monday, April 17. 2006Old-style PHP packages vanishing
Your friendly service announcement:
The PHP Herd announces that the old-style PHP packages, which were unsupported and deprecated for months, are finally going away. After months of work, the team considers the new dev-lang/php package and the related dev-php[4,5]/ categories fully ready for production use, and encourage all users to upgrade. Helpful informations can be found at the PHP project's pages, along with a HOWTO regarding the migration to dev-lang/php. The old-style PHP packages (dev-php/php, dev-php/php-cgi, dev-php/mod_php, dev-php/PECL-*, and older dev-php/PEAR-* packages) will be package.masked on Wednesday, 19 April 2006, and removed from the Portage tree about a month later. Best regards, CHTEKK. |
QuicksearchSyndicate This BlogCreative CommonsCategoriesCalendar
Blog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||


Comments
Mon, 15.12.2008 13:45
That's nice to hear, but it's also interesting to know that good old app-misc/screen [...]
Mon, 01.12.2008 20:56
Thank you! I've been staying a way from screen except when I knew I needed to be able [...]
Sun, 08.07.2007 08:59
Same deal! Jeepers, it's not l ike an Apache major version up grade is a cakewalk for [...]
Sat, 09.06.2007 09:21
We rely on Apache 1.x. I teste d Apache 2.x and it never work ed properly with the mod [...]
Tue, 05.06.2007 02:24
WTF why was Apache 1 support dropped. This is retarded an d I'm sure breaks may pe [...]
Tue, 27.02.2007 17:37
Cause I'm lazy... Why should I go and search the links for e very blog or site of eve [...]
Tue, 27.02.2007 16:26
Why don't you link nicknames?
Sun, 31.12.2006 22:25
Damn, it seems you saw me, but I did not recognised you. I hope we can meet again s [...]
Sat, 28.10.2006 18:03
Can we use sane date formats? I had to take a double take an d read your entry again [...]
Wed, 18.10.2006 19:00
Ah ok, no problem, don't worry .