Search Results: "ean"

11 December 2006

Yves-Alexis Perez: NM Queue, Xfce 4.4rc2 and Etch freeze...

It's been more than one year that I'm waiting on NM queue, waiting for an Applicant Manager, performing Philosophy & Procedure part 1 & 2, then Tasks & Skills.

When applying for NM, it's really appreciated to already maintain a few packages in the archive, so for T&S the AM can check them and appreciate the work done. I guess people applying for NM first start by taking care of some package, before submitting.

But for me, it was the opposite way. I joined pkg-xfce team more than 18 months ago, and got my first packages in the archive a few weeks later.

I only applied to NM 6 months later, because, as I was dedicating more time to pkg-xfce, it would be more efficient for me to be able to upload directly, without
bothering huggie or ema (the two DDs in the team). It wasn't really required, but
it interested me, and huggie said me that it'd take some time so the sooner, the better.

Now, due to personal reason, huggie and ema don't have time/motivation anymore to work on pkg-xfce. I'm currently the one in charge, as I spent some time on it, and tries to spent some time on debian-desktop team, so we have a nice and consistent look for desktop environments in Etch. But I can't upload my packages myself, I need to find a sponsor. Xfce represent more than 50 packages (including goodies), that's quite a lot, and we have scripts and procedure to be efficient when rebuilding everything. If I could do everything myself, Xfce 4.4rc2 (released 2006/11/05) would have been in Etch since a long time. But I can't, because I'm stuck in NM queue.

Most of 4.4rc2 packages have been uploaded by my AM, Dafydd Harries (which I want to thank, though), but not everything, and few packages won't be in Etch, now that it's frozen. Yeah, that means that Etch will have half rc1 and half rc2, which isn't really good. Not really bad either, but still... (ok, and not as bad as shipping broken svn snapshots...)

I'm interested in beeing a Debian Developper because I *know* it'll make my work and my time more efficient. And not beeing able to push rc2 to Etch because of that really makes me sad...

David Moreno Garza: Augusto Pinochet dies

(Translated from my same post in Spanish) A few days ago, McDonald published a cartoon on the end of the dictator Pinochet.
FINOCHET (fin meaning “end”). Damn heart, it had to be on the left.
Yesterday, fascist dictator Augusto Pinochet died in the Military Hospital in Santiago, after heart and lung diseases, being 91 years old. Now, current president Michelle Bachelet, a moderate socialist, in case Pinochet is given State memorials, could be attending the ceremony (in a predominantly conservative country as Chile), even after she was tortured and persecuted under the dictatorship and his father was murdered under the regimen, after serving Salvador Allende‘ government. Shitty life, huh? Viva Chile!, just as the ironman stated.

Amaya Rodrigo: Frustrating toys

I work at the Ministerio de Administraciones P blicas, the MAP. My main task there is to administer an email cluster for something between 8.000 and 10.000 users, based on free software (LDAP, Postfix, Amavis...) which has been pretty fulfilling so far.

The problem they have is a lot of consultants from external companies that come for big or small projects and they know of no easy way of being able to grant enough permissions to achieve certain tasks without giving away the root password and having to change it every other day. I am one of these external consultants, only I am there for a long term project. I have been there for more than a year and a half now, and our contract was just renovated for two more years. This basically means I am doing my job pretty well.

But a couple of months ago, the company I work for, Alanta, agreed with the MAP on me giving a 12h a training session on sudo. After spending 100 hours in preparing my slides on a sudo workshop (spanish only, sorry), starting from file permissions to ssh public-private key pairs, and ending with sudo, a high amount of stress, as I had to work full time as I prepared this in paralel, I bitterly complained to my boss. (That s when the cleaning started, BTW).

So we had a nice lunch in which I was given a 200 EUR 2GB 2nd Generation Silver Ipod Nano. Which is nice, but taking into account that when I worked for IBM as a certified trainer I made something between 24-60 EUR per hour, depending on the subject, and all the material (slides, exercises, TOC and Trainer material) was already done for me, so I just had to prepare and give my lessons, I felt patronized and a bit insulted, even if I did not expect any compensation for this extra effort that really damaged my (mental) health. Getting presents in exchange for hard work doesn t make sense for me, specially when I can hardly make it to the end of the month, constantly being in (small, to be honest) debt.

But you could be making more money, couldn t you? Yes, sure. But at what price? I like the relaxed work environment and the lack of sexism in my current project. I have plenty of spare time, and my life quality is overall great, I can walk home from work, I am not juiced and then disposed of, despite the punctual stressful periods everyone gets every once in a while (which are rare here, at MAP).

And this thing will never run IpodLinux or Rockbox. I feel like I want to throw it out the window. It lacks support for my favourite music file formats, UTF-8 and hangs up more than MS Windows 95.

Jordi Mallach: Toni Cucarella abandons his writing activities

There were more shocking news for me when I got back home yesterday. Via Toni Hermoso, I learned that Toni Cucarella, a Valencian writer I recently discovered, just announced that he has abandoned his writing activities, just a little bit after announcing he wouldn't further update his blog. I learned about Toni Cucarella's literature aproximately one year ago, when I heard about a new novel, Quina lenta agonia, la dels ametlers perduts, on the radio, which sounded interesting. The book fascinated me as soon as I started reading. Describing the life of a group of children in the outskirts of X tiva, a small city south of Val ncia, in the late 1960s, Cucarella managed to transmit some feelings about my childhood during the summers of the early 80s around my town in the inner province of Castell . It wasn't anything in particular what did this, but the way the book was written, which managed to describe how these kids lived happily and in freedom around their houses, regardless their economic status and the difficulties their families went through. All of this reminded me of my sister, cousins and friends running around the streets and fields, away from our parents or any adults, in a time when nobody thought this was dangerous or irresponsible. The only two sins were to play on the road or to get back home a lot after the sunset. Toni Cucarella has been very vocal against the Language Authorities in Val ncia regarding the unity of the Catalan language, and specifically against the Acad mia Valenciana de la Llengua, a recently created institution which now has competence over the "Valencian language", something that was previously in the hands of a scientific institution like the Universitat de Val ncia. He has finally burned out, not only due to the bad situation Catalan literature is in the Valencian Country, but also because leaving aside two very prominent exceptions, Valencian authors are basically ignored in Catalunya, making their subsistence quite difficult. I hope Toni can build some new motivations after some time and the public can enjoy new novels written by him in the future, as well as more of those very interesting blog entries we had got used to reading every few days. In the meanwhile, thanks for your writings, Toni, and good luck with your new activities!

Jordi Mallach: Hasta la vista, Pinocho

Last night, when we got home after the long weekend up around theawesome Terres de l'Ebre, first thing I learned from the news is that Augusto Pinochet had finally died while we were driving back. It is too bad that once again he managed to avoid a trial that would have made him officially guilty of all the horrible happenings of Chile during his military coup and his bloody dictatorship. But he's gone now, and this will be a great relief for the thousands of Chileans who survived his regime, and for those who lost family members or friends just because they defended some ideals. The world will associate his surname to torture, murder and corruption; he surely won't be remembered for the image of the old, calm man surrounded by family members that an ever-shrinking minority tried to transmit. Last night, I raised my cup to celebrate Pinochet's death. Viva Chile!

Edd Dumbill: Afraid of the POX?

The other day I had was tinkering with that cute little poster child of Web 2.0, Flickr. Looking for a lightweight way to incorporate some photos into a web site, I headed to their feeds page to find some XML to use.Before you read on, don't forget that the XTech 2007 call for participation ends this week. The result was interesting. Flickr have a variety of outputs in RSS dialects, but you just can't get at the raw data using XML. The bookmarking service del.icio.us is another case in point. My friend Matt Biddulph recently had to resort to screenscraping in order to write his tag stemmer, until some kind soul pointed out there's a JSON feed.Both of these services support XML output, but only with the semantics crammed awkwardly into RSS or Atom. Neither have plain XML for public consumption (some is available behind a registration protected API), but do support serialization via other formats. We don't really have "XML on the Web". We have RSS on the web, plus a bunch of mostly JSON and YAML for those who didn't care for pointy brackets.Did we as supporters of XML get it wrong somehow? I think we did. The success of the XML project and the W3C as a unifying forum was seductive, and we felt more bound to the edicts of the W3C than we thought. Our justified love of open standards inadvertently promoted a straitjacketed approach to using XML. XML was felt to need a schema language.What we missed was that settling on schemas for data serialization represented much more of an up-front commitment than most developers could really make. The rise of agile programming techniques further emphasizes the hazards of prematurely freezing a design.Schemas never really came with great evolution or migration strategies.
And of course it didn't help that both DTDs and W3C XML Schema are pretty darn obscure. Somehow we never got the word out, despite the "standalone" XML declaration, that it's OK to spread schema-less XML around.We had of course the Simple XML movement, but it came to little. Other voices pointed the way forward. Walter Perry notably promoted an agenda that required little a priori agreement between communicators, but it gained little ground in common thought. Ironically it took James Clark to push the agenda of developer convenience, with the RELAX NG compact syntax giving us all permission not to think in angle brackets.Meanwhile, busy developers with work to do on the web have created non-XML syntaxes such as JSON and YAML. Though I deliberately closeted myself in XML for a long time, I have come to appreciate the utility of these syntaxes.One of the more intriguing developments is that the Semantic Web crowd, while still very much W3C oriented, have really proved themselves more flexible in their attitude than the XML world at large. RDF/XML is hardly the only acceptable way to approach the throne of Tim, and the man himself threw out XML syntax pretty early on with the development of the N3 scribble format. More recently, the work on GRDDL to scrape semantics from HTML has shown the semweb folks' amenability to outside initiatives such as microformats.Maybe it's not such a bad world, as making an XML mapping of YAML, JSON and friends isn't really very hard. I'd just like to get the message out to web application developers that Plain Old XML is fine by me. I live in hope yet that the rise of REST will hit this home.So while markup has most definitely won on the web, it's a shame XML hasn't yet achieved as much as it could. It's not too late for an injection of pragmatism and a little less constraint.

Antti-Juhani Kaijanaho: yet another personality test

Saw this on Baen’s Bar :)
Loser- INTP
46% Extraversion, 53% Intuition, 66% Thinking, 33% Judging
Talked to another human being lately? I’m serious. You value knowledge above ALL else. You love new ideas, and become very excited over abstractions and theories. The fact that nobody else cares still hasn’t become apparent to you… Nerd’s a great word to describe you, and I seriously couldn’t care less about the different definitions of the word and why you’re actually more of a geek than a nerd. Don’t pretend you weren’t thinking that. You want every single miniscule fact and theory to be presented correctly. Critical? Sarcastic? Cynical? Pessimistic? Just a few words to describe you when you’re at your very best…*cough* Sorry, I mean worst. Picking up the dudes or dudettes isn’t something you find easy, but don’t worry too much about it. You can blame it on your personality type now. On top of all this, you’re shy. Nice one, wench. No wonder you’re on OKCupid!
Now, quickly go and delete everything about “theoretical questions” from your profile page. As long as nobody tries to start a conversation with you, just MAYBE you’ll now have a chance of picking up a date. But don’t get your hopes up. I am interested though. If a tree fell over in a forest, would it really make a sound? ***************** If you want to learn more about your personality type in a slightly less negative way, check out this. ***************** The other personality types are as follows… Loner - Introverted Sensing Feeling Perceiving
Pushover - Introverted Sensing Feeling Judging
Criminal - Introverted Sensing Thinking Perceiving
Borefest - Introverted Sensing Thinking Judging
Almost Perfect - Introverted iNtuitive Feeling Perceiving
Freak - Introverted iNtuitive Feeling Judging
Crackpot - Introverted iNtuitive Thinking Judging
Clown - Extraverted Sensing Feeling Perceiving
Sap - Extraverted Sensing Feeling Judging
Commander - Extraverted Sensing Thinking Perceiving
Do Gooder - Extraverted Sensing Thinking Judging
Scumbag - Extraverted iNtuitive Feeling Perceiving
Busybody - Extraverted iNtuitive Feeling Judging
Prick - Extraverted iNtuitive Thinking Perceiving
Dictator - Extraverted iNtuitive Thinking Judging
My test tracked 4 variables How you compared to other people your age and gender:
free online dating free online dating
You scored higher than 53% on Extraversion
free online dating free online dating
You scored higher than 25% on Intuition
free online dating free online dating
You scored higher than 52% on Thinking
free online dating free online dating
You scored higher than 15% on Judging
Link: The Brutally Honest Personality Test written by UltimateMaster on OkCupid Free Online Dating, home of the The Dating Persona Test

Amaya Rodrigo: The joy of toys

Almost one year ago I got a great present from a great man, a Linksys Wireless router with a serial port that he had soldered on it himself, running OpenWrt (White Russian). Sexy!

This toy has made me happy ever since, even though this great man insisted on me using WPA, which basically means most of my friends can t use wireless at my place (blame crappy firmware), and I still, from time to time, have some wire mess around my living room, but that is also fun, specially for the cats, so no complaints here :)

I recently upgraded to White Russian RC6, and this great man pointed me to a wonderful web interface to manage the system with: X-Wrt.
This web interface is very helpful for me, even though I can ssh into the router, I am used to my aliases, longer history, my way of working on the command line, which makes my ssh sessions there a bit frustrating, as I am getting old and a bit reluctant to changes. The web interface also has nice graphs and stats, a beautiful CSS layout, and it makes my life 100% easy. This stuff just works^Wrocks!

The installation system was so easy I was amazed. Just fill in a form with your Linksys IP address, click on install and you are done!

I miss https for the config interface, and I would love to find a Linksys model that supports OpenWrt and does DSL at the same time, so I could get rid of the crappy 3com doing the ATM part in bridge mode. Less devices, less power wasted, less points of failure, happier me.

The amount of packages available for OpenWrt is just amazing, and it has a package manager that slightly reminds me of apt-get. It can even do asterisk!

So if you own any of the supported devices, I encourage you to get rid of the crappy firmware they usually ship with, and have some White Russian fun with it, which also happens to be one of my favourite drinks :)

Enjoy!

10 December 2006

Wouter Verhelst: New toy.

On thursday, I bought me a digital camera; a Nikon D50. That's the cheapest DSLR camera they had at the shop where I bought it—they had models for prices going up to just under 7000. The latter obviously is "slightly" out of budget for me, but this one isn't bad, at all. I took some pictures with it on friday, and yesterday I went to "De Oude Landen", a local (and rather unique) piece of nature, to try out my new camera. Most of the pictures I took then were crap due to bad lighting; I guess I need to read the manual a bit more. We'll see. In any case, it's a fun piece of machinery, and it seems my long-lost photography sk1llz are coming back now (I did a photography course when I was a 13-14yo). Love it. Roland Mas pointed out that f-spot is a great application to manage pictures, and I have to agree with him. Apart from the fact that it is a bit pedantically gnome-esque in its settings dialog ("settings, what's that? Oh, right, that's where you enable the screensaver"), it has a whole bunch of nice and interesting features, such as the ability to tag pictures, export them to CD or web-based applications, and more interesting stuff. A bit too much clickety-clickety, but then I guess it's impossible to design a good command-line based interface to manage graphical subject matters. Setting up gallery on sarge is not even half as hard as I'd feared, either. Long live the Debian apache team. So, yes, the above means I have a gallery online. Take a look if you care; I personally very much like this one.

Wouter Verhelst: You know you've been doing too much m68k stuff...

... when you read about one product called "Q40" and think they mean another.

Russell Coker: The Squirrel and the Grasshopper

There's a story going around the neo-con blogs titled "The Squirrel and the Grasshopper". It was forwarded to me by a business associate with the claim that it's "right on the money". It's strange that someone could be considered to be "right on the money" for Australia when essentially the same text is posted in the UK, New Zealand, and Sweden (from a 30 second google search - I'm sure that the neo-cons in other countries have posted it too).

The following are the neo-con ideas promoted by the story in question:
  1. To mis-represent a local main-stream political party that is known for representing workers (the ALP in the case of Australia) as being extremist and associated with Greenpeace (an organization that is out of favor at the moment and disliked by many people who vote for main-stream parties).
  2. To spread the "liberal press" lie that wing-nuts like to believe. Any analysis of the press will show that most multi-national media organizations are quite biased towards the right-wing groups.
  3. Making false claims about the legal system to drive support for recent fascistic legal changes. In the case of Australia this means allowing employers to lay off employees and immediately re-hire them at a lower rate, allowing employees to be laid off if factory equipment breaks down, and for almost any reason you can imagine. Driving the idea that the judges are incompetent and therefore imposing legislation to remove judicial discretion is an important step in removing civil rights.
  4. Claims that the government is communist and takes the property from the middle-classes and gives it to unworthy people. In fact the opposite is true (for Australia at least). Large companies and wealthy individuals are routinely given community property. The toll roads are the best example of this, the government closes public roads that can be used as an alternative to a toll road, and then politicians get paid off after they leave office. Far from taking money from people who work (as the neo-con propaganda claims) the government allows big corporations to do so with impunity. The Australian government (as many governments in first-world countries) has been becoming increasingly fascistic recently.
  5. The claim that asylum seekers are terrorists. If the government wanted to stop terrorism then they would cease involvement with those parts of the world. However only plebians (people like us) are likely to be hurt by terrorism so the government has little motivation to stop it - it's good for winning elections! By joining the invasion of Iraq the Australian government helped al Quaeda establish new training bases while also giving al Quaeda (and related organizations) a reason to target Australia. Also whenever a war is started people will be forced to leave their homes and seek asylum else-where. If you don't want asylum seekers seeking entry to your country then you don't want to mess up other countries and force people to flee.
  6. Support for the "war on drugs". That war has been at best a stale-mate and generally a loss for a century now. The approach that is being adopted experimentally of legal supply of hard drugs to addicts seems to have more promise. Incidentally the breaches in border security that are established for the purpose of drug smuggling are available for any illegal purpose that pays enough - if al Quaeda wanted to smuggle weapons into a first-world country they would probably get drug dealers to do it for them. I'll blog more on this topic in future.

There you have it, The Squirrel and the Grasshopper covered all of the neo-con propaganda bases apart from the pro-Christian angle.

For the benefit of anyone who is thinking of forwarding on a "parable" in future, the first thing you might want to do is a google search on it. Search for comments and also search for who is promoting it. If a message you are considering forwarding is being promoted by people who are obviously racist or who discriminate against people on the basis of religion then you might consider whether you want to associate yourself with them by forwarding the message.

9 December 2006

Matthew Garrett

The last couple of days have resulted in a number of fun things.

In other news, I hate fruitflies.

Gustavo Franco: Amaya and my world.

Amaya, the song you quoted in your previous post (My World) isn't 80s. It was composed by first Guns N' Roses incarnation (Axl, Slash and co) during the Use Your Illusion sessions (90-91) and close the two albums. The history behind the song is that they were on mushrooms after working during all the night in the Live and Let Die cover. Axl wanted to do something quick and they came up with that. The song has nothing to do with Guns and Roses because Axl was into industrial that time and though it was ok close the illusions that way.

While we're at it, the second incarnation of the band successfully toured Europe this year and is right now doing some gigs in USA. From the new material i would recommend: There Was a Time and Better. You can watch proshots from the European leg of the tour everywhere on the web. Have fun!

8 December 2006

Russell Coker: SE Linux on Debian in 5 minutes

Following from my 5 minute OSDC talk yesterday on 5 security improvements needed in Linux distributions I gave a 5 minute talk on installing SE Linux on Debian etch. To display the notes I formatted them such that they were in 24 line pages and used less at a virtual console to display them. The ultra-light laptop I was using has only 64M of RAM which isn't enough for a modern X environment and I couldn't be bothered getting something like Familiar going on it.

After base install you install the policy and the selinux-basics package:

# apt-get install selinux-basics selinux-policy-refpolicy-targeted
The following extra packages will be installed:
checkpolicy libsemanage1 mime-support policycoreutils python python-minimal
python-selinux python-semanage python-support python2.4 python2.4-minimal
selinux-utils
Suggested packages:
python-doc python-tk python-profiler python2.4-doc logcheck syslog-summary
The following NEW packages will be installed:
checkpolicy libsemanage1 mime-support policycoreutils python python-minimal
python-selinux python-semanage python-support python2.4 python2.4-minimal
selinux-basics selinux-policy-refpolicy-targeted selinux-utils
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 6362kB of archives.
After unpacking 41.5MB of additional disk space will be used.
Do you want to continue [Y/n]?

The package install process also configures the policy for the machine. The next step is to label the filesystems, this took 26 seconds on my Celeron 500MHz laptop with 20,000 files on an old IDE disk. The time is in proportion to number of files, often bottlenecked on CPU. A more common install might have 5* as many files with a 5* faster CPU so 30 seconds is probably common for labelling. See the following:

# fixfiles relabel

Files in the /tmp directory may be labeled incorrectly, this command
can remove all files in /tmp. If you choose to remove files from /tmp,
a reboot will be required after completion.

Do you wish to clean out the /tmp directory [N]? y
Cleaning out /tmp
/sbin/setfiles: labeling files under /
matchpathcon_filespec_eval: hash table stats: 14599 elements, 14245/65536 buckets used, longest chain length 2
/sbin/setfiles: labeling files under /boot
matchpathcon_filespec_eval: hash table stats: 19 elements, 19/65536 buckets used, longest chain length 1
/sbin/setfiles: Done.

The next step is to edit /boot/grub/menu.list to enable SE Linux, auditing, and put it in enforcing mode:

title   Debian GNU/Linux, kernel 2.6.17-2-686
root (hd0,1)
kernel /vmlinuz-2.6.17-2-686 root=/dev/x selinux=1 audit=1 ro enforcing=1
initrd /initrd.img-2.6.17-2-686

Then reboot.

After rebooting view the context of your shell, note that the login shell will have a domain of unconfined_t when the targeted policy is used:
# id -Z
system_u:system_r:unconfined_t

Now let's view all processes that are confined:
# ps axZ  grep -v unconfined_t grep -v kernel_t grep -v initrc_t
LABEL PID TTY STAT TIME COMMAND
system_u:system_r:init_t 1 ? Ss 0:02 init [2]
system_u:system_r:udev_t 1999 ? S.s 0:01 udevd --daemon
system_u:system_r:syslogd_t 3306 ? Ss 0:00 /sbin/syslogd
system_u:system_r:klogd_t 3312 ? Ss 0:00 /sbin/klogd -x
system_u:system_r:apmd_t 3372 ? Ss 0:00 /usr/sbin/acpid -c /etc
system_u:system_r:gpm_t 3376 ? Ss 0:00 /usr/sbin/gpm -m /dev/i
system_u:system_r:crond_t 3402 ? Ss 0:00 /usr/sbin/cron
system_u:system_r:local_login_t 3423 tty1 Ss 0:00 /bin/login --
system_u:system_r:local_login_t 3424 tty2 Ss 0:00 /bin/login --
system_u:system_r:getty_t 3425 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
system_u:system_r:getty_t 3426 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
system_u:system_r:getty_t 3429 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
system_u:system_r:getty_t 3430 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
system_u:system_r:dhcpc_t 3672 ? S.s 0:00 dhclient3 -pf /var/run/
The initial install of policy inserts modules to match installed software, if you install new software then you need to add new modules with the semodule command:

# semodule -i /usr/share/selinux/refpolicy-targeted/apache.pp
security: 3 users, 7 roles, 824 types, 67 bools
security: 58 classes, 11813 rules
audit(1165532434.664:21): policy loaded auid=4294967295
# semodule -i /usr/share/selinux/refpolicy-targeted/bind.pp
security: 3 users, 7 roles, 836 types, 68 bools
security: 58 classes, 12240 rules
audit(1165532467.874:22): policy loaded auid=4294967295

Note that the security and audit messages come from the kernel via printk, it is displayed on console login but you need to view the system log if logged in via ssh or running an xterm. Now you have to relabel the files that are related to the new policy:

# restorecon -R -v /etc /usr/sbin /var/run /var/log
restorecon reset /etc/bind context system_u:object_r:etc_t->system_u:object_r:named_zone_t
restorecon reset /etc/bind/named.conf context system_u:object_r:etc_t->system_u:object_r:named_conf_t
[...]
restorecon reset /etc/apache2 context system_u:object_r:etc_t->system_u:object_r:httpd_config_t
restorecon reset /etc/apache2/httpd.conf context system_u:object_r:etc_runtime_t->system_u:object_r:httpd_config_t
[...]
restorecon reset /usr/sbin/named context system_u:object_r:sbin_t->system_u:object_r:named_exec_t
restorecon reset /usr/sbin/apache2 context system_u:object_r:sbin_t->system_u:object_r:httpd_exec_t
restorecon reset /usr/sbin/rndc context system_u:object_r:sbin_t->system_u:object_r:ndc_exec_t
restorecon reset /usr/sbin/named-checkconf context system_u:object_r:sbin_t->system_u:object_r:named_checkconf_exec_t
[...]
restorecon reset /var/run/bind context system_u:object_r:var_run_t->system_u:object_r:named_var_run_t
restorecon reset /var/run/bind/run context system_u:object_r:var_run_t->system_u:object_r:named_var_run_t
restorecon reset /var/run/bind/run/named.pid context system_u:object_r:initrc_var_run_t->system_u:object_r:named_var_run_t
restorecon reset /var/run/motd context system_u:object_r:initrc_var_run_t->system_u:object_r:var_run_t
restorecon reset /var/run/apache2 context system_u:object_r:var_run_t->system_u:object_r:httpd_var_run_t
restorecon reset /var/run/apache2/cgisock.3558 context system_u:object_r:var_run_t->system_u:object_r:httpd_var_run_t
restorecon reset /var/run/apache2.pid context system_u:object_r:initrc_var_run_t->system_u:object_r:httpd_var_run_t
restorecon reset /var/log/apache2 context system_u:object_r:var_log_t->system_u:object_r:httpd_log_t
restorecon reset /var/log/apache2/error.log context system_u:object_r:var_log_t->system_u:object_r:httpd_log_t
restorecon reset /var/log/apache2/access.log context system_u:object_r:var_log_t->system_u:object_r:httpd_log_t

The -v option to restorecon causes it to give verbose output concerning it's operations. Often you won't do it in real use, but it's good to illustrate the use.

Now you have to restart the daemons:

# killall -9 apache2
# /etc/init.d/apache2 start
Starting web server (apache2)....
# /etc/init.d/bind9 restart
Stopping domain name service...: bind.
Starting domain name service...: bind.

Apache and BIND now run in confined domains, see the following ps output:

system_u:system_r:httpd_t   3833 ?     Ss     0:00 /usr/sbin/apache2 -k start
system_u:system_r:httpd_t 3834 ? S 0:00 /usr/sbin/apache2 -k start
system_u:system_r:httpd_t 3839 ? Sl 0:00 /usr/sbin/apache2 -k start
system_u:system_r:httpd_t 3841 ? Sl 0:00 /usr/sbin/apache2 -k start
system_u:system_r:named_t 3917 ? Ssl 0:00 /usr/sbin/named -u bind

It's not particularly difficult. I covered the actual install of SE Linux in about 1.5 minutes. I had considered just ending my talk there on a note of "it's so easy I don't need 5 minutes to talk about it" but decided that it was best to cover something that you need to do once it's installed.

If you want to know more about SE Linux then ask on the mailing list (see http://www.nsa.gov/selinux for subscription details), or ask on #selinux on freenode.

Steve McIntyre: Is there nothing they won't stoop to?

In the UK, the Gowers review of Intellectual Property (sigh at the usual conflation) was released this week. Amongst a whole slew of other recommendations, he stated quite clearly that the term of current music copyright protection in the UK was already long enough, and extending it was not in the public interest: "Recommendation 3: The European Commission should retain the length of protection on sound recordings and performers' rights at 50 years." "Recommendation 4: Policy makers should adopt the principle that the term and scope of protection for IP rights should not be altered retrospectively." The review was published shortly after a slew of propaganda from various bodies in the UK representing the music industry, all essentially claiming "the sky is falling". Yesterday, there was even a full-page advertisement in the Financial Times signed by several thousand UK recording artists calling for "fair play for musicians". However, as Lessig points out, there's a small problem with that ad: at least some of the so-called signatories are dead, and have been for some time. I suppose by now we should be used to the fact that the large media corporations are corrupt and self-serving - that's hardly news any more. But this really takes the biscuit...

Biella Coleman: Small Claims Court and the Insurance-Industrial Complex

I prefer the study of the law over being personally embroiled with the law in the real world, but if indeed Blue Cross Blue Shield does not pony up the money to cover my recent mole surgeries, I think I am going to take them to small claims court, which I know nothing of, except that it is a cheap way to try to get something done when you are getting screwed by a large faceless organization or some facefull twit. So the basic story is that since I had a lapse in my insurance (thanks to good Old Rutgers University!!), when I decided that I should buy my own just in case, I fell into a “pre-existing” clause, which means basically the insurance company can make your life a living bureaucratic hell because they have to review and approve every single procedure or doctor visit for over a year. Super. So of course when I got my mole diagnosis (dysplastic) and then the surgeries (the total cost being almost 3500) they went for review, but of course Blue Cross is taking their sweet time… The derm office has called for me to get involved so I spent the morning talking to a Ms. Flood from Blue Cross/Blue Shield and she explained to me that all the documentation from the doctor’s office was only received November 1st and then they will take 60-90 days to review the case before making the decision. Now, the insurance coordinator at the dermatology office told me that Blue Cross told her that Blue Cross can take up to FIVE years (not months, Years) to make a decision which seems, well just like they type of thing they would do, but somewhat illegal, maybe, no???!!! Anyway, my plan is to wait those 90 days and then if they deny my coverage or keep flip flopping around saying they need more info, I think I am going to proceed to the small claims court option. Honestly I don’t know if this is a realistic option (though I hope my lawyer friends write back soon) and it is a pain in the neck but I refuse refuse refuse to let this go…. because well, my mole condition was not pre-existing! Sure I had them, but they were happy healthy moles… And I even had seen another dermatologist with my Blue Cross Blue Shield insurance about 6 months earlier and all was good!! Yes I am upset :-( Anyone else ever fought the insurance industrial complex along these lines? Or have used small claims courts? This makes me want to stay in Canada… forever.. but actually I am due back in NYC by August for a permanent job but more on that later.

Sam Hocevar: Oh, the nullity

Erich Schubert writes:
[A rather erroneous rebuttal of Anderson s new tool]
Please. If you are going to use maths to refute a paper, at least read the paper, not the BBC news article. In fact, dividing by zero can be useful in calculus. What the guy did is design a consistent system (I trust him at least on this) that resembles the IEEE floating point algebra, except that in his system = while NaN NaN. Such a distinction makes it possible to write and solve equations where may be involved. Of course the final result may yield but the important part is that it is consistent, proven, and remains valid whatever the input values. What should be really questioned is:

Evan Prodromou: 17 Frimaire CCXV

One problem with keeping your journal in the French Revolutionary Calendar is that you have to keep looking up what the date is. It is nice to know that there are functions for converting Julian dates to French Revolutionary dates in PHP. Also a nice link on that page to the strange and mellow http://bottoms-dream.de/ , which isn't anywhere near as pornographic as it sounds. tags:

Blinky Redux I had Blinky Hockey again tonight -- the first time in a month that I've gone. (Blinky is the pickup hockey team my friends Meg and Patti started. It's for people who don't play hockey so good but want to learn. Like me.) Last time we had it, I flew out to California at 6AM the next day for 2 weeks, so I missed two practices in between. And then last time I had everyone over for Thanksgiving dinner, and I fell asleep putting the baby down. Doh. So it was good to go out this time around. I've been going to our local hockey rink, Ar na Mont-Royal, for free skating from 4-5PM a couple of times per week since we got home, and I think I'm getting a little steadier on the ice. I still haven't got the whole stop-on-a-dime thing or skate-forwards-backwards-forwards thing, but I'm able to get around without going face down. Which is good. Tonight we did some more sophisticated drills and had a good scrimmage at the end of practice. I didn't score but I had an awesome shot. It would have been cool if it were a score. Anyways, I think I'm going to have to keep practicing on my own. Going to the Ar na is great, but maybe I should fill our parking lot out back with water, like this R ves de Glace site suggests. That'd be cool. tags:

Calendar wishlist So, I'm always trying to learn to use my calendar application, whatever's easiest and most available. I have a Treo 650 and Evolution, and they work OK, but they don't work great. I have a lot of things that I wish calendar programs had.
  • Project management integration. This is probably the biggest one for me. I can't believe that we have two different kinds of programs for planning the exact same information: what you're going to do with your time. On top of that it's remarkable that so few of project planner programs talk to calendars (or vice versa).
  • Hierarchical TODO lists. I'd like to break up tasks into sub-tasks that depend on each other.
  • Effort estimates. I'd like to be able to make notes about how long I think a task is going to take, and when I'll get it done.
  • Repeating TODOs. Probably the most egregiously un-ergonomic thing about modern calendaring programs. Almost everything I have to do in my life I have to do on a repeating schedule. I have to take out the recycling once a week before Wednesday morning. I have to pay rent before the 1st. I understand it's a tricky problem, but that doesn't mean I don't want a program to do it.
  • Open invitations. I'd like to be able to send open event invitations to mailing lists and have people RSVP automatically (if they want). All the systems I've used require that I know the email address of each invitee ahead of time. And they rarely work across calendaring systems.
  • Skipped TODOs. Sometimes I give myself a task todo and I just don't get around to doing it. I'd like to be able to mark a task as not done, but no longer important. I don't want to forget it forever, just remember that it never got done.
  • Logging. It'd be nice if there were more and nicer interfaces to say what I did with my day after it's done. When did I finish that module? When was the last time Niko came over for dinner? It would be nice if my calendar helped me remember the past as well as plan the future.
  • Sharing by default. I want to set up calendar sharing once, have my local and remote calendar synched transparently, and never worry about it again. CalDAV seems neat, but I have got no idea how to get it working.
  • More shared calendars. I like using shared calendars; I wish more organizations published them. I'd like it if Bell Canada published a calendar that told me when to pay my phone bill, and I'd like it if MSLUG published a calendar of their meetings. I'd like it if I could mark my phone bill as paid, and RSVP for an MSLUG meeting, through my calendar interface.
  • ACLs. Different people need to see different parts of my calendar. It'd be nice to have finer-grained control than "public" and "private".
tags:

Clint Adams: The NSA predicts flurries tonight

One, and the snow-capped peaks of the Rockies blended into dull tableaux. Two, and the steel towering above Yerba Buena Island was mistaken for something else. Three, and the bellows of the donkeys, the bad asses of Kona, became muffled by the roar of the ocean. Four, and the howling wind of the frozen north was blocked by brick and mortar. Five, and the redwoods had nothing to say. Six, and the Whittier Narrows shook. Seven was a bad movie.

7 December 2006

Roland Mas: Camsync is shaping up

Did I mention a few scripts I'm using to automagically download my digital pictures off the camera and into F-Spot? Yes, I think I did. I probably mentioned a large bunch of largely spaghetti shell-scripts, too. Fearsome. Well, fear no more! I've started a rewrite, a proper one, in Perl. With a configuration file and all. No camera models or file paths hardcoded. Probably faster, too, since I only fork a few gphoto2 processes in total (instead of one for each downloaded picture). Yes, gphoto2. I haven't reimplemented the mass-storage part yet since I mainly use my PTP camera these days. It may happen someday. I decided to call my beginning-of-a-program "Camsync". Then of course I found that this name was already taken for something similar. I'll contact the author of that something and see what happens. In the meantime, all you PTP-only camera owners may want to have a second look at sync-digicams — it's been updated.

Next.

Previous.