Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Zombywuf
Mar 29, 2008

Shinku ABOOKEN posted:

i thought systemd is backwards compatible??

1) lol

b) not, as far as I'm aware, with upstart (yes I don't use debian but I'm still annoyed about systemd)

iii) it's not backwards compatible with our log collector

Adbot
ADBOT LOVES YOU

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Zombywuf posted:

1) lol

b) not, as far as I'm aware, with upstart (yes I don't use debian but I'm still annoyed about systemd)

iii) it's not backwards compatible with our log collector

It has SysV compatibility, and you can continue to use rsyslog together with systemd if that's what your log collector took as input.

VAGENDA OF MANOCIDE
Aug 1, 2004

whoa, what just happened here?







College Slice
Also why are you converting running systems to systemd instead of leaving them as-is

Zombywuf
Mar 29, 2008

api call girl posted:

Also why are you converting running systems to systemd instead of leaving them as-is

Fortunately I can put it off till 14.04 expires. But it's still there, waiting for me.

theadder
Dec 30, 2011


pram posted:

may the lord visit extreme violence upon the creator of this

all steves ways are peace

Notorious b.s.d.
Jan 25, 2003

by Reene
i want solaris smf on linux

ShadowHawk
Jun 25, 2000

CERTIFIED PRE OWNED TESLA OWNER

Zombywuf posted:

Fortunately I can put it off till 14.04 expires. But it's still there, waiting for me.
it seems like you expect to still be in business in 5 years

it's not the startup way

Zombywuf
Mar 29, 2008

ShadowHawk posted:

it seems like you expect to still be in business in 5 years

it's not the startup way

Been in business for 8 or 9 years. We're not in silicon valley so people don't just throw money at us for making mobile chat clients.

Sapozhnik
Jan 2, 2005

Nap Ghost

Notorious b.s.d. posted:

i want solaris smf on linux

because systemd is great and all, but what it was really missing all along was assloads of xml

that's how you know it's enterprise

Sapozhnik
Jan 2, 2005

Nap Ghost
lol what the gently caress you run your poo poo on Ubuntu Server

you deserve to see your IT infrastructure go down in flames, get RHEL (or CentOS if you're a goddamn cheapskate) jfc

pseudorandom name
May 6, 2007

Mr Dog posted:

because systemd is great and all, but what it was really missing all along was assloads of xml

that's how you know it's enterprise

don't forget that the XML is imported into a binary database which renders the system non-functional when it gets corrupted

Zombywuf
Mar 29, 2008

Mr Dog posted:

you deserve to see your IT infrastructure go down in flames, get RHEL (or CentOS if you're a goddamn cheapskate) jfc

I do so love using software from 5 years ago.

And our infrastructure goes down in flames regularly, we use EC2.

Sapozhnik
Jan 2, 2005

Nap Ghost
what bleeding-edge software do you need on a server exactly? absolutely latest and greatest postgres? like i'm genuinely curious here

get puppet to install your jvm or plang interpreter and load ur poo poo on top of that, i'm sure installing up-to-date versions of those things on such an obscure and esoteric linux server distribution as the latest-but-one version of RHEL is not an insurmountable problem.

Sapozhnik
Jan 2, 2005

Nap Ghost

pseudorandom name posted:

don't forget that the XML is imported into a binary database which renders the system non-functional when it gets corrupted

well the journal has an explicitly undocumented binary format that i'm sure holds up just swimmingly when a data corruption event shits garbage over a few disk blocks here and there so we're already on the right track :v:

that's like the one thing i don't like about systemd. and it's not even that hard to fix that particular aspect of it: byte-stuffing and delimiting the records and appending a checksum of appropriate strength is one potential mitigation that comes to mind immediately, but why do i get the feeling they haven't even done that.

with an ASCII syslog it's trivial to resynchronize the record stream: break it into chunks along ASCII LF boundaries and let the squishy human figure it out. I'm guessing the binary syslog parser library just goes "welp, poo poo's hosed, sucks to be you, you should have kept backups CLOSED WONTFIX" instead.

(I get WHY there's a fast indexed binary syslog but journald really ought to have at least an option to write a nice robust ASCII version in parallel as well instead of requiring me to run two semi-redundant logging daemons to do this)

Zombywuf
Mar 29, 2008

Mr Dog posted:

what bleeding-edge software do you need on a server exactly? absolutely latest and greatest postgres? like i'm genuinely curious here

For reasons that are complicated to get into, Qt and other GUI poo poo that may or may not technically be under NDA. Have you any idea what it's like trying to jam a new GUI lib on an old distro? It's not fun. There's a reason this latest thing targeted the Gnome packaging.

quote:

get puppet to install your jvm or plang interpreter and load ur poo poo on top of that, i'm sure installing up-to-date versions of those things on such an obscure and esoteric linux server distribution as the latest-but-one version of RHEL is not an insurmountable problem.

Cos I love having to install a bunch of poo poo every time I boot an instance. I'd rather just make an ami that runs stuff on boot, we made the mistake of assuming Upstart would be supported for a while.

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord

Mr Dog posted:

what bleeding-edge software do you need on a server exactly? absolutely latest and greatest postgres? like i'm genuinely curious here

get puppet to install your jvm or plang interpreter and load ur poo poo on top of that, i'm sure installing up-to-date versions of those things on such an obscure and esoteric linux server distribution as the latest-but-one version of RHEL is not an insurmountable problem.

lol if you don't use postgres own rpm and deb repositories for the latest and greatest updates

Sapozhnik
Jan 2, 2005

Nap Ghost
Lennart pls create systemd-install. Use some combination of the RPM and deb formats but replace freeform install scripts with a strictly declarative and pre-determined set of secure actions that can be extended in later revisions of the standard. Express dependencies in terms of semantically-versioned shared library file names, specific versions of plang interpreters, and D-Bus interface names. Make different versions of the shared libraries and plang interpreters side-by-side installable, and don't bastardise the FHS into some horrible hall-of-mirrors to do it, you can do better than this. Distributions can then add their own proprietary metadata and dependency extensions just as long as they're backwards compatible with the common basic package format, reducing them to packaging a small core of long-term-supported system applications atop which upstream-packaged desktop environments, desktop software, and server applications can be installed.

Boom, final nail in the coffin to make distributions completely irrelevant.

Zombywuf
Mar 29, 2008

pls don't joke about that, I'm triggered by systemd expansion

Notorious b.s.d.
Jan 25, 2003

by Reene

Mr Dog posted:

what bleeding-edge software do you need on a server exactly? absolutely latest and greatest postgres? like i'm genuinely curious here

this should come from your postgres vendor

postgresql.org runs a yum repo
enterprisedb distributes binaries
etc

Mr Dog posted:

get puppet to install your jvm or plang interpreter and load ur poo poo on top of that, i'm sure installing up-to-date versions of those things on such an obscure and esoteric linux server distribution as the latest-but-one version of RHEL is not an insurmountable problem.

if you want support for new jvm/plang interpreters on old rhel red hat will happily do that for you thanks to the magic of ~*~ software collections ~*~

e.g. python 2.7 on rhel 5 is A Thing now

the only catch is that you only get a guaranteed 1 year of support for the scl, instead of the 10 years you get with the base system. the scl might be a moving target every couple years

still better than ubuntu

Notorious b.s.d.
Jan 25, 2003

by Reene

Mr Dog posted:

lol what the gently caress you run your poo poo on Ubuntu Server

you deserve to see your IT infrastructure go down in flames, get RHEL (or CentOS if you're a goddamn cheapskate) jfc

pram
Jun 10, 2001
agreed

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

Yo I really only run minor servers for my own nagios and logstash poo poo, and then we needed to replace a webserver for v low stakes internal crap but I built them on Ubuntu, Debian, and then centos in that order because I learned things :3:

pram
Jun 10, 2001
didnt read

pram
Jun 10, 2001
ubuntu is bad

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

pram posted:

ubuntu is bad

same but ur posting

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Mr Dog posted:

well the journal has an explicitly undocumented binary format that i'm sure holds up just swimmingly when a data corruption event shits garbage over a few disk blocks here and there so we're already on the right track :v:

that's like the one thing i don't like about systemd. and it's not even that hard to fix that particular aspect of it: byte-stuffing and delimiting the records and appending a checksum of appropriate strength is one potential mitigation that comes to mind immediately, but why do i get the feeling they haven't even done that.

with an ASCII syslog it's trivial to resynchronize the record stream: break it into chunks along ASCII LF boundaries and let the squishy human figure it out. I'm guessing the binary syslog parser library just goes "welp, poo poo's hosed, sucks to be you, you should have kept backups CLOSED WONTFIX" instead.

Nope. It's a journaling system (that's why it's called the journal), so it's entirely possible to recover from corrupted binary logs. And it is checksummed. And cryptographically verified.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

Mr Dog posted:

Lennart pls create systemd-install. Use some combination of the RPM and deb formats but replace freeform install scripts with a strictly declarative and pre-determined set of secure actions that can be extended in later revisions of the standard. Express dependencies in terms of semantically-versioned shared library file names, specific versions of plang interpreters, and D-Bus interface names. Make different versions of the shared libraries and plang interpreters side-by-side installable, and don't bastardise the FHS into some horrible hall-of-mirrors to do it, you can do better than this. Distributions can then add their own proprietary metadata and dependency extensions just as long as they're backwards compatible with the common basic package format, reducing them to packaging a small core of long-term-supported system applications atop which upstream-packaged desktop environments, desktop software, and server applications can be installed.

Boom, final nail in the coffin to make distributions completely irrelevant.

did you see http://0pointer.net/blog/revisiting-how-we-put-together-linux-systems.html

VAGENDA OF MANOCIDE
Aug 1, 2004

whoa, what just happened here?







College Slice

Suspicious Dish posted:

Nope. It's a journaling system (that's why it's called the journal), so it's entirely possible to recover from corrupted binary logs. And it is checksummed. And cryptographically verified.

but don't let that stop these guys from xpoettering

that binary blob bs complaint never made sense

so wait

we've got xml base files

and a journaling system

and you're complaining that it's making an intermediary binary blob thing to run off of?

what?

oh no file corruption! that can't be restored by your journaling fs! I'm sure at that point you've got more bare metal things to worry about than systemd throwing a poo poo and rebuilding some binary blob somewhere from component parts!

VAGENDA OF MANOCIDE fucked around with this message at 05:43 on Oct 18, 2014

VAGENDA OF MANOCIDE
Aug 1, 2004

whoa, what just happened here?







College Slice
and let's face it

anybody who's worried about file corruption taking out their syslog is probably not doing anything important with that info to begin with

pseudorandom name
May 6, 2007

Suspicious Dish posted:

Nope. It's a journaling system (that's why it's called the journal), so it's entirely possible to recover from corrupted binary logs. And it is checksummed. And cryptographically verified.

it isn't, though?

looking at the spec which I'm not going to link or quote because I'm phone posting, only one of the record types has a hash, records are variable length and they don't have magic numbers, which means if you lose a chunk in the middle of the journal, the journal parser can't resynchronize and interpret the records after the damage

Notorious b.s.d.
Jan 25, 2003

by Reene

api call girl posted:

oh no file corruption! that can't be restored by your journaling fs! I'm sure at that point you've got more bare metal things to worry about than systemd throwing a poo poo and rebuilding some binary blob somewhere from component parts!

linux systems typically do not have journaling enabled for fs data, only metadata. in a hard power-off on a normal ext3/ext4 fs, poo poo is gonna be 1990s-grade crash consistent.

metadata is certain to be correct, but any given block in a file might be out of sync

Notorious b.s.d.
Jan 25, 2003

by Reene
i sure hope every distro shipping systemd uses ext4 exclusively, and defaults to data=journal


(they aren't)

Zombywuf
Mar 29, 2008

Yup.

quote:

It's a journaling system (that's why it's called the journal),
This is why the journal is systemd's biggest lie.

Oh man, Lennart's updated the bug: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=64116

It seems the only way to handle log corruption is to just give up, not recover from the journal.

quote:

And it is checksummed. And cryptographically verified.

Well, it's timestamped every 15 minutes. That timestamping might even be secure. Assuming the attacker doesn't have write access to the log files.

Soricidus
Oct 21, 2010
freedom-hating statist shill

Zombywuf posted:

Oh man, Lennart's updated the bug: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=64116

It seems the only way to handle log corruption is to just give up, not recover from the journal.

what he actually says there is that they perform whatever recovery is possible every time you read the corrupted file. they just don't write the recovered data back to the file, so the corruption isn't "fixed".

I hate lennart and all his foul works as much as any angry graybeard who thinks Unix reached perfection decades ago and everything since has been a regression, but even so, this doesn't sound too unreasonable.

Zombywuf
Mar 29, 2008

Soricidus posted:

what he actually says there is that they perform whatever recovery is possible every time you read the corrupted file. they just don't write the recovered data back to the file, so the corruption isn't "fixed".

I hate lennart and all his foul works as much as any angry graybeard who thinks Unix reached perfection decades ago and everything since has been a regression, but even so, this doesn't sound too unreasonable.

Perhaps if you ignore the last 30 years of databases.

VAGENDA OF MANOCIDE
Aug 1, 2004

whoa, what just happened here?







College Slice

Zombywuf posted:

Perhaps if you ignore the last 30 years of databases.

if your syslog is that critically important maybe don't keep just the one binary copy sitting on the one local machine

"attacker" lol

yeah if they got write privileges as root you've got better poo poo to be worrying about than whatever traces they left in local syslog

come on son

Progressive JPEG
Feb 19, 2003

Mr Dog posted:

on the plus side, the lwn reaction to this latest shitfit is overwhelmingly negative. i'd have at least some respect for the whiners if they actually wrote any code in the last six months instead of just bitching and demanding that everything remain the same.

ya lwn is Good

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

Progressive JPEG posted:

ya lwn is Good

Notorious b.s.d.
Jan 25, 2003

by Reene

api call girl posted:

if your syslog is that critically important maybe don't keep just the one binary copy sitting on the one local machine

yeah, if i wanted to keep my data, maybe i should have written it to persistent storage!

like a disk or something!

Adbot
ADBOT LOVES YOU

Notorious b.s.d.
Jan 25, 2003

by Reene
gnome 3.14 trip report -- it sucks. if this had been 3.00 beta release #1, this would be ok. but it's the eighth stable release after three years, and tons of poo poo doesn't work

backstory: i bought one of those windows 8 convertible laptop/tablet doohickeys. in "tablet" mode it has a windows key, a volume up, and a volume down, and that's it.

gnome 3.14 on fedora 21 successfully configures the touchscreen as a multitouch absolute-positioning mouse. so far so good.

upgrading to gnome 3.14 gets me the onscreen keyboard automatically in most of the right places most of the time. but only in gtk 3 applications. if you want to run an application that isn't gnome 3 native, you are screwed. notably firefox and chrome are not gtk3

if the automatic launch isn't working, there is no way to manually launch the on-screen keyboard w/out having a keyboard already. you have to bind a keyboard shortcut to open it. i said, "ok, that's dumb, but ok" and attempted to bind it to the windows key. no dice. gnome 3 will not allow you to use a modifier key as a keybinding alone.

so i decided to give up on actual good web browsers and try the shitbucket that comes with gnome 3: epiphany. to my delight, epiphany does in fact support autoloading the on-screen keyboard like other gnome 3 native apps. unfortunately typing into the url bar immediately breaks because the autocomplete box pops up over top of the on-screen keyboard

it is really, really obvious that nobody ever tried this on a tablet, not even once

it is rough around the edges even by open sores standards. basic features do not work, the things that do work do not work consistently (i often clicked in a text field and got no keyboard, only to repeat and get the keyboard back)

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply