Introducing sd-event

Post Syndicated from Lennart Poettering original https://0pointer.net/blog/introducing-sd-event.html

The Event Loop API of libsystemd

When we began working on
systemd we built
it around a hand-written ad-hoc event loop, wrapping Linux
epoll
. The more
our project grew the more we realized the limitations of using raw
epoll:

  • As we used
    timerfd
    for our timer events, each event source cost one file descriptor and
    we had many of them! File descriptors are a scarce resource on UNIX,
    as
    RLIMIT_NOFILE
    is typically set to 1024 or similar, limiting the number of
    available file descriptors per process to 1021, which isn’t
    particularly a lot.

  • Ordering of event dispatching became a nightmare. In many cases, we
    wanted to make sure that a certain kind of event would always be
    dispatched before another kind of event, if both happen at the same
    time. For example, when the last process of a service dies, we might
    be notified about that via a SIGCHLD signal, via an
    sd_notify() “STATUS=”
    message, and via a control group notification. We wanted to get
    these events in the right order, to know when it’s safe to process
    and subsequently release the runtime data systemd keeps about the
    service or process: it shouldn’t be done if there are still events
    about it pending.

  • For each program we added to the systemd project we noticed we were
    adding similar code, over and over again, to work with epoll’s
    complex interfaces. For example, finding the right file descriptor
    and callback function to dispatch an epoll event to, without running
    into invalidated pointer issues is outright difficult and requires
    non-trivial code.

  • Integrating child process watching into our event loops was much
    more complex than one could hope, and even more so if child process
    events should be ordered against each other and unrelated kinds of
    events.

Eventually, we started working on
sd-bus. At
the same time we decided to seize the opportunity, put together a
proper event loop API in C, and then not only port sd-bus on top of
it, but also the rest of systemd. The result of this is
sd-event. After
almost two years of development we declared sd-event stable in systemd
version 221, and published it as official API of libsystemd.

Why?

sd-event.h,
of course, is not the first event loop API around, and it doesn’t
implement any really novel concepts. When we started working on it we
tried to do our homework, and checked the various existing event loop
APIs, maybe looking for candidates to adopt instead of doing our own,
and to learn about the strengths and weaknesses of the various
implementations existing. Ultimately, we found no implementation that
could deliver what we needed, or where it would be easy to add the
missing bits: as usual in the systemd project, we wanted something
that allows us access to all the Linux-specific bits, instead of
limiting itself to the least common denominator of UNIX. We weren’t
looking for an abstraction API, but simply one that makes epoll usable
in system code.

With this blog story I’d like to take the opportunity to introduce you
to sd-event, and explain why it might be a good candidate to adopt as
event loop implementation in your project, too.

So, here are some features it provides:

  • I/O event sources, based on epoll’s file descriptor watching,
    including edge triggered events (EPOLLET). See
    sd_event_add_io(3).

  • Timer event sources, based on timerfd_create(), supporting the
    CLOCK_MONOTONIC, CLOCK_REALTIME, CLOCK_BOOTIME clocks, as well
    as the CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM clocks that
    can resume the system from suspend. When creating timer events a
    required accuracy parameter may be specified which allows coalescing
    of timer events to minimize power consumption. For each clock only a
    single timer file descriptor is kept, and all timer events are
    multiplexed with a priority queue. See
    sd_event_add_time(3).

  • UNIX process signal events, based on
    signalfd(2),
    including full support for real-time signals, and queued
    parameters. See sd_event_add_signal(3).

  • Child process state change events, based on
    waitid(2). See
    sd_event_add_child(3).

  • Static event sources, of three types: defer, post and exit, for
    invoking calls in each event loop, after other event sources or at
    event loop termination. See
    sd_event_add_defer(3).

  • Event sources may be assigned a 64bit priority value, that controls
    the order in which event sources are dispatched if multiple are
    pending simultanously. See
    sd_event_source_set_priority(3).

  • The event loop may automatically send watchdog notification messages
    to the service manager. See sd_event_set_watchdog(3).

  • The event loop may be integrated into foreign event loops, such as
    the GLib one. The event loop API is hence composable, the same way
    the underlying epoll logic is. See
    sd_event_get_fd(3)
    for an example.

  • The API is fully OOM safe.

  • A complete set of documentation in UNIX man page format is
    available, with
    sd-event(3)
    as the entry page.

  • It’s pretty widely available, and requires no extra
    dependencies. Since systemd is built on it, most major distributions
    ship the library in their default install set.

  • After two years of development, and after being used in all of
    systemd’s components, it has received a fair share of testing already,
    even though we only recently decided to declare it stable and turned
    it into a public API.

Note that sd-event has some potential drawbacks too:

  • If portability is essential to you, sd-event is not your best
    option. sd-event is a wrapper around Linux-specific APIs, and that’s
    visible in the API. For example: our event callbacks receive
    structures defined by Linux-specific APIs such as signalfd.

  • It’s a low-level C API, and it doesn’t isolate you from the OS
    underpinnings. While I like to think that it is relatively nice and
    easy to use from C, it doesn’t compromise on exposing the low-level
    functionality. It just fills the gaps in what’s missing between
    epoll, timerfd, signalfd and related concepts, and it does not hide
    that away.

Either way, I believe that sd-event is a great choice when looking for
an event loop API, in particular if you work on system-level software
and embedded, where functionality like timer coalescing or
watchdog support matter.

Getting Started

Here’s a short example how to use sd-event in a simple daemon. In this
example, we’ll not just use sd-event.h, but also sd-daemon.h to
implement a system service.

#include <alloca.h>
#include <endian.h>
#include <errno.h>
#include <netinet/in.h>
#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <unistd.h>

#include <systemd/sd-daemon.h>
#include <systemd/sd-event.h>

static int io_handler(sd_event_source *es, int fd, uint32_t revents, void *userdata) {
        void *buffer;
        ssize_t n;
        int sz;

        /* UDP enforces a somewhat reasonable maximum datagram size of 64K, we can just allocate the buffer on the stack */
        if (ioctl(fd, FIONREAD, &sz) < 0)
                return -errno;
        buffer = alloca(sz);

        n = recv(fd, buffer, sz, 0);
        if (n < 0) {
                if (errno == EAGAIN)
                        return 0;

                return -errno;
        }

        if (n == 5 && memcmp(buffer, "EXIT\n", 5) == 0) {
                /* Request a clean exit */
                sd_event_exit(sd_event_source_get_event(es), 0);
                return 0;
        }

        fwrite(buffer, 1, n, stdout);
        fflush(stdout);
        return 0;
}

int main(int argc, char *argv[]) {
        union {
                struct sockaddr_in in;
                struct sockaddr sa;
        } sa;
        sd_event_source *event_source = NULL;
        sd_event *event = NULL;
        int fd = -1, r;
        sigset_t ss;

        r = sd_event_default(&event);
        if (r < 0)
                goto finish;

        if (sigemptyset(&ss) < 0 ||
            sigaddset(&ss, SIGTERM) < 0 ||
            sigaddset(&ss, SIGINT) < 0) {
                r = -errno;
                goto finish;
        }

        /* Block SIGTERM first, so that the event loop can handle it */
        if (sigprocmask(SIG_BLOCK, &ss, NULL) < 0) {
                r = -errno;
                goto finish;
        }

        /* Let's make use of the default handler and "floating" reference features of sd_event_add_signal() */
        r = sd_event_add_signal(event, NULL, SIGTERM, NULL, NULL);
        if (r < 0)
                goto finish;
        r = sd_event_add_signal(event, NULL, SIGINT, NULL, NULL);
        if (r < 0)
                goto finish;

        /* Enable automatic service watchdog support */
        r = sd_event_set_watchdog(event, true);
        if (r < 0)
                goto finish;

        fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
        if (fd < 0) {
                r = -errno;
                goto finish;
        }

        sa.in = (struct sockaddr_in) {
                .sin_family = AF_INET,
                .sin_port = htobe16(7777),
        };
        if (bind(fd, &sa.sa, sizeof(sa)) < 0) {
                r = -errno;
                goto finish;
        }

        r = sd_event_add_io(event, &event_source, fd, EPOLLIN, io_handler, NULL);
        if (r < 0)
                goto finish;

        (void) sd_notifyf(false,
                          "READY=1\n"
                          "STATUS=Daemon startup completed, processing events.");

        r = sd_event_loop(event);

finish:
        event_source = sd_event_source_unref(event_source);
        event = sd_event_unref(event);

        if (fd >= 0)
                (void) close(fd);

        if (r < 0)
                fprintf(stderr, "Failure: %s\n", strerror(-r));

        return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}

The example above shows how to write a minimal UDP/IP server, that
listens on port 7777. Whenever a datagram is received it outputs its
contents to STDOUT, unless it is precisely the string EXIT\n in
which case the service exits. The service will react to SIGTERM and
SIGINT and do a clean exit then. It also notifies the service manager
about its completed startup, if it runs under a service
manager. Finally, it sends watchdog keep-alive messages to the service
manager if it asked for that, and if it runs under a service manager.

When run as systemd service this service’s STDOUT will be connected to
the logging framework of course, which means the service can act as a
minimal UDP-based remote logging service.

To compile and link this example, save it as event-example.c, then run:

$ gcc event-example.c -o event-example `pkg-config --cflags --libs libsystemd`

For a first test, simply run the resulting binary from the command
line, and test it against the following netcat command line:

$ nc -u localhost 7777

For the sake of brevity error checking is minimal, and in a real-world
application should, of course, be more comprehensive. However, it
hopefully gets the idea across how to write a daemon that reacts to
external events with sd-event.

For further details on the functions used in the example above, please
consult the manual pages:
sd-event(3),
sd_event_exit(3),
sd_event_source_get_event(3),
sd_event_default(3),
sd_event_add_signal(3),
sd_event_set_watchdog(3),
sd_event_add_io(3),
sd_notifyf(3),
sd_event_loop(3),
sd_event_source_unref(3),
sd_event_unref(3).

Conclusion

So, is this the event loop to end all other event loops? Certainly
not. I actually believe in “event loop plurality”. There are many
reasons for that, but most importantly: sd-event is supposed to be an
event loop suitable for writing a wide range of applications, but it’s
definitely not going to solve all event loop problems. For example,
while the priority logic is important for many usecase it comes with
drawbacks for others: if not used carefully high-priority event
sources can easily starve low-priority event sources. Also, in order
to implement the priority logic, sd-event needs to linearly iterate
through the event structures returned by
epoll_wait(2)
to sort the events by their priority, resulting in worst case
O(n*log(n)) complexity on each event loop wakeup (for n = number of
file descriptors). Then, to implement priorities fully, sd-event only
dispatches a single event before going back to the kernel and asking
for new events. sd-event will hence not provide the theoretically
possible best scalability to huge numbers of file descriptors. Of
course, this could be optimized, by improving epoll, and making it
support how todays’s event loops actually work (after, all, this is
the problem set all event loops that implement priorities — including
GLib’s — have to deal with), but even then: the design of sd-event is focussed on
running one event loop per thread, and it dispatches events strictly
ordered. In many other important usecases a very different design is
preferable: one where events are distributed to a set of worker threads
and are dispatched out-of-order.

Hence, don’t mistake sd-event for what it isn’t. It’s not supposed to
unify everybody on a single event loop. It’s just supposed to be a
very good implementation of an event loop suitable for a large part of
the typical usecases.

Note that our APIs, including
sd-bus, integrate nicely into
sd-event event loops, but do not require it, and may be integrated
into other event loops too, as long as they support watching for time
and I/O events.

And that’s all for now. If you are considering using sd-event for your
project and need help or have questions, please direct them to the
systemd mailing list.

По повод внесеният в деловодството на НС закон за електронното гласуване

Post Syndicated from Anonymous original http://delian.blogspot.com/2015/11/blog-post_12.html

Не съм чел още предложението на РБ за електронно гласуване. Но по това, което чувам, то не е добро.
Аз подкрепям електронното гласуване, но смятам, че:
– В закон не трябва да има технически детайли, а само административна процедура
– Всеки закон, особено този, трябва да е преминал през сериозно и продължително публично обсъждане, а не да се внася бързо и изненадващо
– Закона трябва изрично да иска софтуера на кода, процесите и алгоритмите да бъдат публикувани поне 6 месеца преди провеждане на избори с тях, за да могат да бъдат изследвани и тествани от гражданите и изследователи на сигурност
– По един такъв закон (всъщност по всеки закон) трябва да бъде постигнато едно минимално ниво на обществен консенсус (общественият консенсус в полза на електронното гласуване е безспорен, но този в полза на този конкретно закон е доста спорен)
Смятам, че така претупан и подаден, такъв закон няма да бъде в полза на електронното гласуване, а напротив, гарантирано ще докара някоя издънка, било то ПР, парламентарна или имплементационна, и с това значително ще навреди, вместо да помогне на реализацията на идеята.
Бих разбрал нетърпението на РБ и опитите им хващане на обществен интерес, или бъдещи дивиденти (ние бяхме за, другите против), но действията им не смятам, че са в полза на електронното гласуване.

Public Beta: December 3, 2015

Post Syndicated from Let's Encrypt original https://letsencrypt.org/2015/11/12/public-beta-timing.html

Let’s Encrypt will enter Public Beta on December 3, 2015. Once we’ve entered Public Beta our systems will be open to anyone who would like to request a certificate. There will no longer be a requirement to sign up and wait for an invitation.

Our Limited Beta started on September 12, 2015. We’ve issued over 11,000 certificates since then, and this operational experience has given us confidence that our systems are ready for an open Public Beta.

It’s time for the Web to take a big step forward in terms of security and privacy. We want to see HTTPS become the default. Let’s Encrypt was built to enable that by making it as easy as possible to get and manage certificates.

We have more work to do before we’re comfortable dropping the beta label entirely, particularly on the client experience. Automation is a cornerstone of our strategy, and we need to make sure that the client works smoothly and reliably on a wide range of platforms. We’ll be monitoring feedback from users closely, and making improvements as quickly as possible.

Let’s Encrypt depends on support from a wide variety of individuals and organizations. Please consider getting involved, and if your company or organization would like to sponsor Let’s Encrypt please email us at [email protected].

Why ninety-day lifetimes for certificates?

Post Syndicated from Let's Encrypt original https://letsencrypt.org/2015/11/09/why-90-days.html

We’re sometimes asked why we only offer certificates with ninety-day lifetimes. People who ask this are usually concerned that ninety days is too short and wish we would offer certificates lasting a year or more, like some other CAs do.

Ninety days is nothing new on the Web. According to Firefox Telemetry, 29% of TLS transactions use ninety-day certificates. That’s more than any other lifetime. From our perspective, there are two primary advantages to such short certificate lifetimes:

  1. They limit damage from key compromise and mis-issuance. Stolen keys and mis-issued certificates are valid for a shorter period of time.
  2. They encourage automation, which is absolutely essential for ease-of-use. If we’re going to move the entire Web to HTTPS, we can’t continue to expect system administrators to manually handle renewals. Once issuance and renewal are automated, shorter lifetimes won’t be any less convenient than longer ones.

For these reasons, we do not offer certificates with lifetimes longer than ninety days. We realize that our service is young, and that automation is new to many subscribers, so we chose a lifetime that allows plenty of time for manual renewal if necessary. We recommend that subscribers renew every sixty days. Once automated renewal tools are widely deployed and working well, we may consider even shorter lifetimes.

systemd.conf 2015 Summary

Post Syndicated from Lennart Poettering original https://0pointer.net/blog/systemdconf-2015-summary.html

systemd.conf 2015 is Over Now!

Last week our first systemd.conf conference
took place at betahaus, in Berlin, Germany. With almost 100 attendees,
a dense schedule of 23 high-quality talks stuffed into a single track
on just two days, a productive hackfest and numerous consumed
Club-Mates I believe it was quite a success!

If you couldn’t attend the conference, you may watch all talks on our
YouTube
Channel
. The
slides are available
online
,
too.

Many photos from the conference are available on the Google Events
Page
. Enjoy!

I’d specifically like to thank Daniel Mack, Chris Kühl and Nils Magnus
for running the conference, and making sure that it worked out as
smoothly as it did! Thank you very much, you did a fantastic job!

I’d also specifically like to thank the CCC Video Operation
Center
folks for the excellent video coverage of
the conference. Not only did they implement a live-stream for the
entire talks part of the conference, but also cut and uploaded videos
of all talks to our YouTube
Channel

within the same day (in fact, within a few hours after the talks
finished). That’s quite an impressive feat!

The folks from LinuxTag e.V. put a lot of time and energy in the
organization. It was great to see how well this all worked out!
Excellent work!

(BTW, LinuxTag e.V. and the CCC Video Operation Center folks are
willing to help with the organization of Free Software community
events in Germany (and Europe?). Hence, if you need an entity that can
do the financial work and other stuff for your Free Software project’s
conference, consider pinging LinuxTag, they might be willing to
help. Similar, if you are organizing such an event and are thinking
about providing video coverage, consider pinging the the CCC VOC
folks! Both of them get our best recommendations!)

I’d also like to thank our conference
sponsors
!
Specifically, we’d like to thank our Gold Sponsors Red Hat and
CoreOS for their support. We’d also like to thank our Silver
Sponsor Codethink, and our Bronze Sponsors Pengutronix,
Pantheon, Collabora, Endocode, the Linux Foundation,
Samsung and Travelping, as well as our Cooperation Partners
LinuxTag and kinvolk.io, and our Media Partner Golem.de.

Last but not least I’d really like to thank our speakers and attendees
for presenting and participating in the conference. Of course, the
conference we put together specifically for you, and we really hope
you had as much fun at it as we did!

Thank you all for attending, supporting, and organizing systemd.conf
2015
! We are looking forward to seeing you
and working with you again at systemd.conf 2016!

Thanks!

Историческият парадокс с полицията и протестите

Post Syndicated from Longanlon original http://kaka-cuuka.com/3588

Протестите на полицаите вчера по повод идеите за намаление на заплатите им ми дават повод да погледна историческото значение на силите за сигурност за държавността и да опиша интересния парадокс на държавата като монополист на насилието в съвременното общество. Накратко, кой пази пазачите?

(Чети още…) (550 думи)

The CA’s Role in Fighting Phishing and Malware

Post Syndicated from Let's Encrypt original https://letsencrypt.org/2015/10/29/phishing-and-malware.html

Since we announced Let’s Encrypt we’ve often been asked how we’ll ensure that we don’t issue certificates for phishing and malware sites. The concern most commonly expressed is that having valid HTTPS certificates helps these sites look more legitimate, making people more likely to trust them.

Deciding what to do here has been tough. On the one hand, we don’t like these sites any more than anyone else does, and our mission is to help build a safer and more secure Web. On the other hand, we’re not sure that certificate issuance (at least for Domain Validation) is the right level on which to be policing phishing and malware sites in 2015. This post explains our thinking in order to encourage a conversation about the CA ecosystem’s role in fighting these malicious sites.

CAs Make Poor Content Watchdogs

Let’s Encrypt is going to be issuing Domain Validation (DV) certificates. On a technical level, a DV certificate asserts that a public key belongs to a domain – it says nothing else about a site’s content or who runs it. DV certificates do not include any information about a website’s reputation, real-world identity, or safety. However, many people believe the mere presence of a DV certificate ought to connote at least some of these things.

Treating a DV certificate as a kind of “seal of approval” for a site’s content is problematic for several reasons.

First, CAs are not well positioned to operate anti­-phishing and anti-malware operations – or to police content more generally. They simply do not have sufficient ongoing visibility into sites’ content. The best CAs can do is check with organizations that have much greater content awareness, such as Microsoft and Google. Google and Microsoft consume vast quantities of data about the Web from massive crawling and reporting infrastructures. This data allows them to use complex machine learning algorithms (developed and operated by dozens of staff) to identify malicious sites and content.

Even if a CA checks for phishing and malware status with a good API, the CA’s ability to accurately express information regarding phishing and malware is extremely limited. Site content can change much faster than certificate issuance and revocation cycles, phishing and malware status can be page-specific, and certificates and their related browser UIs contain little, if any, information about phishing or malware status. When a CA doesn’t issue a certificate for a site with phishing or malware content, users simply don’t see a lock icon. Users are much better informed and protected when browsers include anti-phishing and anti-malware features, which typically do not suffer from any of these limitations.

Another issue with treating DV certificates as a “seal of approval” for site content is that there is no standard for CA anti­-phishing and anti-malware measures beyond a simple blacklist of high-­value domains, so enforcement is inconsistent across the thousands of CAs trusted by major browsers. Even if one CA takes extraordinary measures to weed out bad sites, attackers can simply shop around to different CAs. The bad guys will almost always be able to get a certificate and hold onto it long enough to exploit people. It doesn’t matter how sophisticated the best CA anti­-phishing and anti-malware programs are, it only matters how good the worst are. It’s a “find the weakest link” scenario, and weak links aren’t hard to find.

Browser makers have realized all of this. That’s why they are pushing phishing and malware protection features, and evolving their UIs to more accurately reflect the assertions that certificates actually make.

TLS No Longer Optional

When they were first developed in the 1990s, HTTPS and SSL/TLS were considered “special” protections that were only necessary or useful for particular kinds of websites, like online banks and shopping sites accepting credit cards. We’ve since come to realize that HTTPS is important for almost all websites. It’s important for any website that allows people to log in with a password, any website that tracks its users in any way, any website that doesn’t want its content altered, and for any site that offers content people might not want others to know they are consuming. We’ve also learned that any site not secured by HTTPS can be used to attack other sites.

TLS is no longer the exception, nor should it be. That’s why we built Let’s Encrypt. We want TLS to be the default method for communication on the Web. It should just be a fundamental part of the fabric, like TCP or HTTP. When this happens, having a certificate will become an existential issue, rather than a value add, and content policing mistakes will be particularly costly. On a technical level, mistakes will lead to significant down time due to a slow issuance and revocation cycle, and features like HSTS. On a philosophical and moral level, mistakes (innocent or otherwise) will mean censorship, since CAs would be gatekeepers for online speech and presence. This is probably not a good role for CAs.

Our Plan

At least for the time being, Let’s Encrypt is going to check with the Google Safe Browsing API before issuing certificates, and refuse to issue to sites that are flagged as phishing or malware sites. Google’s API is the best source of phishing and malware status information that we have access to, and attempting to do more than query this API before issuance would almost certainly be wasteful and ineffective. (Update: As of January 10, 2019, we no longer check domains against the Safe Browsing API.)

We’re going to implement this phishing and malware status check because many people are not comfortable with CAs entirely abandoning anti-phishing and anti-malware efforts just yet, even for DV certificates. We’d like to continue the conversation for a bit longer before we abandon what many people perceive to be an important CA behavior, even though we disagree.

Conclusion

The fight against phishing and malware content is an important one, but it does not make sense for CAs to be on the front lines, at least when it comes to DV certificates. That said, we’re going to implement checks against the Google Safe Browsing API while we continue the conversation.

We look forward to hearing what you think. Please let us know.

Цирковете на Сидеров са лесно обясними

Post Syndicated from Longanlon original http://kaka-cuuka.com/3576

Волен Сидеров е политически феномен у нас, за значението и влиянието на който може много да се говори, но аз ще предположа, че всеки читател е горе-долу запознат с основните факти от политическия живот в България и на партия Атака в частност, затова ще се фокусирам само върху мнението ми относно развитията в последната година, кулминиращи в цирковете от изминалата нощ…

(Чети още…) (549 думи)

Let’s Encrypt is Trusted

Post Syndicated from Let's Encrypt original https://letsencrypt.org/2015/10/19/lets-encrypt-is-trusted.html

We’re pleased to announce that we’ve received cross-signatures from IdenTrust, which means that our certificates are now trusted by all major browsers. This is a significant milestone since it means that visitors to websites using Let’s Encrypt certificates can enjoy a secure browsing experience with no special configuration required.

Both Let’s Encrypt intermediate certificates, Let’s Encrypt Authority X1 and Let’s Encrypt Authority X2, received cross-signatures. Web servers will need to be configured to serve the appropriate cross-signature certificate as part of the trust chain. The Let’s Encrypt client will handle this automatically.

You can see an example of a server using a Let’s Encrypt certificate under
a new cross-signed intermediate here.

Vital personal and business information is flowing over the Internet more frequently than ever, and it’s time to encrypt all of it. That’s why we created Let’s Encrypt, and we’re excited to be one big step closer to bringing secure connections to every corner of the Web.

Second Round of systemd.conf 2015 Sponsors

Post Syndicated from Lennart Poettering original https://0pointer.net/blog/second-round-of-systemdconf-2015-sponsors.html

Second Round of systemd.conf 2015 Sponsors

We are happy to announce the second round of systemd.conf
2015
sponsors! In addition to those from
the first
announcement
, we have:

Our second Gold sponsor is Red Hat!

What began as a better way to build software—openness, transparency, collaboration—soon shifted the balance of power in an entire industry. The revolution of choice continues. Today Red Hat® is the world’s leading provider of open source solutions, using a community-powered approach to provide reliable and high-performing cloud, virtualization, storage, Linux®, and middleware technologies.

A Bronze sponsor is Samsung:

From the beginning we have established a very fast pace and are currently one of the biggest and fastest growing modern-technology R&D centers in East-Central Europe.
We have started with designing subsystems for digital satellite television, however, we have quickly expanded the scope of our interest. Currently, it includes advanced systems of digital television, platform convergence, mobile systems, smart solutions, and enterprise solutions.
Also a vital role in our activity plays the quality and certification center, which controls the conformity of Samsung Electronics products with the highest standards of quality and reliability.

A Bronze sponsor is travelping:

Travelping is passionate about networks, communications and devices. We empower our customers to deploy and operate networks using our state of the art products, solutions and services.
Our products and solutions are based on our industry proven physical and virtual appliance platforms. These purpose built platforms ensure best in class performance, scalability and reliability combined with consistent end to end management capabilities.
To build this products, Travelping has developed a own embedded, cross platform Linux distribution called CAROS.io which incorporates the systemd service manager and tools.

A Bronze sponsor is Collabora:

Collabora has over 10 years of experience working with top tier OEMs & silicon manufacturers worldwide to develop products based on Open Source software. Through the use of Open Source technologies and methodologies, Collabora helps clients in multiple market segments gain faster time to market and save millions of dollars in licensing and maintenance costs. Collabora has already brought to market several products relying on systemd extensively.

A Bronze sponsor is Endocode:

Endocode AG. An employee-owned, software engineering company from Berlin. Open Source is our heart and soul.

A Bronze sponsor is the Linux Foundation:

The Linux Foundation advances the growth of Linux and offers its collaborative principles and practices to any endeavor.

We are Cooperating with LinuxTag e.V. on the organization:

LinuxTag is Europe’s leading organizer of Linux and Open Source events. Born of the community and in business for 20 years, we organize LinuxTag, an annual conference and exhibition attracting thousands of visitors. We also participate and cooperate in organizing workshops, tutorials, seminars, and other events together with and for the Open Source community. Selected events include non-profit workshops, the German Kernel Summit at FrOSCon, participation in the Open Tech Summit, and others. We take care of the organizational framework of systemd.conf 2015. LinuxTag e.V. is a non-profit organization and welcomes donations of ideas and workforce.

A Media Partner is Golem:

Golem.de is an up to date online-publication intended for professional computer users. It provides technology insights of the IT and telecommunications industry. Golem.de offers profound and up to date information on significant and trending topics. Online- and IT-Professionals, marketing managers, purchasers, and readers inspired by technology receive substantial information on product, market and branding potentials through tests, interviews und market analysis.

We’d like to thank our sponsors for their support! Without sponsors our conference would not be possible!

The Conference s SOLD OUT since a few weeks. We no longer accept registrations, nor paper submissions.

For further details about systemd.conf consult the conference website.

See the the first round of sponsor announcements!

See you in Berlin!

Вредният данък “Вредни храни”

Post Syndicated from Longanlon original http://kaka-cuuka.com/3570

От няколко години из политическото и публичното ни пространство пълзи идеята за облагане с допълнителен данък на “вредните” храни и явно на това дебилно мозъчно отроче на криворазбраната икономическа и здравословна мисъл му дойде времето, защото здравния министър щял да го предложи.

И кои храни са вредни, сега да попитам аз?

(Чети още…) (489 думи)

Internet Society Sponsors Let’s Encrypt

Post Syndicated from Let's Encrypt original https://letsencrypt.org/2015/10/08/isoc-sponsors-lets-encrypt.html

We’re pleased to announce that Internet Society (ISOC) has become a Gold sponsor of Let’s Encrypt.

According to Olaf Kolkman, “The Internet Society sees encryption as a new norm to enhance the security of, and thereby trust in, the Internet.” We couldn’t agree more.

Internet Society’s sponsorship comes at a key time, and will help us to pay for staff and other operation costs as we move from our beta program into general availability.

If your company or organization would like to sponsor Let’s Encrypt, please email us at [email protected].

Емоционално за електронното гласуване

Post Syndicated from Anonymous original http://delian.blogspot.com/2015/10/blog-post.html

След като написах моите опорни точки защо смятам да гласувам ЗА на референдума за електронно гласуване, и след като се опитах да напиша една техническа идея как той може да бъде реализиран без да се налага дори промяна на конституцията (какъвто бе оригиналният смисъл на тройката референдуми, от която НС остави само този) влизах в много дискусии за или против електронното гласуване.
Повечето хора, които искат да дискутират с мен, са предварително настроени да гласуват против. Предполагам настроените да гласуват за не смятат, че имат нужда от повече убеждение.
В този смисъл коментара ми в този текст е насочен и движен от дискусиите с приятелите и познатите ми, които са предварително настроени да гласуват против.


Аз разделям потенциалните проблеми на три основни групи –
  • Технически. Които са най лесните, защото са решими. Техническите проблеми не включват само технологията, а процедурите по изпълнение, законодателните и юридически промени. Те са напълно решими. До сега, не съм чул един не решим технически проблем не само за електронното гласуване, но и принципно за който и да е проблем. Това е хубавото на техническите проблеми – те са по дефиниция винаги решими.
  • Принципни – това са проблеми свързани с естеството на дискутираният проблем, които нямат ясно или видимо решение. Това не значи, че са нерешими, а че не знаем как да го направим в момента. Тук може да има и нерешими проблеми. Аз лично обаче не съм чул такива до сега, свързани с дистанционното електронно гласуване. Много хора бъркат технически проблеми за принципни, представят ги като такива и после в дискусията откриваме, че това е по същество технически (и решим) проблем.
  • Емоционални предубеждения – проблеми не свързани с темата, но емоционално влияещи върху нея, които хората представят като принципни или технически проблеми на темата. Често чувам технически проблем да се примесва с емоционално предубеждение и след това да се представя за принципен и нерешим проблем. Но е много лесно от страни да се види, че техническата част е решима, принципен проблем няма, просто има емоционално предубеждение.


Много е трудно да се бори човек с емоционалните предубеждения. Аз лично кътам доста в себе си, и когато някой изкаже нещо, което съвпада с моите, съм много по склонен като две ревящи жени над чаша вино, да лея сълзи и сополи и да подкрепям, отколкото да вниквам в ситуацията по същество. И въпреки това, мозъкът ми казва да гласувам положително за дистанционното електронно гласуване. Защото то подкрепя моите лични цели, свързани с моят живот и промяната на средата около мен.
А именно:
  • Аз смятам че тази дискусия за дистанционното гласуване трябва да започне най сетне по същество. Тя идва и си тръгва на 4-5 години от ефира, но остава само там. Спомням си “обществените обсъждания” сред приятели, на Изборният Кодекс на Манолова, където електронното гласуване дори не бе допуснато на обсъждане. Щеше ли да има нужда от референдум за електронното гласуване, ако политическата каста желаеше да го обсъжда по същество? Референдума е тук, и той може да бъде едно добро основание да преминем на следващата фаза – дискусията.
    Някой хора според мен погрешно смятат, че ако бъде успешен Референдума, това означава победа и задължително въвеждане на електронно гласуване. Българският закон за референдумите е много странен, но най вече той не задължава никой с нищо. Липсата на задължение е видна още в член 9 от закона. Ако референдума излезе със задължаващ резултат, той задължава да приеме АКТ (което може да е всичко, например обещание да се изпълни работата след 100г, или решение да не се прави. Законодателят се е опитал да си спести изричното описание на всички възможни случаи какво трябва да приеме НС, но крайният ефект е свободно тълкуване) в рамките на 3 месеца, но още точка 7 веднага изследва хипотезата какво става ако НС не направи нищо и не приеме акт (което прави тази хипотеза напълно допустима). Ако НС не приеме АКТ навреме и референдума е ПРОТИВ точка от съществуващото законодателство, тя спира да работи веднага. Но ако НС не приеме АКТ а референдума изисква от НС да направи нещо (както е хипотезата на този референдум) то не следва нищо. Тоест, без значение от резултатите от референдума – положителен и задължителен, положителен, отрицателен, не е задължително да последва нищо. Няма да коментирам пред-референдумното ударно вдигане на прага до невъзможност за считане за валидност. Но все пак за мен положителен резултат от референдума би бил достатъчно добър натиск за започване на дискусията по същество.
  • Аз смятам, че България трябва да бъде отворена държава, противно на мнението на много, че трябва да се затваря. Между 16 и 20% от българчетата се раждат в чужбина, и ние имаме стабилен емигрантски тренд основно сред най младото население от 3.56 души на 1000. Това са всъщност 25000 души годишно. Официално. Най вероятно числото е двойно, защото се отчитат само тези, които са обявили пред институциите миграцията си (гражданство, обява пред ЕСГРАОН, обява пред НЗОК, не преиздаване на паспорти и други). Три четвърти от мигрантите запазват българското си гражданство (защото са в ЕС). Лесно можем да сметнем, че ако тенденцията се запази, в рамките на 20 години 25% от Българите ще се раждат в чужбина. Това е всеки 4-ти Българин. Единственият начин да запазим националноста си, е да игнорираме всякакви тръшкания и да приемем, че българите няма да бъдат единствено и само на тероторията на България, и трябва да положим усилия да останат свързани по между си, и със страната, културно (тук изключвам чалгата) и административно. Последното означава рязко свиване на всички административни взаимоотношения между държавата и гражданите, и залагането на безприсъствени такива. Не само за гласуване, за всичко.
  • Аз смятам, че в нормална ситуация взаимоотношението на човек с държавата трябва д е минимално и то само при нужда от страна на гражданина, а не при нужда от страна на държавата. Сега държавата изисква от гражданите да бъдат комутатори на съобщения между държавни институции, както и им прехвърля свои отговорности. Давам пример – ти си задължен да си извадиш паспорт. И това ти струва пари. Но паспорта ти е инструмент за взаимодействие с държавата, която те задължава. Ти си задължен да си вадиш съдебни свидетелства за взаимодействия с държавата. Ти си задължен да отидеш и да си извадиш справка от имотният регистър и да я дадеш на общината, за да приеме тя, че някой твой роднина живее на твоят адрес. Аз смятам, че всички тези задължения трябва да изчезнат. Държавата наистина трябва да използва информацията си вътрешно, и трябва да се грижи за удобството на гражданите си, а не да ги наказва, за това че живеят, за това че пътуват, за това че раждат деца, понеже на държавните служители не им е удобно. И колкото и да е парадоксално, електронното гласуване отваря много врати в тази посока. Защото форсира процеси, които са иначе затлачени в мързел.


Типичните противопоставяния на електронното гласуване съм ги описал в този пост тук – опорните ми точки.
И те не се променят по същество. Някой го е страх, че електронните подписи ще са скъпи, а ние дори не сме решили, че така ще става оторизацията. Други ги е страх, че някой ще гласува с чужда бюлетина, което е технически въпрос (нищо не пречи да има видео и да тече същата форма на оторизация, каквато има в избирателните комисии), трети ги е страх, че хакери могат да хакнат цялата система и да модифицират гласовете на всички хора – което пак е технически и решим проблем (можем да имаме разделяния на секции, а верижно подписване от категорията на block chain или това, което съм описал аз в моят пример, изолират значително тези възможности, всъщност намаляват риска до много по малък от този, който имаме сега).


Но винаги след като приключим с техническите аргументи, излиза това, което те всъщност прикриват – емоционалните предубеждения на гражданите, че държавата ще реализира нещата зле. И всъщност държавата е нашият враг.


И да съм честен, аз също имам подобни предубеждения. Аз твърдя, че дистанционното гласуване може да бъде реализирано добре и с много по малък риск (клонящ към нула) за почти всички технически проблеми на сегашното присъствено гласуване (което също може да бъде реализирано по добре). Но то може да бъде реализирано и много зле. И в това няма принципен проблем. Всяко нещо може да бъде направено добре и може да бъде направено зле. Но това не е проблем на референдума нали? Това е проблем на техническата реализация и гражданският и контрол, след като ако НС реши да има електронно гласуване, след да речем 100 години, след като мине евентуално положително политическата дискусия, след евентуално положително решение на референдума.
Не искам да филосовствам върху това, защо някой не смее да реши да си строи къща, понеже ако има евентуално земетресение тя ще му падне на главата. Този риск е безспорен. Но е също така вярно, че в повечето време ще живееш по добре. И дали се фокусираш върху страховете си или върху новите възможности е в много голяма степен личен избор илюстриращ човека.
Да чакаме всички, да са готови да карат кола, имайки шофьорски книжки, преди да разрешим употребата на автомобили е също парадоксално. Защото е гаранция никога да не караме коли 🙂 Винаги ще има някой, който да не е готов. Така че за мен е безстойностно твърдението, че повече население трябва да свикне с електронните технологии за да има електронно гласуване.
Но нито едно от тези не е принципен проблем – това са емоционални проблеми –
  • Недоверие към държавата
  • Недоверие към гласуването
  • Ирационален страх (принципно, и индиректно оправдаван с технически или политически теми)
  • Консервативен подход в много форми “не знам как аз ще се оправя, за това по добре никой да не може”


Но това не са проблеми на електронното гласуване. Ако пуснем референдум за гласуването по принцип, същите проблеми се отнасят със същата сила, защото те произлизат не от формата и не от технологията, а от личната ни емоционална нагласа.

Аз ще гласувам за електронното гласуване. Защото смятам ползите от него за много по големи и компенсиращи значително недостатъците (които аз и оспорвам по същество).
Аз съзнавам отлично, че най голямата борба тепърва ще дойде, ако случайно стигнем до момент да се обсъжда техническата реализация. Ще има борба за модифицирането на дребни но важни елементи от много закони. Ще има борба срещу всякакви опити за злоупотреба, добронамерени или злонамерени. Ще има борба срещу опитите на политици да вкарват дупки в процедурите, за да си оставят вратички за фалшивикации. Ще има борба срещу опитите за усложняване на процедурите пък с цел да се минимизира ефекта за повишаване на изборната активност, отново от политици разчитащи на твърд електорат. Ще има борба срещу опитите да се даде това или онова да го правят нечии приятели, не защото имат опит, а защото държавата трябва да им даде едни пари. Ще има много борби. Борбата тепърва започва. Но за мен ползите са много повече, и не ме е страх от борбата.

The collective thoughts of the interwebz