<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/  -->
<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:media='http://search.yahoo.com/mrss/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>mmaslano</title>
  <link>http://mmaslano.livejournal.com/</link>
  <description>mmaslano - LiveJournal.com</description>
  <lastBuildDate>Wed, 22 Feb 2012 14:43:32 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>mmaslano</lj:journal>
  <lj:journalid>22711161</lj:journalid>
  <lj:journaltype>personal</lj:journaltype>
  <atom10:link rel='hub' href='http://pubsubhubbub.appspot.com/' />
  <image>
    <url>http://l-userpic.livejournal.com/96559947/22711161</url>
    <title>mmaslano</title>
    <link>http://mmaslano.livejournal.com/</link>
    <width>83</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/7850.html</guid>
  <pubDate>Wed, 22 Feb 2012 14:43:32 GMT</pubDate>
  <title>Developer Conference - day 2</title>
  <link>http://mmaslano.livejournal.com/7850.html</link>
  <description>Luk&amp;aacute;&amp;scaron; Czerner had a one of the best talk here. Benefits of btrfs are a scalability more than 16&lt;a href=&quot;http://en.wikipedia.org/wiki/Exbibit&quot; rel=&quot;nofollow&quot;&gt;EiB&lt;/a&gt; (ext4 can reach 16TB). It should be possible to do a very fast file system checking, incremental backups and snapshots. It should be easy add/remove drives or add subvolumes. The main deficiencies at the moment are: fsync (not fully functional), virtualization is quite slow and also encryption is not implemented. It sounds to me like not ready as default for Fedora, but it might be good choice in the future.&lt;br /&gt;&lt;a href=&quot;http://pics.livejournal.com/mmaslano/pic/0000881f/&quot;&gt;&lt;img alt=&quot;kabi&quot; height=&quot;480&quot; src=&quot;http://pics.livejournal.com/mmaslano/pic/0000881f/s640x480&quot; style=&quot;border-width: 0pt; border-style: solid;&quot; width=&quot;580&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Later that day presented Edward &amp;quot;Joe&amp;quot; Thornber and Zdeněk Kabel&amp;aacute;č Thin provisioning and snapshots in device mapper. Joe showed the theoretical part of thin provisioning and Kabi showed how does it work in few easy commands. Lvm commands are often seen as too complex and hard to use by an average user, but the howto showed it doesn&amp;#39;t have to be true.&lt;br /&gt;&lt;br /&gt;Bryn Reeves had his second talk - How to lose data and implicate people, which was the best talk from the whole conference.&lt;br /&gt;He made a summary of common scenarios how to lose data. His presentation skills are awesome, so better look on the video, but the most funniest quotes were:&lt;ul&gt;&lt;li&gt;How long is an ohnosecond? Elapsed time between making a catastrophic error and realising what happened.&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Backups? We&amp;#39;ve heard of them...&lt;/li&gt;&lt;/ul&gt;Milan Brož had a talk about the disk encryption. He mentioned the benefits of a full disk encryption, where the key removal also means easy data disposal. Milan listed the possibilites of full disk encryption: hardware - encryption on disk controller (usb2sata on disk) - if the board broke, it&amp;#39;s hard to save data. And the software encryption: truecrypt,&amp;nbsp; loop-AES with external store for key, bitlocker (proprietary, windows), luks/dm-crypt - based on a strict separation of the disk encryption engine (dm-crypt) and the key-management (LUKS).&lt;br /&gt;&lt;a href=&quot;http://pics.livejournal.com/mmaslano/pic/00009rar/&quot;&gt;&lt;img alt=&quot;milan&quot; height=&quot;435&quot; src=&quot;http://pics.livejournal.com/mmaslano/pic/00009rar/s640x480&quot; style=&quot;border-width: 0pt; border-style: solid;&quot; width=&quot;580&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Don&amp;#39;t forget to vote for your &lt;a href=&quot;http://goo.gl/5V8TM&quot; rel=&quot;nofollow&quot;&gt;favourites&lt;/a&gt;.&lt;br /&gt;</description>
  <comments>http://mmaslano.livejournal.com/7850.html</comments>
  <category>brno</category>
  <category>red hat</category>
  <category>conference</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/7510.html</guid>
  <pubDate>Tue, 21 Feb 2012 12:53:46 GMT</pubDate>
  <title>Developer Conference - day 1</title>
  <link>http://mmaslano.livejournal.com/7510.html</link>
  <description>Radovan started the &lt;a href=&quot;http://fedoraproject.org/wiki/DeveloperConference2012&quot; rel=&quot;nofollow&quot;&gt;event&lt;/a&gt; with a short speech and also announced the Open House in Red Hat Brno office on April 4th as the next Red Hat related event.&lt;br /&gt;&lt;a href=&quot;http://pics.livejournal.com/mmaslano/pic/00005gsg/&quot;&gt;&lt;img alt=&quot;Radovan&quot; height=&quot;315&quot; src=&quot;http://pics.livejournal.com/mmaslano/pic/00005gsg/s640x480&quot; style=&quot;border-width: 0pt; border-style: solid;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Franti&amp;scaron;ek Řezn&amp;iacute;ček from MRG (Messaging, Realtime, Grid) spoke after him. His talk was called Towards Unified Messaging, where he presented their work, mentioned protocols used in their project - qpid and amqp. He shortly explained the asynchronous messaging and how the cooperation works between server and users.&lt;br /&gt;&lt;br /&gt;Bryn Reeves from support of storage had a lovely talk called - Supporting the Open Source Enterprise. He mentioned few examples from his area of work, but it&amp;#39;s probably the same for all open source projects. Problems with support of a project in various branches, support of older releases, which are unsupported by upstream and so on. What has changed in last few years are tools. Git made things easier, but there are also other tools worth looking at like OpenGrok or cscope.&lt;br /&gt;&lt;br /&gt;Jan Hutař presented &amp;quot;Software Robot Competition around the world&amp;quot;. He made an overview of different competitions in different disciplines and showed the most funniest videos. For my colleagues was important the Red Bot competition based on FIbot, where he announced the winner of the internal competition. Jan promissed the best &lt;a href=&quot;http://red-bot.rhcloud.com/node/7&quot; rel=&quot;nofollow&quot;&gt;videos&lt;/a&gt; from the Red Bot on youtube.&lt;br /&gt;&lt;br /&gt;Stanislav Kozina spoke about What can Linux learn from others. I felt that this talk was about how cool is Solaris, namely zfs and dtrace. I heard many times praise of both and they probably have many cool features. But I would prefer a comparison of programs or what are the deficiencies of these two. I guess drawbacks are everywhere.&lt;a href=&quot;http://pics.livejournal.com/mmaslano/pic/00006ebw/&quot;&gt;&lt;img alt=&quot;Phil&quot; height=&quot;375&quot; src=&quot;http://pics.livejournal.com/mmaslano/pic/00006ebw/s640x480&quot; style=&quot;border-width: 0pt; border-style: solid;&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Phil Knirsch made an overview of rpm and yum. I assume they spent a lot of time on looking into &amp;quot;yum is so slow&amp;quot; issues and aimed their work on the most irritating bugs. According to their research is rpm+yum only 4x slower than untar, so it&amp;#39;s very good because rpm+yum are doing installation and scriptlets, SElinux, depsolving and many more. Some projects claimed to be faster, but in that case they are &amp;quot;cheating&amp;quot;, because they are skipping some work. The most important future plan is using libsolv by SUSE as the depsolver. On the top of depsolver will be a new project, which will merge rpm+yum functionality into one tool, which will be introduced in Fedora 18.&lt;br /&gt;&lt;br /&gt;Jarda &amp;Scaron;karvada presented news from the Power Management. He announced the test day, where anyone can bring his/her own laptop into Red Hat Brno office for measurement or do the testing at home. They introduced new release of tuned 2.0, which have new profiles for power saving. He proposed a little controversial change to stop desktop application to run their flash/javascript/whatever during their minimalization. It would require patching for all Desktop Environments.&lt;br /&gt;&lt;br /&gt;Harald Hoyer and Kai Sievers presented their new look on FHS called - A streamlined and fully compatible Linux Filesystem Hierarchy. IMHO it&amp;#39;s another change for a change, which will probably create more problems for Fedora maintainers. I&amp;#39;m not quite sure what this change should bring to the user or the developer. Audience was arguing and they were arguing with Harald and Kai. We spoke afterwards, but I can&amp;#39;t say I&amp;#39;m convinced...</description>
  <comments>http://mmaslano.livejournal.com/7510.html</comments>
  <category>brno</category>
  <category>conference</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/6963.html</guid>
  <pubDate>Mon, 16 Jan 2012 14:28:10 GMT</pubDate>
  <title>ruby 1.9.3 in EL-6 branch</title>
  <link>http://mmaslano.livejournal.com/6963.html</link>
  <description>&lt;pre&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;The Ruby &lt;a href=&quot;http://bkabrda.fedorapeople.org/el_stack_rails_3.0.repo&quot; rel=&quot;nofollow&quot;&gt;repository&lt;/a&gt; contains ruby-1.9.3, rails-3.0.10, and group of essential gems. 
Everything from collection can be installed by:
&lt;i&gt;yum install stack_rails_3.0
&lt;/i&gt;
Now, when the collection is installed, the rails version &lt;/span&gt;&lt;span style=&quot;font-size:medium;&quot;&gt;can be verified.&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;pre&gt;&lt;i&gt;&lt;span style=&quot;font-size:medium;&quot;&gt;stack enable rails_3.0 &amp;#39;rails -v&amp;#39;

&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size:medium;&quot;&gt;As mentioned above, the only difference between running commands inside and 
outside stack is using the &lt;tt&gt;stack&lt;/tt&gt; command. If you want run your own rails3 
application, then you simply install the Ruby stack. In the directory, 
where is located your application run:&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;pre&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;i&gt;stack enable rails_3.0 &amp;#39;rails new app_name&amp;#39;
&lt;/i&gt;
Now you can develop in this directory, but everything must be executed within 
the stack environment. For running rails server you can use the command:
&lt;/span&gt;&lt;i&gt;stack enable rails_3.0 &amp;#39;rails server&amp;#39;&lt;/i&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;But you can also run a new shell:
&lt;/span&gt;&lt;span style=&quot;font-size:medium;&quot;&gt;&lt;i&gt;2/ stack enable rails_3.0 bash&lt;/i&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;where the Stack Ruby will override the system Ruby. In the new shell will be used
the Ruby from Stack, but also all gems and everything, what is provided by this
software collection.
&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;Notes to installation: The Ruby software collection was built with the old utility and macros, so it&amp;#39;s needed to install &lt;a href=&quot;http://jnovy.fedorapeople.org/stack-repo/stack-repo.noarch.rpm&quot; rel=&quot;nofollow&quot;&gt;stack&lt;/a&gt; instead of scl-utils from EPEL before you start. In the future will be all software collections using dsc prefix and scl-utils from EPEL repository.</description>
  <comments>http://mmaslano.livejournal.com/6963.html</comments>
  <category>packaging</category>
  <category>ruby</category>
  <category>rpm</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/6685.html</guid>
  <pubDate>Thu, 12 Jan 2012 08:01:02 GMT</pubDate>
  <title>Dynamic Software Collections</title>
  <link>http://mmaslano.livejournal.com/6685.html</link>
  <description>Collections should provide new or old version of software packaged in rpm. Imagine you have for example EL-6 and you want use new features from Perl 5.14.x. Update of system Perl is not possible, because it would bring changes incompatible with other system packages. Or you have application running on Ruby 1.8.x and in Fedora 17 will be Ruby 1.9. Collections are groups of packages, which are using different paths for installation, so those packages shouldn&amp;#39;t influence the system environment. It should be possible work with both versions. The system one is linked to application like vim or netsnmp and the collection package could be executed in his own shell and used only there.&lt;br /&gt;&lt;br /&gt;Currently, there are prepared few repositories of Ruby and one repository of Perl for testing purposes.&lt;br /&gt;&lt;br /&gt;As the maintainer of Perl I&amp;#39;ll show all examples on perl 5.14.2, which is prepared for &lt;a href=&quot;http://mmaslano.fedorapeople.org/repository/perl-stack.repo&quot; rel=&quot;nofollow&quot;&gt;EL-6&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;How does it work:&lt;br /&gt;&amp;nbsp;* install scl-utils. This package will provide macros, which are needed for running software collection. The scl-utils-build package is needed only as build requirement.&lt;br /&gt;&amp;nbsp;* pick a collection, in this case Perl. &lt;i&gt;yum install perl514* &lt;/i&gt;Perl collection includes upstream tar ball, DBI, FCGI.&lt;br /&gt;&lt;br /&gt;The installed version can be verified by:&lt;br /&gt;&lt;i&gt;scl enable perl514 &amp;#39;perl -V&amp;#39;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Setting SElinux rules should be easy by using same contexts on new directories:&lt;br /&gt;&lt;i&gt;semanage fcontext -a -e /usr /opt/rh/perl514/&lt;br /&gt;restorecon -R -v /opt/rh/perl514/&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;If you run new session, you can use there new version only:&lt;br /&gt;&lt;i&gt;scl enable perl514 bash&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;For example execute &lt;i&gt;perl -V&lt;/i&gt;, which shows information about your Perl. Let&amp;#39;s look at paths specific for this collection:&lt;br /&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @INC:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/rh/perl514/root/usr/local/lib64/perl5&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/rh/perl514/root/usr/local/share/perl5&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/rh/perl514/root/usr/lib64/perl5/vendor_perl&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/rh/perl514/root/usr/share/perl5/vendor_perl&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/rh/perl514/root/usr/lib64/perl5&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/rh/perl514/root/usr/share/perl5&lt;/i&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;br /&gt;&lt;br /&gt;&lt;strike&gt;Ruby collection is using rails_3.0 instead of perl514 in path. They started creating their collection sooner than me, so they are using old macros. For working with their ruby stack, you need install &lt;a href=&quot;http://jnovy.fedorapeople.org/stack-repo/stack-repo.noarch.rpm&quot; rel=&quot;nofollow&quot;&gt;macros&lt;/a&gt; and enable the &lt;a href=&quot;http://bkabrda.fedorapeople.org/stack_rails_3.0.repo&quot; rel=&quot;nofollow&quot;&gt;repository&lt;/a&gt; for Fedora or &lt;a href=&quot;http://bkabrda.fedorapeople.org/rhel-6-rails30.repo&quot; rel=&quot;nofollow&quot;&gt;EL-6&lt;/a&gt;.&lt;br /&gt;&lt;i&gt;yum install stack_rails_3.0&lt;/i&gt; should install whole Ruby stack and &lt;i&gt;stack enable rails_3.0 &amp;#39;rails -v&amp;#39;&lt;/i&gt; should verify the path.&lt;/strike&gt;&lt;br /&gt;Update: Next article should be about the functional installation of Ruby 1.9.x on EL-6.&lt;br /&gt;</description>
  <comments>http://mmaslano.livejournal.com/6685.html</comments>
  <category>packaging</category>
  <category>perl</category>
  <category>ruby</category>
  <category>rpm</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/6608.html</guid>
  <pubDate>Sat, 04 Jun 2011 19:34:51 GMT</pubDate>
  <title>Fedora elections</title>
  <link>http://mmaslano.livejournal.com/6608.html</link>
  <description>Did you know that Fedora elections already started? End of voting is 8th June for FESCo and 9th for Board. Don&apos;t forget to &lt;a href=&quot;https://admin.fedoraproject.org/voting/&quot; rel=&quot;nofollow&quot;&gt;vote&lt;/a&gt; for your favourites!&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://pics.livejournal.com/mmaslano/pic/00004ye8/&quot;&gt;&lt;img width=&quot;250&quot; height=&quot;250&quot; border=&quot;0&quot; align=&quot;absMiddle&quot; src=&quot;http://pics.livejournal.com/mmaslano/pic/00004ye8&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;</description>
  <comments>http://mmaslano.livejournal.com/6608.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/6239.html</guid>
  <pubDate>Fri, 03 Jun 2011 18:56:25 GMT</pubDate>
  <title>Howto create RPM filters</title>
  <link>http://mmaslano.livejournal.com/6239.html</link>
  <description>Rpm 4.9 brought change of macros. They do not have much &lt;a href=&quot;http://rpm.org/wiki/PackagerDocs/DependencyGenerator&quot; rel=&quot;nofollow&quot;&gt;documentation&lt;/a&gt;, but I was able to create something with help of rpm guys. Thanks.&lt;br /&gt;&lt;br /&gt;Now you can define and use your own generator of dependency, which could be handy if your packages have specific needs. New macros have only extended regular expressions, not Perl regular expressions :(&lt;br /&gt;&lt;br /&gt;1. create filter for your favourite package:&lt;br /&gt;/etc/rpm/macros.myfavourite&lt;br /&gt;&lt;br /&gt;2. define your own generator&lt;br /&gt;%global __favourite_provides /usr/lib/rpm/favourite.prov&lt;br /&gt;%global __favourite_requires /home/user/favourite_inprocess.req&lt;br /&gt;&lt;br /&gt;3. filter *.so, which don&apos;t have to be provided&lt;br /&gt;%favourite_default_filter %{expand: \&lt;br /&gt;%global __provides_exclude_from %{_share}/favourite/.*\.so|%{_sbindir}/.*\.so&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;4. change it to filter *.so and also unwanted require MyPage&lt;br /&gt;%favourite_default_filter %{expand: \&lt;br /&gt;%global __provides_exclude_from %{_share}/favourite/.*\.so|%{_sbindir}/.*\.so&lt;br /&gt;%global __requires_exclude favourite\\\\(MyPage\\\\)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;5. use it in your favourite package before prep&lt;br /&gt;%description&lt;br /&gt;This is favourite package..&lt;br /&gt;&lt;br /&gt;%{?favourite_default_filter}&lt;br /&gt;&lt;br /&gt;%prep&lt;br /&gt;&lt;br /&gt;6. Provides and requires added manually before prep section are not filtered, because they are added after filtering.&lt;br /&gt;&lt;br /&gt;And example for perl-DBI package. In case there is more provides to be filtered, it&apos;s getting uglier.&lt;br /&gt;&lt;br /&gt;# filter provides, which you don&apos;t want in all Perl packages&lt;br /&gt;%perl_default_filter&lt;br /&gt;# don&apos;t overwrite exclusion of provides, just add another&lt;br /&gt;%global __provides_exclude %{?__provides_exclude}|perl\\(DBI\\)&lt;br /&gt;%global __requires_exclude %{?__requires_exclude}|perl\\(RPC::</description>
  <comments>http://mmaslano.livejournal.com/6239.html</comments>
  <category>rpm</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/5936.html</guid>
  <pubDate>Thu, 31 Mar 2011 18:15:14 GMT</pubDate>
  <title>Perl is used everywhere and 5.14 is out</title>
  <link>http://mmaslano.livejournal.com/5936.html</link>
  <description>Probably, not only I have to answer again and again that Perl is life and widely used. &lt;a href=&quot;http://szabgab.com/&quot; rel=&quot;nofollow&quot;&gt;Gabor Szabo&lt;/a&gt; had nice idea to make a social net, where are stored list of Perl products, companies and employers. At the moment there is growing &lt;a href=&quot;https://www.socialtext.net/perl5/companies_using_perl&quot; rel=&quot;nofollow&quot;&gt;list&lt;/a&gt; of companies using Perl. I was very happy to hear that even CERN&amp;nbsp;is using Perl to manage their grids, and not only them. There is also &lt;a href=&quot;https://www.socialtext.net/perl5/applications&quot; rel=&quot;nofollow&quot;&gt;list&lt;/a&gt; of applications, which are written in Perl, &lt;a href=&quot;https://www.socialtext.net/perl5/websites_using_perl&quot; rel=&quot;nofollow&quot;&gt;web-pages&lt;/a&gt; like &lt;a href=&quot;http://www.imdb.com&quot; rel=&quot;nofollow&quot;&gt;www.imdb.com&lt;/a&gt; or &lt;a href=&quot;http://www.bbc.co.uk/&quot; rel=&quot;nofollow&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;BBC&lt;/span&gt;&lt;/a&gt; and frameworks like &lt;a href=&quot;http://www.catalystframework.org/&quot; rel=&quot;nofollow&quot;&gt;Catalyst&lt;/a&gt;, &lt;a href=&quot;http://perldancer.org/&quot; rel=&quot;nofollow&quot;&gt;Dancer&lt;/a&gt;, and many more.&lt;br /&gt;&lt;br /&gt;New &lt;a href=&quot;http://perldoc.perl.org/perldelta.html&quot; rel=&quot;nofollow&quot;&gt;Perl 5.14&lt;/a&gt; was released few weeks ago and I&apos;d like to bring it as a &lt;a href=&quot;https://fedoraproject.org/wiki/Features/perl5.14&quot; rel=&quot;nofollow&quot;&gt;feature&lt;/a&gt; into F-16. Hopefully, this time will be possible to do rebuild of all Perl related packages in more automatic way and the whole process will take less time. So, for Perl in F-16 we are preparing:&lt;br /&gt;* better generating of provides and requires by external generator&lt;br /&gt;* using new rpm macros, which works since rpm4.9 and there will be in updated &lt;a href=&quot;https://fedorahosted.org/fpc/ticket/76&quot; rel=&quot;nofollow&quot;&gt;guidelines&lt;/a&gt;&lt;br /&gt;* and script for automatic rebuilds based on dependencies&lt;br /&gt;&lt;br /&gt;</description>
  <comments>http://mmaslano.livejournal.com/5936.html</comments>
  <category>update</category>
  <category>perl</category>
  <category>fedora</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/5878.html</guid>
  <pubDate>Fri, 03 Dec 2010 13:18:21 GMT</pubDate>
  <title>systemd in Fedora</title>
  <link>http://mmaslano.livejournal.com/5878.html</link>
  <description>Lennart&apos;s systemd doesn&apos;t replace only sysvinit/upstart, but also make &lt;a href=&quot;http://0pointer.de/public/systemd-man/daemon.html#id2562029&quot; rel=&quot;nofollow&quot;&gt;chkconfig redundant&lt;/a&gt; if sysvinit rc scripts are thrown away and only systemd units are used. &lt;br /&gt;&lt;br /&gt;There is the systemd packaging &lt;a href=&quot;https://fedoraproject.org/wiki/TomCallaway/Systemd_Revised_Draft&quot; rel=&quot;nofollow&quot;&gt;guideline draft&lt;/a&gt;, which suggest use only systemctl command which can set up correct units symlinks.&lt;br /&gt;&lt;br /&gt;But what should be done with chkconfig, which is used for upstart/sysvinit is still not known. I&apos;m running my rawhide machine with upstart, so I rewrote cronie scriptlets with both options for the mean time. Other possibility would be to:&lt;ol&gt;&lt;li&gt;package all old scriptlets into new-package, probably upstart-initscripts. Upstart maintainer has to be contact for every change.&lt;/li&gt;&lt;li&gt;create sub-packages for every daemon with legacy initscripts. &lt;/li&gt;&lt;/ol&gt;This should be decided by guys from Fedora packaging guidelines&amp;nbsp; probably. It&apos;s sure that rawhide will be broken more than usual ;-)&lt;br /&gt;&lt;br /&gt;# scriptlets in cronie&lt;br /&gt;%post&lt;br /&gt;/sbin/chkconfig --add crond&lt;br /&gt;# systemd&lt;br /&gt;/bin/systemctl enable crond.service &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 || :&lt;br /&gt;&lt;br /&gt;%preun&lt;br /&gt;if [ &amp;quot;$1&amp;quot; = &amp;quot;0&amp;quot; ]; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; service crond stop &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 ||:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /sbin/chkconfig --del crond&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # systemd&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /bin/systemctl disable crond.service &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 || :&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /bin/systemctl stop crond.service &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 || :&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;%postun&lt;br /&gt;if [ &amp;quot;$1&amp;quot; -ge &amp;quot;1&amp;quot; ]; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; service crond condrestart &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 ||:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # systemd&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /bin/systemctl try-restart crond.service &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 || :&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;Another interesting change is that some (suggested) deamons runs in foreground (crond -n). Systemd&apos;s initscript is completely different from sysvinit&apos;s.&lt;br /&gt; &lt;br /&gt; # cronie.systemd&lt;br /&gt; [Unit]&lt;br /&gt; Description=Command Scheduler&lt;br /&gt; After=syslog.target&lt;br /&gt; &lt;br /&gt; [Service]&lt;br /&gt; EnvironmentFile=/etc/sysconfig/crond&lt;br /&gt; ExecStart=/usr/sbin/crond -n $CRONDARGS&lt;br /&gt; &lt;br /&gt; [Install]&lt;br /&gt; WantedBy=multi-user.target</description>
  <comments>http://mmaslano.livejournal.com/5878.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/5422.html</guid>
  <pubDate>Mon, 29 Nov 2010 18:29:13 GMT</pubDate>
  <title>Thanks</title>
  <link>http://mmaslano.livejournal.com/5422.html</link>
  <description>Thanks to all of you who voted for me. I will try to do my best.&lt;br /&gt;&lt;br /&gt;Results:&lt;br /&gt;&lt;a href=&apos;http://lwn.net/Articles/417600/&apos; rel=&apos;nofollow&apos;&gt;http://lwn.net/Articles/417600/&lt;/a&gt;&lt;br /&gt;(...and thanks for fixing my name ;-) ).</description>
  <comments>http://mmaslano.livejournal.com/5422.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/5335.html</guid>
  <pubDate>Sat, 20 Nov 2010 12:57:11 GMT</pubDate>
  <title>Fedora elections</title>
  <link>http://mmaslano.livejournal.com/5335.html</link>
  <description>Today started Fedora elections. I candidate for FESCO, because I believe there should be represented also non-desktop developers.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://fedoraproject.org/wiki/Development/SteeringCommittee/Nominations&quot; rel=&quot;nofollow&quot;&gt;Statements&lt;/a&gt;, &lt;a href=&quot;https://fedoraproject.org/wiki/F15_elections_questionnaire&quot; rel=&quot;nofollow&quot;&gt;questionnaire&lt;/a&gt; and IRC &lt;a href=&quot;http://meetbot.fedoraproject.org/fedora-townhall/2010-11-18/fesco-townhall.2010-11-18-15.02.log.html&quot; rel=&quot;nofollow&quot;&gt;log&lt;/a&gt; with answers could be found on wiki pages.&lt;br /&gt;&lt;br /&gt;You can &lt;a href=&quot;https://admin.fedoraproject.org/voting&quot; rel=&quot;nofollow&quot;&gt;vote here&lt;/a&gt; until the 28th November.</description>
  <comments>http://mmaslano.livejournal.com/5335.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/4906.html</guid>
  <pubDate>Wed, 17 Nov 2010 20:44:37 GMT</pubDate>
  <title>PSPad</title>
  <link>http://mmaslano.livejournal.com/4906.html</link>
  <description>Do you need from time to time good editor for working with documents or source codes on Windows? For this exceptions I always used &lt;a href=&quot;http://www.pspad.com/&quot; rel=&quot;nofollow&quot;&gt;PSPad&lt;/a&gt;. Even it isn&apos;t working on Linux, it&apos; still great because:&lt;ul&gt;&lt;li&gt;it&apos;s freeware&lt;/li&gt;&lt;li&gt;it was written by Czech guy&lt;/li&gt;&lt;li&gt;and it can switch between different encoding and languages&lt;/li&gt;&lt;/ul&gt;</description>
  <comments>http://mmaslano.livejournal.com/4906.html</comments>
  <category>ide</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/4660.html</guid>
  <pubDate>Mon, 04 Oct 2010 11:26:11 GMT</pubDate>
  <title>fedpkg broken for new packages</title>
  <link>http://mmaslano.livejournal.com/4660.html</link>
  <description>Today I wonder what&apos;s wrong with fedpkg. If you are trying to create new package and you have asked for master branch only, you&apos;ll be surprised.&lt;br /&gt;[marca@localhost perl-Convert-UU]$ fedpkg new-sources Convert-UU-0.5201.tar.gz&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/bin/fedpkg&amp;quot;, line 1086, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; args.command(args)&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/bin/fedpkg&amp;quot;, line 569, in new_sources&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mymodule = pyfedpkg.PackageModule(args.path)&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py&amp;quot;, line 938, in __init__&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.distval = self._findmasterbranch()&lt;br /&gt;&amp;nbsp; File &amp;quot;/usr/lib/python2.6/site-packages/pyfedpkg/__init__.py&amp;quot;, line 886, in _findmasterbranch&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return(int(fedoras[-1].strip(&apos;f&apos;)) + 1)&lt;br /&gt;IndexError: list index out of range&lt;br /&gt;&lt;br /&gt;You can fix it manually by:&lt;br /&gt;&lt;pre&gt;
$ echo &amp;quot;Convert-UU-0.5201.tar.gz&amp;quot; &amp;gt; .gitignore
$ md5sum &amp;quot;Convert-UU-0.5201.tar.gz&amp;quot; &amp;gt; sources
$ curl -k --cert ~/.fedora.cert \
  -F &amp;quot;name=perl-Convert-UU&amp;quot;
  -F &amp;quot;md5sum=f60f49d15770503efa5ed0c81296ef2f&amp;quot; \
  -F &amp;quot;file=@Convert-UU-0.5201.tar.gz&amp;quot; \
  &lt;a href=&quot;https://pkgs.fedoraproject.org/repo/pkgs/upload.cgi&quot; rel=&quot;nofollow&quot;&gt;https://pkgs.fedoraproject.org/repo/pkgs/upload.cgi&lt;/a&gt;
$ git add .gitignore sources perl-Convert-UU
$ git commit
$ git push
$ koji build dist-f15 \
  &amp;quot;git://pkgs.fedoraproject.org/perl-Convert-UU#$(&amp;lt;.git/refs/heads/master)&amp;quot;&lt;/pre&gt;Pay attention to @ before source file in curl options. Without it you can wonder why is source missing forever. All credit goes to ppisar, who created this nice &lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=619979#c16&quot; rel=&quot;nofollow&quot;&gt;workaround&lt;/a&gt;.</description>
  <comments>http://mmaslano.livejournal.com/4660.html</comments>
  <category>perl</category>
  <category>fedpkg</category>
  <category>fedora</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/4571.html</guid>
  <pubDate>Thu, 02 Sep 2010 20:09:03 GMT</pubDate>
  <title>Renaissance of Perl</title>
  <link>http://mmaslano.livejournal.com/4571.html</link>
  <description>This year was European conference YetAnotherPerlConference in Pisa with subtitle Renaissance of Perl. Finally, I found &lt;a href=&quot;http://www.presentingperl.org/ye2010&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt; on videos from there. My favourite advertiser of Perl and the maker of &lt;a href=&quot;http://padre.perlide.org/&quot; rel=&quot;nofollow&quot;&gt;Perl IDE&lt;/a&gt; Gabor Szabo had a speech about &lt;a href=&quot;http://www.presentingperl.org/ye2010/padre-ide/&quot; rel=&quot;nofollow&quot;&gt;Padre&lt;/a&gt;. But it was also about how start an open source project and how find community of developers. &lt;br /&gt;Perl programmers could have fun with Dave Cross &lt;a href=&quot;http://www.presentingperl.org/ye2010/perl-vogue/&quot; rel=&quot;nofollow&quot;&gt;Vogue&lt;/a&gt;. Other people probably won&apos;t understand what&apos;s so funny ;-)&lt;br /&gt;I was looking forward to speech about changes in the latest release - &lt;a href=&quot;http://www.presentingperl.org/ye2010/new-in-perl-5-12/&quot; rel=&quot;nofollow&quot;&gt;perl5.12&lt;/a&gt;. Very interesting was presentation about &lt;a href=&quot;http://www.presentingperl.org/ye2010/migration-strategies/&quot; rel=&quot;nofollow&quot;&gt;migration&lt;/a&gt; from old to new release of software by Allison Randal. She was speaking about different approaches by projects like apache or python and why it is not possible to push users to new releases.&lt;br /&gt;Many speeches were about Perl6: &lt;a href=&quot;http://www.presentingperl.org/ye2010/not-quite-perl/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://www.presentingperl.org/ye2010/perl-6-signatures-the-full-story/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://www.presentingperl.org/ye2010/perl-6-prince-of-parsea/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, which brings me back to Padre, which has plugins for programming in Perl6.&lt;br /&gt;&lt;br /&gt;Perl6 is popular topic these days, so hopefully we will have Rakudo star in Fedora 14. Gerd Pokorra wants it as a feature and I&apos;m reviewing the package. It should bring some new tools for Perl6 and replace the old rakudo.</description>
  <comments>http://mmaslano.livejournal.com/4571.html</comments>
  <category>parrot</category>
  <category>perl</category>
  <category>rakudo</category>
  <category>perl6</category>
  <category>padre</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/4155.html</guid>
  <pubDate>Fri, 30 Jul 2010 10:50:25 GMT</pubDate>
  <title>Fedora moved to git</title>
  <link>http://mmaslano.livejournal.com/4155.html</link>
  <description>Hurray, Fedora is finally using git. And because maintainers are used to cvs branches, there exists handy tool fedpkg, which makes our lives easier. The full list of new fedpkg and old cvs/make commands  could be found &lt;a href=&quot;https://fedoraproject.org/wiki/Using_Fedora_GIT&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. It looks like everything is working fine if you have the latest fedora-packager (0.5.1.0) from koji. With older releases wasn&apos;t possible to access branches with fedpkg by &lt;br /&gt;&lt;br /&gt;&lt;em&gt;fedpkg switch-branch f13&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;which will be my favourite command.&lt;br /&gt;Also there are inconveniences like local builds&lt;br /&gt;&lt;em&gt;&lt;br /&gt; fedpkg local&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;because it doesn&apos;t show the build process until the build has finished. Also file .build-your-favourite-package-nvr is created after the build has finished.&lt;br /&gt;&lt;br /&gt;Update: proposed &lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=619733&quot; rel=&quot;nofollow&quot;&gt;patch&lt;/a&gt; and &lt;a href=&quot;http://mmaslano.fedorapeople.org/fdpkg/fedora-packager-0.5.1.0-2.fc15.src.rpm&quot; rel=&quot;nofollow&quot;&gt;srpm&lt;/a&gt;.</description>
  <comments>http://mmaslano.livejournal.com/4155.html</comments>
  <category>git</category>
  <category>fedora</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/3855.html</guid>
  <pubDate>Fri, 14 May 2010 16:00:07 GMT</pubDate>
  <title>perl 5.12.1 release candidate</title>
  <link>http://mmaslano.livejournal.com/3855.html</link>
  <description>I didn&apos;t have much time lately for further testing, but at least I tried rebuild of the latest (second) release candidate of perl 5.12.1. All tests passed, but I didn&apos;t have time to install it and try more. Brave ones can try rebuild &apos;rpmbuild --rebuild &lt;a href=&quot;http://mmaslano.fedorapeople.org/perl-5.12/perl-5.12.1-123.fc14.src.rpm&quot; rel=&quot;nofollow&quot;&gt;perl-5.12.1-123.fc14.src.rpm&lt;/a&gt;&apos; and experiment on their rawhide machines. &lt;br /&gt;&lt;br /&gt;Hopefully with help of perl-SIG will be all modules ready and it will be possible to put them into rawhide, future F-14. I suppose that in F-14 will be 5.12.1 and 5.12.0 stays only in testing buildroot.</description>
  <comments>http://mmaslano.livejournal.com/3855.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/3717.html</guid>
  <pubDate>Fri, 07 May 2010 21:28:10 GMT</pubDate>
  <title>comment to never-ending thread with hall monitor</title>
  <link>http://mmaslano.livejournal.com/3717.html</link>
  <description>Jarda at his &lt;a href=&quot;http://borntobeopen.blogspot.com/2010/05/dissents-just-quick-reply.html&quot; rel=&quot;nofollow&quot;&gt;blog&lt;/a&gt; and Karel, Matěj and others in mailing list nicely sum up, what I have on my mind and what&apos;s bothering me for last few weeks. I can only add censorship is simply bad and it&apos;s really sad if it has to be explained. Especially if one of the main Fedora values is freedom.&lt;br /&gt;&lt;br /&gt;Suggested reading for this weekend: George Orwell - 1984 ;-)</description>
  <comments>http://mmaslano.livejournal.com/3717.html</comments>
  <lj:music>The Prostitutes - Look Into My Eyes (bonus track) | Powered by Last.fm</lj:music>
  <media:title type="plain">The Prostitutes - Look Into My Eyes (bonus track) | Powered by Last.fm</media:title>
  <lj:mood>sad</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/3470.html</guid>
  <pubDate>Fri, 07 May 2010 21:14:47 GMT</pubDate>
  <title>Update of Perl to 5.12</title>
  <link>http://mmaslano.livejournal.com/3470.html</link>
  <description>Last few weeks I was working on update of perl to the latest stable version. I was using release candidates and prepare rebuild of all modules. This time was rebuild quite painful, because some things were &lt;a href=&quot;http://perldoc.perl.org/perldelta.html#Deprecations&quot; rel=&quot;nofollow&quot;&gt;deprecated&lt;/a&gt;. Perl changed way of releasing new versions and now will be every spring released new stable version and during the year will be released bug fixes version. I believe this helps maintainers and also perl. Some things will be deprecated and new features will be added, therefore it should help perl to keep up with other languages.&lt;br /&gt;&lt;br /&gt;I&apos;ve started mass rebuild of perl modules in my own test buildroot. I didn&apos;t find any script in fedora-packager for it, which surprised me a lot. For a next update I have to write something more sofisticated, which can handle dependencies at least for perl. This time was used only rpmdev-bumpspec, which can update spec file with defined strings. Next surprise was that chain build doesn&apos;t work at all. Anyway in many cases was needed fix specfile manually, or update version or apply patch, so chain builds can&apos;t help much.&lt;br /&gt;&lt;br /&gt;The most common issues were (and still are):&lt;br /&gt;- missing Class::ISA which has been deprecated. That was easy to fix by creating rpm. Perl is printing out that deprecated module is used, so it&apos;s at least easy to find out what&apos;s the problem.&lt;br /&gt;- test t/99_pmv.t which is checking version is broken at the moment. The problem is somewhere in Perl::MinimumVersion and maybe perl(version) which can&apos;t handle new release &lt;a href=&quot;https://rt.cpan.org/Public/Bug/Display.html?id=56081&quot; rel=&quot;nofollow&quot;&gt;number&lt;/a&gt;. But that&apos;s also easy to fix for the meantime by removing this particular test from build.&lt;br /&gt;- some other modules are using deprecated syntax (e.g defined with hash %). &lt;br /&gt;There are some other strange warnings, but these probably will disappear after fixing major dependency. At the moment&lt;br /&gt;I found some that can&apos;t be fixed because they are old, unmaintained, but I wait with final list after I succeed with most of the easy ones.&lt;br /&gt;One of the complicated is Regexp::Copy as Ian Arnell &lt;a href=&quot;http://lists.fedoraproject.org/pipermail/perl-devel/2010-May/022607.html&quot; rel=&quot;nofollow&quot;&gt;spotted&lt;/a&gt;. It can&apos;t handle regexps with 5.12, which means we have to &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580328&quot; rel=&quot;nofollow&quot;&gt;left it out&lt;/a&gt;. So that&apos;s one module which can&apos;t make it. Hopefully not many ends up the same.</description>
  <comments>http://mmaslano.livejournal.com/3470.html</comments>
  <lj:music>The Prostitutes - She&apos;s a Monster (bonus track) | Powered by Last.fm</lj:music>
  <media:title type="plain">The Prostitutes - She&apos;s a Monster (bonus track) | Powered by Last.fm</media:title>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/3272.html</guid>
  <pubDate>Tue, 06 Apr 2010 13:47:37 GMT</pubDate>
  <title>Annoying restarts of KDM</title>
  <link>http://mmaslano.livejournal.com/3272.html</link>
  <description>Few releases ago I started to be annoyed with kdm, because it can&apos;t be killed easily. After every killed process there was new one started. KDM&amp;nbsp; is now executed with nodeamon option and it&apos;s started as an upstart &amp;quot;job&amp;quot;. All configuration job files are stored in /etc/init/.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;# cat configuration file for prefered DM&lt;br /&gt;&lt;em&gt;cat /etc/init/prefdm.conf&lt;br /&gt;&lt;br /&gt;start on stopped rc RUNLEVEL=5&lt;br /&gt;&lt;br /&gt;stop on runlevel [!5]&lt;br /&gt;&lt;br /&gt;console output&lt;br /&gt;respawn&lt;br /&gt;respawn limit 10 120&lt;br /&gt;exec /etc/X11/prefdm -nodaemon&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;The job can be stopped in command line by simple &amp;quot;stop prefdm&amp;quot; as root. Nice. Upstart brought many changes that are well documented, but sometimes is hard to find where to start looking.</description>
  <comments>http://mmaslano.livejournal.com/3272.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/3061.html</guid>
  <pubDate>Tue, 30 Mar 2010 16:27:41 GMT</pubDate>
  <title>Perl dual-lived modules in Fedora</title>
  <link>http://mmaslano.livejournal.com/3061.html</link>
  <description>Last few weeks we were discussing on &lt;a href=&quot;http://fedoraproject.org/wiki/SIGs/Perl#Fedora_Perl_SIG_Mission&quot; rel=&quot;nofollow&quot;&gt;perl-sig&lt;/a&gt; mailing list, how should we create better updates of perl core modules. Modules in core are e.g. ExtUtils::MakeMaker and this could be a blocker for many new interesting packages which we want see in distribution. So we had no other choice than update the whole perl package, which doesn&apos;t make no-one happy. Users complain about big and often updates and maintainers about broken tests etc. &lt;br /&gt;&lt;br /&gt;The solution is quite simple - create dual-lived modules. Now we are in process of creating cvs branches for separated modules and hopefully we&apos;ll be able to update easily and more often. The process of creating dual-lived module is desribed &lt;a href=&quot;https://fedoraproject.org/wiki/Perl/updates&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; and list of blocker bug &lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=577669&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, which tag currently targeted modules.&lt;br /&gt;&lt;br /&gt;Moreover Chris Weyl added new macros into perl.macros, which provide better filtering of unversioned provides/requires in specfile. And he&apos;s also working on &lt;a href=&quot;http://search.cpan.org/dist/Fedora-App-MaintainerTools/&quot; rel=&quot;nofollow&quot;&gt;tool&lt;/a&gt; for automatic updates of packages from CPAN. And today he had updated &lt;a href=&quot;http://perl.rsrchboy.net/packages&quot; rel=&quot;nofollow&quot;&gt;database&lt;/a&gt; of perl modules in Fedora which looks cool and for Perl maintainers it is more handy than Fedora package &lt;a href=&quot;https://admin.fedoraproject.org/pkgdb/acls/list/?searchwords=*perl-CGI-*&quot; rel=&quot;nofollow&quot;&gt;database&lt;/a&gt;.</description>
  <comments>http://mmaslano.livejournal.com/3061.html</comments>
  <category>perl</category>
  <category>modules</category>
  <category>updates</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/2651.html</guid>
  <pubDate>Tue, 26 Jan 2010 15:40:42 GMT</pubDate>
  <title>saving with micromiser?</title>
  <link>http://mmaslano.livejournal.com/2651.html</link>
  <description>I heard about a program called micromiser which should be doing the same stuff as tuned in Fedora. It&apos;s closed source &lt;br /&gt;and they offer they package as binary for different distros. The only thing which is visible to user is output &lt;br /&gt;in /var/log/messages, something like:&lt;br /&gt;Jan 25 09:48:32 arrakis micromiser[2260]: Estimated energy saved since MicroMiser start: 0.001049kWh (31.98%)&lt;br /&gt;&lt;br /&gt;I was suspicious how can be so much saved, so I tried for myself. From what I saw, the &quot;saved energy&quot; changed &lt;br /&gt;and was written into log after type of work was changed e.g. from compiling to reading. So I suppose they are &lt;br /&gt;doing almost the same things as we in tuned (hdparm, sysctl values, ...).&lt;br /&gt;&lt;br /&gt;On their web-pages is a short documentation. So, they are reading from /proc and changing sysctl values according to &lt;br /&gt;their findings. I tried to boot in level 3, switch off cron which could create some sort of activity and in this idle &lt;br /&gt;mode measure by wattmeter with/out micromiser.&lt;br /&gt;&lt;br /&gt;With micromiser on: 16 hours - 1.125kWh and fantastic numbers like:&lt;br /&gt;Jan 25 17:35:06 arrakis micromiser[15205]: Estimated energy saved since MicroMiser start: 0.001107kWh (33.74%)&lt;br /&gt;Jan 25 17:38:18 arrakis micromiser[15205]: Estimated energy saved since MicroMiser start: 0.002211kWh (33.45%)&lt;br /&gt;Jan 25 17:44:42 arrakis micromiser[15205]: Estimated energy saved since MicroMiser start: 0.004403kWh (33.15%)&lt;br /&gt;Jan 25 17:57:30 arrakis micromiser[15205]: Estimated energy saved since MicroMiser start: 0.008907kWh (33.48%)&lt;br /&gt;Jan 25 18:23:06 arrakis micromiser[15205]: Estimated energy saved since MicroMiser start: 0.018063kWh (33.91%)&lt;br /&gt;Jan 25 19:14:18 arrakis micromiser[15205]: Estimated energy saved since MicroMiser start: 0.035965kWh (33.74%)&lt;br /&gt;Jan 25 20:14:18 arrakis micromiser[15205]: Estimated energy saved since MicroMiser start: 0.057724kWh (34.14%)&lt;br /&gt;Jan 25 21:14:18 arrakis micromiser[15205]: Estimated energy saved since MicroMiser start: 0.078934kWh (34.09%)&lt;br /&gt;&lt;br /&gt;But without it my computer consumed: 16 hours - 1.125kWh. Intriguing.</description>
  <comments>http://mmaslano.livejournal.com/2651.html</comments>
  <category>tuned</category>
  <category>power saving</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/2557.html</guid>
  <pubDate>Thu, 21 Jan 2010 11:52:57 GMT</pubDate>
  <title>Stepan&apos;s speech</title>
  <link>http://mmaslano.livejournal.com/2557.html</link>
  <description>I found a great video from my colleagues presentation about changes in Perl in Fedora 13 in English. Video is also funny if you know some or all of used language (Czech, Slovak, Russian). &lt;br /&gt;&lt;a href=&quot;http://redhatbrno.blip.tv/&quot; rel=&quot;nofollow&quot;&gt;Perl changes in F-13&lt;/a&gt;</description>
  <comments>http://mmaslano.livejournal.com/2557.html</comments>
  <category>perl</category>
  <category>video</category>
  <category>fedora</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/2207.html</guid>
  <pubDate>Thu, 14 Jan 2010 14:42:57 GMT</pubDate>
  <title>new Padre arrived into rawhide</title>
  <link>http://mmaslano.livejournal.com/2207.html</link>
  <description>Finally I found time to update Padre, which is a great IDE for programming mainly in Perl. Authors aim to create a tool for writing code and learning Perl but it could be also used for other languages. Padre provides functions like installation of modules from CPAN, plugins (e.g. Perl6 syntax) and localization into many languages (including Czech).&lt;br /&gt;&lt;br /&gt;Padre has a friendly community on irc: irc.perl.org channel: #padre and they are working on new cool features e.g. debugger. The whole application is written in Perl5 using Wx library (perl-Wx). See more at their &lt;a href=&quot;http://padre.perlide.org/&quot; rel=&quot;nofollow&quot;&gt;homepage&lt;/a&gt; and test it in rawhide or at least check the older version in Fedora 12 (perl-Padre).&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://pics.livejournal.com/mmaslano/pic/000034r9/&quot;&gt;&lt;img src=&quot;http://pics.livejournal.com/mmaslano/pic/000034r9/s320x240&quot; width=&quot;311&quot; height=&quot;240&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</description>
  <comments>http://mmaslano.livejournal.com/2207.html</comments>
  <category>perl</category>
  <lj:music>radio1</lj:music>
  <media:title type="plain">radio1</media:title>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/1883.html</guid>
  <pubDate>Mon, 14 Dec 2009 14:29:11 GMT</pubDate>
  <title>Fun with rice</title>
  <link>http://mmaslano.livejournal.com/1883.html</link>
  <description>Ok, kernel rice might be, but imported by Gnome?&lt;br /&gt;&lt;a href=&quot;http://pics.livejournal.com/mmaslano/pic/000011a1/&quot;&gt;&lt;img src=&quot;http://pics.livejournal.com/mmaslano/pic/000011a1/s320x240&quot; width=&quot;140&quot; height=&quot;240&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</description>
  <comments>http://mmaslano.livejournal.com/1883.html</comments>
  <category>fun</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/1551.html</guid>
  <pubDate>Sat, 28 Nov 2009 14:59:16 GMT</pubDate>
  <title>RPM scriptlet</title>
  <link>http://mmaslano.livejournal.com/1551.html</link>
  <description>The main part of rpm is clear. There is some prep, build, install, clean, check and files&lt;br /&gt;and functionality of these are obvious. But sometimes the specfile includes also&lt;br /&gt;scriptlets. &lt;br /&gt;&lt;br /&gt;The easy ones are:&lt;br /&gt;%pre - run before an installation of a package,&lt;br /&gt;%post - run after an installation, &lt;br /&gt;%preun - run before a package is removed&lt;br /&gt;%postun - run after a package is removed.&lt;br /&gt;&lt;br /&gt;Nice and clean, but what if an update is needed? Now they are executed scriptlets from both releases of package:&lt;br /&gt;%pre - from a new package&lt;br /&gt;%post - new&lt;br /&gt;%preun - old&lt;br /&gt;%postun - old&lt;br /&gt;Since %preun/postun are used, the spec might break an update&lt;br /&gt;e.g. if %postun is touching a configuration file, which was already configured in post by new the release.&lt;br /&gt;&lt;br /&gt;Let&apos;s check these scriptles on an example - on my favourite package cronie.&lt;br /&gt;%prep&lt;br /&gt;# not needed here&lt;br /&gt;&lt;br /&gt;%post&lt;br /&gt;# usual operation - adding a daemon into services&lt;br /&gt;/sbin/chkconfig --add crond&lt;br /&gt;&lt;br /&gt;%post anacron&lt;br /&gt;# all changes in scriptlets should be checked&lt;br /&gt;[ -e /var/spool/anacron/cron.daily ] || touch /var/spool/anacron/cron.daily&lt;br /&gt;[ -e /var/spool/anacron/cron.weekly ] || touch /var/spool/anacron/cron.weekly&lt;br /&gt;[ -e /var/spool/anacron/cron.monthly ] || touch /var/spool/anacron/cron.monthly&lt;br /&gt;&lt;br /&gt;%preun&lt;br /&gt;# test is a must. The return value tells whether the daemon must be stopped.&lt;br /&gt;if [ &amp;quot;$1&amp;quot; = &amp;quot;0&amp;quot; ]; then&lt;br /&gt;    service crond stop &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 ||:&lt;br /&gt;    /sbin/chkconfig --del crond&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;%postun&lt;br /&gt;# different check, but it also checks the return value.&lt;br /&gt;# In this case is controlled whether daemon was up or not before the update.&lt;br /&gt;if [ &amp;quot;$1&amp;quot; -ge &amp;quot;1&amp;quot; ]; then&lt;br /&gt;    service crond condrestart &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 ||:&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;In these parts are often controlled return values of daemons, but the application has to&lt;br /&gt;return correct LSB compliant values. Otherwise this check is useless. Another necessity is &lt;br /&gt;command ||:  Something unexpected could happened and the failure would be printed on &lt;br /&gt;standard output, which could upset an user.&lt;br /&gt;&lt;br /&gt;And now the triggers. They need an option - package with/out specified version.&lt;br /&gt;The most common example is, when one package is obsoleted by another and simple&lt;br /&gt;adding provides isn&apos;t enough:&lt;br /&gt;Provides: vixie-cron = 4:4.4&lt;br /&gt;Obsoletes: vixie-cron &amp;lt;= 4:4.3&lt;br /&gt;# the old configuration file has to be removed:&lt;br /&gt;%triggerun -- cronie &amp;lt; 1.4.1&lt;br /&gt;# After every update from a rpm smaller than cronie-1.4.1, create a backup of crontab and remove a content&lt;br /&gt;# if it matches the standard configuration.&lt;br /&gt;cp -a /etc/crontab /etc/crontab.rpmsave&lt;br /&gt;sed -e &apos;/^01 \* \* \* \* root run-parts \/etc\/cron\.hourly/d&apos;\&lt;br /&gt;  -e &apos;/^02 4 \* \* \* root run-parts \/etc\/cron\.daily/d&apos;\&lt;br /&gt;  -e &apos;/^22 4 \* \* 0 root run-parts \/etc\/cron\.weekly/d&apos;\&lt;br /&gt;  -e &apos;/^42 4 1 \* \* root run-parts \/etc\/cron\.monthly/d&apos; /etc/crontab.rpmsave &amp;gt; /etc/crontab&lt;br /&gt;exit 0&lt;br /&gt;&lt;br /&gt;%triggerun -- vixie-cron&lt;br /&gt;# For every update from vixie-cron to cronie, copy the lock, because the daemon&lt;br /&gt;# shouldn&apos;t be restart without a really good reason.&lt;br /&gt;cp -a /var/lock/subsys/crond /var/lock/subsys/cronie &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 ||:&lt;br /&gt;&lt;br /&gt;# if the lock exist, the daemon must be restarted (it was running in the past).&lt;br /&gt;# add new daemon into chkconfig everytime, when cronie was upgraded from vixie-cron&lt;br /&gt;%triggerpostun -- vixie-cron&lt;br /&gt;/sbin/chkconfig --add crond&lt;br /&gt;[ -f /var/lock/subsys/cronie ] &amp;amp;&amp;amp; ( rm -f /var/lock/subsys/cronie ; service crond restart ) &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 ||:&lt;br /&gt;&lt;br /&gt;The order of triggers how they are executed:&lt;br /&gt;%pre - of new package&lt;br /&gt;%post - make some things to newly created files&lt;br /&gt;%triggerin - all triggerins which are part of other rpms&lt;br /&gt;%triggerin - of this new package&lt;br /&gt;%triggerun - all triggeruns which are part of other rpms&lt;br /&gt;%triggerun - of this new package&lt;br /&gt;%preun - of old release of this rpm&lt;br /&gt;%postun - of old release of this rpm&lt;br /&gt;%triggerpostun - of old release of this rpm&lt;br /&gt;%triggerpostun - of this new package&lt;br /&gt;&lt;br /&gt;And nice example again. There exist packages A and B. They share one configuration file. &lt;br /&gt;The A-1 contains:&lt;br /&gt;%triggerin -- B which fill config&lt;br /&gt;%triggerun -- B which removes content of config&lt;br /&gt;%preun which removes content of config&lt;br /&gt;&lt;br /&gt;The B-1 contains:&lt;br /&gt;%post which fill config&lt;br /&gt;%preun removes content of config&lt;br /&gt;&lt;br /&gt;Every update of B calls triggerun from A which means removing content of the config. On the first look,&lt;br /&gt;it could be solved by removing triggerun from A. But what happen every after update is:&lt;br /&gt;rpm -Uvv A-2 B-2&lt;br /&gt;update files from A-2&lt;br /&gt;update files from B-2&lt;br /&gt;triggerin from A-2 -&amp;gt; fill config&lt;br /&gt;triggerun from A-1 -&amp;gt; remove content of config&lt;br /&gt;&lt;br /&gt;So, the update to A-2 break things and next update to A-3 will be working flawlesly. And this is &lt;br /&gt;downside of triggers. One mistake can cause problems which can&apos;t be fixed correctly during one update.&lt;br /&gt;It needs another workaround with new scriptlets.&lt;br /&gt;&lt;br /&gt;Remove triggerun from A for next succesful updates. In B must be made bigger changes.&lt;br /&gt;%post&lt;br /&gt;# backup of config&lt;br /&gt;cp -p config config.backup&lt;br /&gt;&lt;br /&gt;%triggerun -- A &amp;lt; 2&lt;br /&gt;# rewrite backup with previous&lt;br /&gt;mv config.backup config&lt;br /&gt;&lt;br /&gt;%preun&lt;br /&gt;if [ $1 -eq 0 ] ; then&lt;br /&gt;  remove_content_of_config()&lt;br /&gt;fi&lt;br /&gt;[ -f config.backup ] &amp;amp;&amp;amp; rm -rf config.backup || :&lt;br /&gt;&lt;br /&gt;This solution fix the issue immediately after update, but there is lot of dependencies and it could&lt;br /&gt;create unexcpeted problems in the future. Also it must be updated both packages together in one command.&lt;br /&gt;Otherwise the config will be empty again.&lt;br /&gt;&lt;br /&gt;Using triggers is easy, but nex time I&apos;d rather pass on fixing them ;-)</description>
  <comments>http://mmaslano.livejournal.com/1551.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://mmaslano.livejournal.com/1481.html</guid>
  <pubDate>Sat, 07 Nov 2009 22:25:02 GMT</pubDate>
  <title>Linuxalt conference</title>
  <link>http://mmaslano.livejournal.com/1481.html</link>
  <description>Linuxalt is a &lt;a href=&quot;http://www.linuxalt.cz/program&quot; rel=&quot;nofollow&quot;&gt;conference&lt;/a&gt; held annually in Brno. The great thing is, that people can vote for talks in advance and the &amp;quot;winners&amp;quot; are invited to talk.&lt;br /&gt;For the first time, one lecture was in English. One member of Fedora community, Hans de Goede, travelled to our country to speak about &lt;strong&gt;the state of gaming in Linux&lt;/strong&gt;. I didn&apos;t see it because I attended lecture of Michal Schmidt about &lt;strong&gt;Trusted Computing in Linux&lt;/strong&gt;. I wasn&apos;t aware of these possibilities and as it was promised, I was even more confused after the lecture. The &amp;quot;Trusted computing&amp;quot; is based on hardware - on a coproser which works as a slave for confirmation of data of your Bios/OS. This is a very short (and wrong) explanation. The topic is very wide and it was quite hard to explain it in details during one hour.&lt;br /&gt;The main reason, why I went there, was &lt;a href=&quot;http://mbroz.fedorapeople.org/talks/&quot; rel=&quot;nofollow&quot;&gt;Milan Brož&apos;s lecture&lt;/a&gt; called &lt;strong&gt;Data Encryption&lt;/strong&gt;. Milan had a fantastic lecture about dmcrypt with practical examples previous year, so this year it was a theoretical one. He gathered articles about popular attacks as &amp;quot;&lt;a href=&quot;http://citp.princeton.edu/memory/&quot; rel=&quot;nofollow&quot;&gt;Cold boot&lt;/a&gt;&amp;quot; or &amp;quot;Evil maid&amp;quot; and about restoring data on old discs.&lt;br /&gt;Cold boot means that attacker can steal your encryption password from computer if it still has the password in the memory. It can be used, when the computer was powered off for just 1-2s or suspended in RAM. The memory can be scanned and the password is easily obtained, because a RSA key has different entropy than the rest of data. Evil maid means stealing password by installing some spyware in your computer. All these techniques have fancy names but I don&apos;t believe that especially the evil maid attack is real in common live. What we can really do for our data is encrypt the whole disc and to switch off our laptop if we leave it somewhere for a while. The other thing is, discs are sold or thrown out as old or broken. Milan told us about experiment when were bought discs on eBay and then the data on them were restored. Huge part of it were sensitive personal or company data, which could be safe, if users really erase or encrypt them. The most important thing is, that encrypting home partition isn&apos;t enough. The password could be easily obtained from swap. Milan found some bugs during his preparation for the talk, which were already fixed in the latest version, so his talk had effect not only on listeners but also on the quality of code ;-)&lt;br /&gt;The next day was speaking Dan Hor&amp;aacute;k about &lt;strong&gt;Development of Linux distro&lt;/strong&gt;, where he introduced the development cycle, tools, problems of packaging and also services which Fedora project offers. He made a review of the whole process for common users.&lt;br /&gt;Milan Brož was speaking again, this day about &lt;strong&gt;LVM2 - data recovery&lt;/strong&gt;. His &lt;a href=&quot;http://mbroz.fedorapeople.org/talks/LinuxAlt2009_2/&quot; rel=&quot;nofollow&quot;&gt;speech&lt;/a&gt; was even more lively than the day before, because LVM is his cup of tea. He mentioned parts of file system under the hardware and started speaking about possible problems with LVM. The best part was, when he showed us &amp;quot;broken&amp;quot; LVM and with a few commands was able to fix it.&lt;br /&gt;&lt;br /&gt;(I might be inaccurate in technical details, so I recommend reading the original source).&lt;br /&gt;&lt;br /&gt;</description>
  <comments>http://mmaslano.livejournal.com/1481.html</comments>
  <category>linuxalt</category>
  <category>brno</category>
  <category>linux</category>
  <category>dmcrypt</category>
  <lj:mood>cheerful</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>

