Search Results: "agi"

29 March 2007

Russell Coker: questions regarding SE Linux

I just received a question about SE Linux via email. As I don't want to post private messages containing material that's globally useful I'll answer through my blog:

> other than strict and targeted policies......other policies like
> RBAC, MCS, Type Enforcement are also there....how are these policies
> implemented

The two main policies are the strict policy and the targeted policy. The strict policy is the earliest and was originally known as the sample policy (but was given the name "strict" after targeted was developed).

The strict policy aims to give minimal privileges to all daemons. The targeted policy aims to restrict the programs that are most vulnerable (network facing daemons) and not restrict other programs (for ease of use). There is currently work in progress on combining those policies so the person who compiles the policy can determine which features of strict they desire.

RBAC means Role Based Access Control. The strict policy assigns users to roles and the role then limits the set of domains that can be entered. For example the user_r role does not permit the sysadm_t domain so a user who is only permitted to enter the user_r role can not perform sys-admin tasks. Like many terms RBAC is used in different manners, some people consider that it means direct control by role (EG role user_r can not write to /dev/hda), while SE Linux has a more indirect use of roles (role user_r can not run programs in domain sysadm_t or any other domain that allows writing to type fixed_disk_device_t - the type for /dev/hda). You may consider that the strict policy supports RBAC depending on which definition of the term you use.

Generally the targeted policy is not considered to support RBAC, although if you consider a role to merely be a container for a set of accesses that are permitted then a SE Linux domain could be considered a in the RBAC sense. I don't think of targeted policy as being a RBAC implementation because all user sessions run in the domain unconfined_t which has no restriction. I think that to be considered RBAC a system must confine user logins.

Type enforcement is the primary access control mechanism for SE Linux. Every object that a process may access (including other processes) has a type assigned to it. The type of a process is known as a domain. The system has a policy database which for every combination of domain, type, and object class (which is one of dir, file, blk_file, etc - all the different types of object that a process may access) specifies whether the action is permitted or denied (default deny) and whether it is audited (default is to audit all denied operations and not audit permitted operations).

MCS is a confidentiality protection mechanism where each file has a set of categories assigned to it. The set may be empty, may contain all 1024 categories, or any sub-set. Each process has a set of categories that determines which files it may access. File access is granted if Unix permissions allow it, if the domain-type model allows it, and if MCS allows it (on an MCS system). I have just had an article on MCS published in Linux Journal.

MCS is an optional feature for people compiling Linux from source or for distribution vendors. For Red Hat Enterprise Linux, Fedora, and Debian the decision was made to include it, so the strict and targeted policies for those distributions include MCS.

There is another policy known as MLS. This is a policy build that comprises the strict policy plus Multi-Level Security. Multi-Level Security aims to give the highest confidentiality protection and comply with the LSPP (Labeled Security Protection Profile - roughly comparable to B1) Common Criteria certification. It would be possible to build a targeted policy with MLS but that wouldn't make sense - why have the highest protection of confidentiality with anything less than the highest protection of integrity?

As for how the policies are implemented, I'm not about to write a tutorial on policy writing for a blog post, I'm sure that someone will post a link to a Tresys or Fedora web page in the comments. ;)

> there r some packages of linux in which some changes has been made
> to support linux......for eg:- coreutils, findutils

That is correct. Every program that launches a process on behalf of a user at a different privilege user (EG /bin/login, sshd and crond) and every program that creates files for processes running in different domains (EG logrotate creating new log files for multiple daemons) needs to be modified to support SE Linux. Also ls and ps were modified to show SE Linux contexts as well as the obvious programs in coreutils.

> 'Z' is the new thing that have been added to most of the
> utilities......wherever I search I get the changes made only in few
> utilities like ps, mv, cp, ls
>
> Can u help me by giving all the changes made in each of the utilities.....

Unfortunately I can't. This has been identified as an issue and there is currently work in progress to determine the best way of managing this.

27 March 2007

Pablo S. Torralba: Keep going

I took this photograph last weekend at Consuegra where we went to observe the night sky, just for fun, as we used to do. I'm sure you don't need to be told that Polaris and Ursa Major are the start on the left and the constellation on the right side. And that's why I am not telling you ;-)

Anyway, the interesting thing for me here is the effect of the Earth rotation movement. Polaris is said to be in the Earth rotation axis prolongation (it is also said this will change with time, a lot of time indeed). But, by now, for us, it can be considered a fixed point in the sky: the north point which remains a point in the picture regardless of rotation. Every other star appears as rotating around Polaris, despite the truth is we are the ones rotating. I almost can imagine I see the Earth from outside.

26 March 2007

Simon Richter: Wacky ideas #13: Conflicts-If-in-Same-Dependency-Tree

Well, obviously this one needs a shorter name. The problem I'm trying to solve here is that SONAMEs, or rather the way they are used today, only handle the issue of a single, fully contained library changing ABI as one of its header files changes. However, libraries do not exist in a vacuum; as a bare minimum, they use definitions for types and alignment requirements built into the compiler, and if any of these changes, so does the library ABI. Hence, the idea of using a single number to denote the ABI is not really sufficient. The correct solution would be to embed all ABI information into the soname (libapt-pkg, for example, uses "libapt-pkg-libc6.3-6.so.3.11" on amd64, which is better but still not perfect). Obviously, this would require massive changes to the build scripts in all libraries and educating all library authors, so it is not going to happen (soon). So, what other options are there? As the kernel ABI (the syscall interface) is supposed to be really stable, we probably do not have to worry about that. So, we only have a problem if there are libraries with different assumptions about each others' ABI in the same userspace program. This can happen in two ways: The compiler changed (as in the case with the recent C++ transitions), or a library that is an indirect dependency of something that also has another dependency (direct or indirect) changes ABI. I've talked (briefly) about the former in an earlier post already. To illustrate the latter, a small example: There is a library, libuseful.so.0 that provides a number of functions, among these: struct complex_number

  float real;
  float imaginary;

 
void complex_multiply(
  struct complex_number *result,
  struct complex_number const *lhs,
  struct complex_number const *rhs);
Now another library, libresourceful.so.0, comes along and implements complex_divide on top of complex_multiply. Since the definition for complex numbers from libuseful makes a lot of sense, the include file for libresourceful reads #include "libuseful.h"
 
void complex_divide(
  struct complex_number *result,
  struct complex_number const *lhs,
  struct complex_number const *rhs);
Now one of the more serious people in Debian decides to write pointless 1.0, which takes two complex numbers and calculates (a*b)/a, using both complex_multiply and complex_divide, and links against libresourceful.so.0 and libuseful.so.0. Some time passes, and shortly before Debian freezes, libuseful's author decides that she needs more precision, so she changes the floats to doubles, bumps the SONAME and releases the new version. Shortly thereafter, someone notices that libresourceful is now using an outdated version of libuseful, and recompiles libresourceful. Since the header of libresourceful did not change, noone thinks of changing the SONAME, after all, changing it would render us incompatible with other distributions. Now, pointless 1.0 depends on libuseful.so.0 and libresourceful.so.0, which in turn uses libuseful.so.1. It still believes complex numbers are made from floats, however libresourceful now disagrees. The (a*b) expression is calculated correctly, using floats, however the result is then passed to the complex_divide function which expects a pair of doubles. Not good. Obviously, there is a number of things people have done wrong in this example. First of all, if you inherit type definitions or anything else from another library, your ABI becomes bound to theirs. As you cannot know statically what version your library will be linked against, you need a script that computes your ABI version at build time. If you do not want that, you need to repeat the type definitions in your header and (deep-)copy the data from one of your structures into one provided by the library you are using (I can already hear the screams of the performance fetishists). The assumption that, just because a dependency changed, there is not necessarily a need to bump the soname is not fundamentally incorrect; if no interfaces are being propagated, it is certainly correct, and most libraries do not really do this (for example, a HTTP library uses the resolver, but never passes the hostent structures upwards). Detecting this is difficult to do, although Sun has a few tools to help here. So where does that leave us? In my opinion, the most sensible thing a distribution can do is to make sure such a constellation never gets installed to an user's system. If there is any doubt, we need to err on the side of caution (aka use a bigger hammer). This is a "wacky ideas" post, so I also need to propose a totally untested thing that might work (or not), but at least has passed the stage of me sleeping a night over it. Ideally, dpkg would enforce that. In order to do that, it needs appropriate metadata that tells it that a certain constellation is probably wrong. The thing we want to avoid is an application using multiple versions of the same library at the same time, where "use" is denoted by a dependency relationship. So what we need is a way for a library package to declare that it is wrong to (indirectly) depend on this package and a package out of a certain group at the same time. I can see two ways of doing that, each with its own advantages and disadvantages: The "explicit" way is to add a new dependency relationship (that is where the subject "Conflicts-If-in-Same-Dependency-Tree" comes from), where you would conflict in this way with a virtual package that is named after your library without the SONAME version, and at the same time provide that virtual package (which is a technique that should not be unfamiliar to Debian people). The hypothetical libuseful above would then state Package: libuseful0
Provides: libuseful
Conflicts-If-in-Same-Dependency-Tree: libuseful
So installing pointless_1.0 would pull in libuseful0 and libuseful1, dpkg would see the conflict and refuse. For upgrades, it would refuse the libresourceful0 upgrade, as that would create an inconsistent situation. The only way out of there is to recompile pointless. The advantage is that the modifications to dpkg would be manageable (at least compared with the other option, which I will introduce shortly), the obvious disadvantage is the massive number of virtual packages introduced. The "implicit" way of doing that is moving the SONAME into its own field in the control file, and teaching dpkg that two packages with the same name and different SONAME fields can be installed at the same time, although not depended on by the same package. This is a really nasty change to dpkg and also requires a syntax for dependencies that includes the desired SONAME version, but it gives us a lot of other advantages. The one immediately visible is that it does not bloat the Packages file too much, and does not introduce lots of virtual packages, although the net effect inside apt and dpkg is probably going to be the same. A really cool side effect though would be that the soname is no longer part of the Package: field, and thus it becomes possible to insert it using substvars. This, of course, is a cool thing when library authors come to their senses and include ABI information for dependent libraries into their SONAMEs. Since this has gotten lengthy, thanks for reading this far. Of course, questions and comments are requested, and if you are interested in pursuing this, please get in touch, either via email or if you can wait that long, at the "Wacky Ideas" BoF at DebConf. The last thing for me to do here is to welcome Joachim to the "post your ideas" "meme".

Neil McGovern: Don't get free hardware, win it


A while back, I entered a competition to win one of a few prizes. The results came in, and it looks like I was a runner up, netting me a Mac Mini.

First, a rant about Mac OS X. It appears that there is no way to:

They also asked me to " become one of our evangelists and tell your developer friends and colleagues about Zimki".
Well, I'm not so sure about evangelism, but I'll certainly blog about their platform, as it's fairly interesting.
So, what exactly is Zimki?
Well, it's basically a server side Javascript parser, based on SeaMonkey. The thought of using Javascript as a server side language is, initially, enough to make you run a thousand miles. After you get over your initial shock of this and examine it a little more closely, it does make at least a moderate amount of sense. It's entirely OO, so you should be able to pull in common functionality, perfect for the quick deployment of Webapps that Zimki is designed for.
Of course, this does rely on having the core libraries available. The only ones which seem to exist at the moment are: So, I can make a wiki which uses a template, and outputs it as an RSS feed. The rest I have to code myself - or do I?
This brings me nicely on to the next issue: documentation. There is a thorough lack of it. Thus, more classes may exist, but who knows. This is my MAJOR bugbear about Zimki. Give developers docs, and a nice coding environment, and they're happy. Zimki doesn't have either. Oh wait? I haven't mentioned the coding environment?
All editing seems to be done via a text box with some AJAX magic on the save button. But the save button doesn't work in Linux. Oh, and you can't indent your code. And you can't use a local editor.

This may sound all doom-and-gloom for Zimki, but it isn't. The editor could do with some attention, but it's not a show stopper. Zimki does manage to throw together HA concepts, backups and database (ish. The database object idea which Zimki uses is something I really don't like, but that's personal preference). The cost model they use is rather... odd. A charge is made for each call to the Zimki framework. I'm not a beancounter though, so I can't tell you how cheap/expensive this system is. If you know JavaScript well, and want to develop a complete webapp in it, this is certainly a good tool.

Now hopefully they'll get some documentation together and so people can actually USE the thing. If you're bored, why not play with my app that I wrote.

24 March 2007

Neil Williams: Emdebian repository layout

OK, after a long time and a few reshuffles, emdebian has a 'logical' SVN repository layout with a clear division between current and superceded code, clear module separation and updated documentation.
[ wiki docs ]
[ website docs ]
[ repository browser ]

To check out the current code:
svn co http://buildd.emdebian.org/repos/current/

A full check out of even just the current code can easily be over 20Mb and is likely to increase as more packages are emdebianised. See the list of modules available.

23 March 2007

Martin F. Krafft: Managing SSH's known_hosts database

Yoe wonders how to manage SSH's known_hosts database. Here is how I do it: In ~/.ssh/config:
Host *
  StrictHostKeyChecking yes
  CheckHostIP yes
  [...]
[...]
Host wall   wall.madduck.net
  CheckHostIP no
  [...]
This causes SSH to refuse connections unless the host fingerprint is already in the known_hosts database. For the host wall, which has a dynamic IP, I don't bother checking the IP every time I connect. To be able to connect to new hosts, or to hosts that I'll only use once or twice, I make use of two shell functions:
sshtmp ()  
  ssh -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null" "$@"
 
sshnew ()  
  ssh -o "StrictHostKeyChecking no" "$@"
 
The first of the two effectively disables the known_hosts database and lets me connect to any host. The second function, sshnew, I use to connect to new hosts, which I would like to add to the known_hosts database. This works alright. I would still much more prefer to be able to use something akin to ~/.ssh/known_hosts.d/ or another method that makes it easier to keep known_hosts synchronised across various hosts. NP: Emerson, Lake & Palmer / Tarkus

22 March 2007

Andrew McMillan: Seamless Monitor Hotplugging with X Windows

There are times when you want to track the bleeding edge of a particular project, and having a new laptop is often one of those moments... I've recently bought an HP Compaq nx6320 and while most of it is working, one of the reasons I got it was because of Keith Packard's work on the RandR extensions for X. Well, I was definitely seeing this bug but with a small patch I can get the latest (experimental) packages for xserver-xorg-video-intel to work, and now with a few magic tweaks to my xorg.conf I can make my desktop expand to another monitor when I unsuspend at work, and contract back to just the laptop screen when I resume somewhere else. The Magic Expanding X Config First of all, when I got the driver to actually work, xrandr explained to me that my maximum resolution was 1400x1400:
Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 1400 x 1400
VGA disconnected (normal left inverted right)
LVDS connected 1400x1050+0+0 (normal left inverted right) 305mm x 228mm
   1400x1050      60.0*+
   1280x800       60.0  
   1280x768       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right)
Using a few clues from Ross Burton I managed to get that "maximum 1400x1400" to increase. The trick is to add a "Virtual" setting for screen size into your "Screen" Section, like so:
Section "Screen"
        Identifier      "Default Screen"
        Device          "Intel 945GM/GMS/940GML"
        Monitor         "Laptop Panel"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Virtual         2680 1050
        EndSubSection
EndSection
The downside of this is that if you set the width greater than 2048 (as I have here) then DRI won't work, so you won't get 3d stuff. I guess I can manage without ice-cream, just so long as I get my cake! Once I have the "Virtual" setting, when I resume at the office I can:
xrandr --output VGA --mode 1280x1024 --pos 1400x0
And then when I resume somewhere without the external monitor, I can:
xrandr --output VGA --off
Quibbles All of these features are kind of under development, but Xorg 7.3 will support this stuff, and then Gnome and suchlike will have to start thinking about how to deal with it. The dynamic screen changing is not something these environments are completely ready for. One example is that while I know that monitor is always on the RHS of my docking station, X wants it to be the primary monitor and Gnome moves both panels onto that screen. Perhaps that's not a choice that can be made automatically. Someone who had an external keyboard plugged into their docking station might want the opposite behaviour, and there is certainly no way the environment can magically know whether that monitor is left or right of my laptop screen. Eventually I expect that Gnome will recognise this monitor, and will make the panels and location automatically set the RandR environment to match the way I set it last time. It is also somewhat annoying that I have to actually choose the virtual size. No doubt this configuration will disappear in due course and it is not really surprising to see it for something which is admittedly quite bleeding edge! I noticed at LCA that Keith had his own screen set for a Virtual size of 2048x2048, and now I know why: that's the maximum size that is supported for DRI, so if I expand my desktop onto a 1280x1024 screen I'm going to have some overlap. In fact I could almost configure my external monitor to be above my normal screen and use it that way, but it would feel pretty weird I think. In the meantime I've gone back to "blank screen" for my screen saver which admittedly is currently the only application for 3d acceleration on my desktop. Remaining Problems with this Laptop The only outstanding issues for me with this laptop are: That's about the best Linux compatibility I have had for any of my last five laptops within a month of buying it. Most of them have had much more significant stuff less supported even after three years of use!

21 March 2007

Fabio M. Di Nitto: When your upstream rocks!

Working on cluster testing is not easy and debugging can be extremely more complicated that you can think of given the distributed nature of the software you are running. So RedHat Cluster guys (Patrick and Lon) and I have been sitting together on IRC for the past couple of days trying to figure out what the hell was wrong with this bug that did block services from being switched from one node on the cluster to the other that is sort of vital functionality for a cluster itself. Everything turned up to be a kernel race condition in the DLM (Distributed Lock Manager) that we were able to workaround in userland by changing the way the resource manager tells the kernel (via libdlm2) to de-allocate the lock_space with a one liner. So what's the point? Simple.. these guys could have just turned me down and send me away since we were testing on Ubuntu, but they didn't. They have been of great help (nevermind that you can really have a good time working with them) and extremely responsive. They really rock hard. Clearly.. get to know your upstream! it's vital for your activity as Ubuntu Developer. Get to know what you are working on! Packaging is not just a matter of creating a debian/ dir in your source to build the code and ship a .deb. You have to know what's in that code and how things work. Upstream can always help you, but you need to be helpful to upstream too and let them understand that you are not just another packager for yet another distribution.

20 March 2007

Benjamin Mako Hill: PHLanthropy

Last week, I had planned to travel from Boston to Tampa with a connection in Philadelphia. I landed in Philadelphia without a problem but an ice storm descended on the airport and, after five hours of our flight's departure time being pushed back, the entire airport was closed and all flights for that day were canceled. When I arrived back at PHL the next day, two hours before the scheduled departure of my flight home -- my trip to Tampa was, by this point, called off entirely -- the airport was in chaos. Flights were still being canceled, airport information displays were inaccurate or switched off entirely and stranded travelers were everywhere. US Airways had deactivated the automatic ticket machines and there were thousands of people in scores of lines hoping for new tickets and assistance. But unlike the day before, we all knew that planes were theoretically going to be leaving and that, stuck outside, we were not going to be on them. People wanted boarding passes and they wanted them desperately. But the lines were not moving and nobody -- or almost nobody -- was going anywhere. Meanwhile, the four teams of TSA workers at the security station were standing idly talking to themselves like attendants at a light night gas station. The only people inside the terminal were those that had slept there or flown in that morning. After finding the end of a line, I asked someone what their line was for. Nobody knew, but each hoped it lead to someone who would assist with their particular problem. Usually they merely wanted to check in. Several people I asked had been waiting in line for five hours that morning only to find out that their line was, in fact, not a line at all but merely a mass of people leading nowhere or simply dissolving into other lines. Nobody knew what else to do so, I, like everyone else, queued up and hoped for the best. An impeccably dressed and obviously wealthy woman asked what I was in line was for. I told her that I didn't know but, like everyone else, hoped it would lead to a boarding pass. She wanted the same thing. She asked if there was a separate queue for first class and I pointed out that it seemed unlikely, in the chaos, that first class was getting special treatment. I pointed out that I also had a first class ticket -- it was the only seat available when the harried agent rebooked me the day before and I had not paid extra for this, but I did not tell her this. She nodded to me in camaraderie. She stood pensively next to me for five minutes and then fumbled for her wallet and ticket. She asked me if I would hold her place in line and I agreed. Five minutes later she reappeared with a boarding pass in her hand. Surprised, I asked her how she had obtained it. She stated, quietly so as not be overhead by the other would-be passengers but matter of factly, that she'd found a baggage handler and flashed a twenty dollar bill and her itinerary. She mentioned that the man she had paid had left but that, "any of them will do it." Sure enough, I was in the terminal less than ten minutes, and twenty dollars, later. Despite growing up partially in the third world, I've only personally bribed a person once before -- also in the United States. Like my previous experience, I didn't feel good about buying my way out of what seems to have, in fact, devolved into a racket. I have spent a lot of time reflecting on the situation and my action in the last several days. Everyone, or nearly everyone, outside the Philadelphia airport terminal had twenty dollars and most of them would have happily paid it to escape their predicament. The reason that most people did not pay off baggage workers is not because they found it prohibitively distasteful, although certainly some of them would have, but because most of us, and I include myself, would have spent the whole day frustrated, desperate, and standing line after line without even considering a bribe as an option. While we know it on some intellectual, reflective level, the vast majority of us do not, in practice, imagine that we can use money as a way to manipulate people into special treatment. As a result, even in situations like that morning in Philadelphia, I simply don't even think of the twenty in my wallet as a way to solve my problem. It's true that wealthy people, like the woman in line behind me, get what they want because they can pay lots of money for products and services. But it is not quite this simple. Some wealthy, powerful people get what they want in part because they think to use money in ways that the rest of us do not. Perhaps this is because this type of spending is frequently not an option for most of us or, we tell ourselves, perhaps even truthfully, because we find it distasteful and immoral. The difference between being inside or outside the terminal last Saturday was not about having or not having money. It was, in fact, about having a particular relationship to money and, through money, to other people. It was not about the value conferred by money but about a set of values that can result from having it in abundance.

Erich Schubert: Flash memory and wear leveling

Uwe and Gunnar have been talking about using flash aka. solid state disks. So far, every USB memory stick I had has died after a fairly low number of write cycles... sometimes doing a low level format helped, but the errors resurfaced again later on. Interestingly enough, I never had such problems with digial camera media, just with USB thumb drives. The wikipedia article on Flash RAM is also rather vague:
Another limitation is that flash memory has a finite number of erase-write cycles (most commercially available flash products are guaranteed to withstand 1 million programming cycles). This effect is partially offset by some chip firmware or file system drivers by counting the writes and dynamically remapping the blocks in order to spread the write operations between the sectors.
And where do they store the write count without doing extra writes? :-) (Note: you can do some simple counting with programming cycles only, i.e. by doing only NOR/NAND operations and no resets) Note that there are also filesystems designed for flash, e.g. JFFS2, that have built-in wear leveling at the filesystem level. It might also make sense to not use a media with wear leveling, but instead do it yourself in software. However you most likely won't have a choice here unless you build your own hardware and want to skip the extra controller. You should however try to keep the number of writes low, so e.g. disable atime for ext2/3 (I guess JFFS2 doesn't support atime by design), reduce the frequency of flushing buffers to disk ('laptop mode') and use RAM filesystems where possible (e.g. /tmp). Anyway, go and read above Wikipedia article, it has some good information on it. And in half a year, many laptops will sell with hybrid drives, because of Microsoft pushing that technology. (I remember having read that in fall, having a hybrid drive will be a requirement for Vista gold compability or so?) It would be interesting to work out how Linux can benefit most from such a hybrid system. I can imagine using a USB thumb drive with my laptop both as access key and for rapid boot (my harddisk is encrypted anyway, and it would make sense to not have an unencrypted bootloader on the disk, but only on the flash drive. The flash drive would not contain the key, but the kernel, decryption software, i.e. cryptsetup etc., and maybe some services to be loaded on boot for fast startup)...

Biella Coleman: Soft Core, Hard Core, or something else

Awhile back, one of my favorite bloggers, Philip Dawdy of Furious Seasons, deviated from his usual posts that place a big fat critical magnifying glass under the marketing (and other shady) tactics of Big Pharma and wrote a very thoughtful, (also furious) account of Web 2.0 claiming:
this whole Web 2.0, social networking, virtual community business is essentially a pornography of the self a projected, fictionalized self that is then worshipped by the slightly less-perfect self.
It is a little off the top at times but makes some really good points that I agree with (and generated a really interesting discussion). It merits reading alongside Danah Boyd’s recent rumination on the very same topic, fame, narcissism and MySpace, where she seeks to address narcissism but she deflects blame the suite of technologies and places it instead on the broader set of cultural practices that sustain this accentuated inward focus:
My view is that we have trained our children to be narcissistic and that this is having all sorts of terrifying repercussions; to deal with this, we’re blaming the manifestations instead of addressing the root causes and the mythmaking that we do to maintain social hierarchies. Let’s unpack that for a moment.
These two read nicely with an older piece in Harpers Attack of the superzeroes: why Washington, Einstein, and Madonna can t compete with you . The author, Thomas de Zengotita claims “Being famous isn’t what it used to be” because new technologies of mediation and reflexivity (and by new, he means a lot more than web 2.0, it includes reality shows, focus groups, karaoke, the hyper-representation of the real stars, alongside the usual suspects) and concludes that we life as if we were always on stage, concluding somewhat disparagingly “We are all method actors now.” Of course, this is an important part of the story but not the whole story. There are times, for example, these social technologies help to patch up what is arguably as common in North America as is this narcissistic self, which is the fragmented self, that comes into being, for example because many of us, migrate here and the, for example, for work. So a social networking site like Facebook, provides somewhat of a stable point of reference, where there are individuals collected, in the same place, even though the people are no longer really in the same place. It is at least a recognition of certain relationships whose “local” face has now passed but instead of completely completely fading into the realm of memory, the past lives on, albeit in transformed ways, within a virtual space. This facet of social networking is not particularly narcissistic, but is building new technologies of memory that I think works somewhat against the conditions that fragment the self. And while the patching up of the person may make an individual “whole” and “individuated” it seems it is a form that is much more mundane than the “pornography” or “narcissism,” explored above, though of course, they do abound–but karaoke, that is always pornography of the self. But… porn can be fun.

19 March 2007

David Nusinow: Much Like The Internet, Your Mom Is A Series Of Tubes

This article got me thinking about some new ways we could dramatically improve Debian. We had a lot of success in the past because good packaging helps people get over the fearful hump of installing and setting up new software in order to learn it. We're great at that, and the battle is pretty much over there.

Afterwards though, I don't think we're so good at helping our users through the scary parts. We include a lot of documentation, but that's not really cutting it any more. I set out to work on X because the scariest thing for a lot of users is getting X up and running, and I wanted to help them (and myself!) do it. We still don't have that nailed, but it's in the pipeline, so I think the next stage will be to help people do cool things with X that they wouldn't have done before. In the past, this would have involved doing things like setting xrdb settings, but these days such things aren't really useful. I'm going to continue brainstorming this, but to this end I've started a page on the wiki that's expressly for helping users get over some of the more difficult and interesting things that people might want to do with, or to, X.

Currently the only tip is on building packages using upstream's git HEAD and our own packaging, but I'm looking to put more stuff up in the nearish future. While we haven't been maintaining it so well, the XSF FAQ has a lot of these sorts of tips too.

I think we can push harder and be more clever about giving our users and ourselves cool things to do with Debian beyond packaging. The XSF move to git opened up the opportunity to easily track the X.org HEAD with the Debian packaging, and I think that sort of thing is indicative that we can be clever about enabling people at all stages of the development process, not just through the packaging itself. If you guys have any ideas for more X tips you'd like to see documented, please edit that wiki page or at least drop me or debian-x a mail so we can write it up for you. I want to see how far we can push this.

Thom May: Ian Murdock and Sun

This is what I just wrote on Mark’s blog about Ian’s move to Sun:
“To some extent I m quite excited by what this might mean for OpenSolaris going forward, but Nexenta have been pushing the OS/Debian (or Ubuntu, more accurately) integration kick for some while without actually seeming to get any (public) traction within Sun
I ve also been disappointed by how little Ian seems to be in touch with how linux development works these days, but that s mostly from what he s been writing in public, rather than any particularly interaction with him, so hopefully that s not a fair summary.
I really hope that Sun can actually make this work.”
I thought I’d expand on this a bit, especially in light of my past moaning about Solaris and the installer and package management in the installer specifically.
What I really, really want, is a modern OS, which has an easily extensible and controllable installer, with good visibility and debugging infrastructure, which is very easy to manage on a grand scale - by which I mean hundreds or thousands of machines up to date, secure and consistent. At present, Ubuntu comes closest: However, there are some definite areas where Ubuntu or Debian (or Linux in general) struggle compared to Solaris – the sheer engineering resources that Sun can throw at a problem, and the talent they have available to them do result in fantastic results when they correctly identify a problem space. They also “own” Solaris – there’s no need for them to try and build awareness of a problem, and the correct solution, over a number of disparate communities.
ZFS and DTrace are the hackneyed and obvious projects here, but from a sysadmin perspective I think FMA, while far less sexy, is one of the best things Solaris10 has. And this is what I mean when I say operating system visibility.
The integration of Zones is also far better than Zen on Linux can offer currently, although both Red Hat and skx are working hard to fix this.
I’m really looking forward to the day when I get an OS that solves all these problems…

Amaya Rodrigo: I feel mirrored

In this crazy world all is possible.

Some time ago a fellow Debianer wrote an email to me... because he had just found out about me, and... His name is Rodrigo, his last name Amaya! He lives on the opposite half of the world, somewhere down there, he was not specific enough. He must be my alter ego. How crazy can that be?! I was on the verge of tears when I read the email he sent me... If he became a DD the fun would be endless! And I thought getting amaya s (the browser) related email was crazy and weird enough. Crazy but fun! Just imagine adding to the confusion like this... Unbeatable

/me jumps around!

N.P. Loco En El Coco (Insane in the Brain) - Cypress Hill - Los Grandes Exitos En Espa ol

18 March 2007

Erich Schubert: Enhanced network monitoring

So far, all network monitoring solutions I've tested suck. What I'm looking for is a network monitoring solutions, which Pretty much every monitoring solution I've seen so far is great at collecting tons of data, but doesn't help me with actually handling this amount of data. Anyone has a recommendation for a good network monitoring tool? I'd be really interested in doing the last point - a real statistical analysis for network monitoring. This would be so useful... predicting peaks in network usage, predicting when a system will be overloaded or a disk full... but I'm phasing out of network administration; so my interest here is mostly in being able to give advice to others. [Update: no, you don't need to point me to Cacti. It's just another grapher and data collector that doesn't actually do what I would call 'monitoring'. It also seems to not have a smart scheduler, and is written in PHP (which is bad!) I was also told a non-success story with OpenNMS which just crashed when adding a host to be monitored with a totally unhelpful stack trace. I had a look at their online demo, but it felt very complex and not very useful to me...]

Jan Wagner: MySQL5 support in php5 packages on backport.org

I’m stuck of the requests linking php5 on backports.org against “MySQL5″.
You need support of MySQL5 or the mysqli extention for your php5 packages for sarge? So the packages on backports.org are not what you want. The packages are compiled against libmysqlclient12 (mysql 4.0) cause all apache modules (on backports.org) are compiled against this version. Linking php5 against an other version will lead you in trouble when using these apache modules and php5 together, cause sarge doesn’t support “versioned symbols”. For more information see the threads on php-maint or
backports-users
! If you install packages from backports.org, you should read the latter one anyways. , , , ,

Erich Schubert: Debian and SELinux in the Summer of Code

Debian is participating in the Google Summer of Code again. Russell Coker offers to mentor SELinux projects, and so do I. I'm available for mentoring SELinux and Debtags related projects in particular. This years idea pool in the Debian Wiki. Make sure to also check last years idea pool (some of which will no longer be open, though). And of course your idea doesn't need to be on these pages already; we're of course interested in anything that goes beyond that. One thing with SELinux I'm particularly interested in is install scripts. That is quite some work to do, and you might want to automate it somewhat. Debian install scripts can be quite complex. Some things are obvious such as restarting services on upgrade. But some scripts do much more. SELinux uses a deny by default approach (which is the only sane security approach, btw.); in particular this means that many Debian install scripts will be failing. Right now, package postinst scripts are being run with the full permissions of the apt-get domain. It would be good to reduce that to a "postinst" domain. It would be a possible GSoC project to analyze which permissions package postinst scripts need, and if we can e.g. add a "postinst extended" domain for just a few postinst scripts that really need extended permissions. An example for extended postinst tasks in Debian (I don't think Redhat, Fedora or Gentoo does that yet): precompiling all python modules for all installed python versions (and to avoid having programs try to precompile them on demand, which will result in audit errors and such). I wrote a module for that called python-support. It adds a restricted domain which can exactly do this task of precompiling Python. But there is other such stuff, such as updating the menus, managing alternatives etc. But feel free to suggest your own ideas.

16 March 2007

Eddy Petrișor: sleep broken, again; thanks to xorg? gnome-core?

Today is the second day in which I find that my laptop does not resume properly from sleep and I start to wonder why. None of he old problems, blank screen, no reponse...

This time it just looses the GNOME session. I saw two segfaults on the console, on resume: one from iceweasel and one from another app. Then gdm comes up.

I think is xorg's fault or gnome-core. Why? Well, it didn't happened 4
days ago and I have these in the dpkg.log (grepped for upgrades only):

2007-03-12 00:19:04 upgrade xorg 1:7.1.0-13 1:7.1.0-15
2007-03-12 00:19:04 upgrade xvnc4viewer 4.1.1+X4.3.0-20 4.1.1+X4.3.0-21
2007-03-13 03:10:34 upgrade libeel2-data 2.14.3-3 2.14.3-4
2007-03-13 03:10:35 upgrade libnautilus-burn3 2.14.3-8 2.14.3-8+b1
2007-03-13 03:10:35 upgrade libnautilus-extension1 2.14.3-9 2.14.3-11+b1
2007-03-13 03:10:36 upgrade nautilus 2.14.3-9 2.14.3-11+b1
2007-03-13 03:10:37 upgrade nautilus-data 2.14.3-9 2.14.3-11
2007-03-13 03:10:51 upgrade nautilus-cd-burner 2.14.3-8 2.14.3-8+b1
2007-03-13 03:11:00 upgrade gnome-mount 0.5-2 0.5-3
2007-03-13 03:11:24 upgrade libxine1 1.1.2+dfsg-2 1.1.2+dfsg-3
2007-03-13 03:11:25 upgrade lintian 1.23.27 1.23.28
2007-03-13 03:11:26 upgrade unionfs-tools 1.4+debian-3 1.4+debian-4
2007-03-14 09:46:32 upgrade foomatic-filters 3.0.2-20061031-1.1 3.0.2-20061031-1.2
2007-03-14 09:46:32 upgrade libntfs-3g0 1:0.0.0+20061031-6 1:0.0.0+20061031-6+b1
2007-03-14 09:46:33 upgrade ntfs-3g 1:0.0.0+20061031-6 1:0.0.0+20061031-6+b1
2007-03-14 09:46:33 upgrade ekiga 2.0.3-4 2.0.3-5
2007-03-14 09:46:48 upgrade gnome-desktop-environment 1:2.14.3.5 1:2.14.3.6
2007-03-14 09:46:48 upgrade gnome-core 1:2.14.3.5 1:2.14.3.6
2007-03-14 09:46:48 upgrade gnomemeeting 2.0.3-4 2.0.3-5
2007-03-14 09:46:48 upgrade libgraphicsmagick1 1.1.7-12 1.1.7-13
2007-03-14 09:46:49 upgrade graphicsmagick 1.1.7-12 1.1.7-13
2007-03-14 09:46:50 upgrade obexfs 0.10-3 0.10-3+b1
2007-03-14 09:46:51 upgrade graphicsmagick-imagemagick-compat 1.1.7-12 1.1.7-13


I'll turn back time with snapshot.debian.net and see if I get back my resume ...


Notes:

15 March 2007

Amaya Rodrigo: Monzy: Unix Rap



Agi gave me the link on IRC to this rap song for and about nerds. It s like the Beastie Boys rhyming to the BOFH script. I am a fan now.
There is a video on YouTube for raw footage of a performance that CS rapper Monzy gave last summer outside Stanford University s Computer Science building. This footage was shot for the documentary, Nerdcore For Life.

Lyircs and MP3 for Kill Dash Nine by Monzy.

Monzy s blog

KILL DASH NINE,
No more CPU time.
I run KILL DASH NINE,
And your process is mine.
I run KILL DASH NINE,
Cause it s MY time to shine
So don t step outta line or else it s KILL DASH NINE!

Amaya Rodrigo: The strange motorbike ride

Yesterday I had a meeting in the fucking middle of nowhere, aka Campo de las Naciones (one of Madrid s premier business parks in close proximity to downtown and Barajas International Airport) where my very small company has its virtual headquarters. Pablo, one of my cow-orkers offered to give me a lift on his motorbike. Having been a chatapaquete (hard to translate, but basically, the girl who rides on the back of her bf s motorbike) for many years, I happily accepted without giving it much thought. Which lead to a very strange motorbike ride.

I waited for him downstairs, and getting to sit on the bike was hard, I almost flipped it over, much to Pablo s dismay. It was the first sign of how out practice I was at this. It was a phat CBR 900, and quite had what I call a destroy look. I like bikes that have this neglected, worn out, look. On the way to the meeting I was mostly scared as hell, basically because of the noise from the engine, the lack of control, and the brutal feeling of the wind on my face. Which made me realize how much I used to trust Chicho, that means completely, having ridden much more powerful bikes with him, definitely much faster, but not necessarily more dangerously, even though I used to enjoy the risk, and was usually the instigator: faster, harder, bigger. As if I could only enjoy extreme situations.

Pablo s way of driving the bike was sharp, abrupt but precise, it kept my heart all bouncy anticipating the next obstacle. It felt somewhat like a video game, which didn t make it the least scary. My thoughts were also fast and furious. I thought about feeling old, the trust I lost, getting my now old helmet spray-painted with a Debian swirl, getting more tattoos, fighting the aging in my heart someway, realizing how bourgeois I have become.

On the way back, I managed to relax, and even enjoyed gliding through the heavy traffic, roads busy at peak hour. Which is funny because I remember not enjoying the last bike Chicho had. Which probably was, now that I see it with enough distance, related to a loss of trust, and the knowledge that bikes are certainly dangerous.

My hair is still tangled from the ride. So is my heart.

Next.

Previous.