IRC logs for #aegir, 2015-05-27 (GMT)

2015-05-26
2015-05-28
TimeNickMessage
[14:53:13]* beautifulmind has joined #aegir
[14:53:20]* beautifulmind has left #aegir ()
[14:55:50]* realityloopAFK has joined #aegir
[14:56:15]* realityloopAFK is now known as realityloop
[15:46:48]* blaine has joined #aegir
[15:49:46]* blainelang has quit (Ping timeout: 255 seconds)
[15:52:19]* David_Hernandez has joined #aegir
[15:54:20]* gusaus has quit (Quit: gusaus)
[16:02:33]* maestrojed has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[16:22:42]* jerryitt has quit (Quit: Connection closed for inactivity)
[16:31:41]* gusaus has joined #aegir
[16:59:02]* boshtian has joined #aegir
[18:17:28]* gandhiano has joined #aegir
[18:18:40]* blaine has quit (Read error: Connection reset by peer)
[18:19:06]* blaine has joined #aegir
[18:58:19]* gusaus has quit (Quit: gusaus)
[19:20:32]* e-anima has joined #aegir
[19:20:49]* ratioweb has joined #aegir
[20:15:45]* gandhiano has quit (Ping timeout: 240 seconds)
[20:21:51]* beautifulmind has joined #aegir
[20:22:02]* beautifulmind has left #aegir ()
[21:31:32]* tobias-_ has joined #aegir
[21:35:47]* drakythef has joined #aegir
[21:36:02]* drakythef is now known as drakythe
[21:36:26]* zz_drakythe has quit (Ping timeout: 250 seconds)
[21:36:27]* kvanderw has quit (Ping timeout: 250 seconds)
[21:36:27]* tobias- has quit (Ping timeout: 250 seconds)
[21:37:17]* kvanderw has joined #aegir
[22:05:29]* gandhiano has joined #aegir
[22:16:14]* gandhiano has quit (Ping timeout: 256 seconds)
[22:18:43]* noecc has joined #aegir
[22:23:37]<helmo>ergonlogic: Can you help me get https://www.drupal.org/node/2493451 into puppet-drush? and possibly with a systemd service file for queue runner for #4
[22:23:38]<hefring>https://www.drupal.org/node/2493451 => Puppet and Debian Jessie [#2493451] => 4 comments, 1 IRC mention
[22:33:39]* zombiebeard has joined #aegir
[23:00:42]* jeremyr has joined #aegir
[23:12:22]* mstenta has joined #aegir
[00:00:44]* kepford has joined #aegir
[00:07:13]* gandhiano has joined #aegir
[00:16:44]* vantage|work has joined #aegir
[00:22:57]<bgm>on drupal.org/project/hosting, the "Aegir hosting system" link in the intro has invalid markup
[00:23:15]<bgm>it uses a http=[...] instead of a href=[...]
[00:29:30]* hestenet has joined #aegir
[00:31:13]* jonpugh_ has joined #aegir
[00:31:19]* David_Hernandez has quit (Quit: :wq!)
[00:42:00]* ratioweb has quit (Ping timeout: 265 seconds)
[00:43:20]* kepford_ has joined #aegir
[00:46:49]* kepford has quit (Ping timeout: 244 seconds)
[00:49:03]* jeremyr has quit (Read error: Connection timed out)
[00:51:08]* jeremyr has joined #aegir
[01:42:36]* vantage|work has quit (Remote host closed the connection)
[01:49:11]<ergonlogic>helmo: you have commit access to puppet-aegir, no?
[01:49:19]<ergonlogic>I'm happy to help, regardless though
[01:52:52]<ergonlogic>bgm: thanks for the head's up. it was the same for the other projects too. copy/paste fail
[02:05:32]<bgm>:)
[02:09:43]* maestrojed has joined #aegir
[02:24:58]* cweagans has joined #aegir
[02:25:04]<cweagans>.
[02:43:43]<ergonlogic>cweagans: hi
[02:43:54]<cweagans>ergonlogic: howdy!
[02:44:05]<ergonlogic>got a minute to validate something core-related with me real quick?
[02:44:17]<cweagans>ergonlogic: sure, what's up?
[02:44:48]<ergonlogic>I'm sometimes finding that a site verify fails, especially when trying to sync to cluster servers
[02:45:01]<ergonlogic>it appears to be because there are temp files in private/temp
[02:45:06]<ergonlogic>that are mode 0600
[02:45:17]<ergonlogic>thus only readable by www-data
[02:45:30]<ergonlogic>oh, also owner www-data:www-data, obviously
[02:46:09]<cweagans>Oh, I see. That'd do it.
[02:46:29]<cweagans>I think there's a flag for rsync that allows it to skip failed files, though
[02:46:40]<cweagans>might be the easy/hacky solution
[02:46:47]<ergonlogic>I believe this is due to a failed file_save_data()
[02:47:06]<ergonlogic>well, I think there's a very small patch to core that'd fix it
[02:47:13]<ergonlogic>drupla core, that is
[02:47:27]<cweagans>oh?
[02:47:34]<ergonlogic>https://api.drupal.org/api/drupal/core%21includes%21file.inc/function/fi...
[02:47:49]<ergonlogic>here is where we file_put_contents()
[02:48:00]<ergonlogic>but it ends up with mode 600 by default, I believe
[02:48:26]<ergonlogic>so if the calling *_move() function fails, it leaves behind the tem file
[02:48:29]<ergonlogic>temp file
[02:48:56]<ergonlogic>calling drupal_chmod() in the file right after file_put_contents() should resolve this, no?
[02:49:05]<ergonlogic>set the perms to 0664, iirc
[02:49:30]<ergonlogic>I'm working on being able to replicate the issue, so I can test this
[02:50:07]<ergonlogic>ideally the temp file would be cleaned up automatically on a failure too
[02:50:08]<cweagans>ergonlogic: My guess is that the umask() function is being called somewhere that's causing weird permissions on those files.
[02:50:28]<ergonlogic>we have a umask in our settings.php by default
[02:50:53]<cweagans>ergonlogic: I don't think a chmod would be accepted into core, as the umask() is set such that this shouldn't happen in normal installs (and I've found it's pretty rare)
[02:51:02]<cweagans>ergonlogic: oh, right. what umask do we set?
[02:51:15]<ergonlogic> umask(0002);
[02:51:24]<ergonlogic>so maye we need to fix that then
[02:52:36]<cweagans>ergonlogic: possibly, yeah. I'm wondering if there's a PHP bug at work here
[02:52:42]<cweagans>ergonlogic: what version are you running?
[02:52:48]<ergonlogic>I believe that core uses drupal_chmod() under similar circumstances, no?
[02:52:53]<ergonlogic>5.5
[02:53:41]<ergonlogic>5.5.9-1ubuntu4.9 to be exact
[02:54:45]<cweagans>hrm. weird.
[02:58:44]<ergonlogic>https://api.drupal.org/api/drupal/includes%21file.inc/function/file_save...
[02:59:58]<ergonlogic>https://api.drupal.org/api/drupal/includes%21file.inc/function/file_unma...
[03:00:26]<ergonlogic>^^^ here are some examples of drupal_chmod() being used in core when files are initially uploaded
[03:00:39]<ergonlogic>mind you, they aren't temporary files
[03:03:49]* David_Hernandez has joined #aegir
[03:03:52]* zombiebeard has quit (Quit: zombiebeard)
[03:10:29]* gusaus has joined #aegir
[03:23:25]* David_Hernandez has quit (Quit: Saliendo)
[03:26:32]* David_Hernandez has joined #aegir
[03:51:47]* David_Hernandez has quit (Quit: Saliendo)
[04:11:07]* boshtian has quit (Ping timeout: 272 seconds)
[04:13:37]* zombiebeard has joined #aegir
[04:23:40]* mstenta has quit (Quit: Leaving.)
[04:34:06]* boshtian has joined #aegir
[04:59:02]* mstenta has joined #aegir
[05:39:35]* jonpugh_ has quit (Quit: Connection closed for inactivity)
[07:07:13]* kepford has joined #aegir
[07:07:52]* kepford_ has quit (Read error: Connection reset by peer)
[07:40:20]* drakythe is now known as zz_drakythe
[07:57:29]* gusaus has quit (Quit: gusaus)
[08:04:13]* zombiebeard has quit (Quit: zombiebeard)
[08:04:38]* gusaus has joined #aegir
[08:04:57]* jerryitt has joined #aegir
[08:23:42]* anarcat has quit (Ping timeout: 252 seconds)
[08:24:06]* gusaus has quit (Quit: gusaus)
[08:25:23]* gboudrias has quit (Ping timeout: 246 seconds)
[08:25:32]* goumbot has quit (Ping timeout: 252 seconds)
[08:25:33]* ergonlogic has quit (Ping timeout: 256 seconds)
[08:31:40]* goumbot has joined #aegir
[08:36:03]* mstenta has quit (Quit: Leaving.)
[08:37:04]* anarcat has joined #aegir
[08:37:07]* gandhiano has quit (Ping timeout: 265 seconds)
[08:37:07]* gboudrias has joined #aegir
[08:43:18]* e-anima has quit (Quit: reallife not found)
[08:58:48]* Egyptian[Home] has joined #aegir
[09:02:10]* mstenta has joined #aegir
[09:03:00]* hestenet has quit (Remote host closed the connection)
[09:05:31]* theMusican5044 has joined #aegir
[09:18:17]* gusaus has joined #aegir
[09:35:35]* cweagans has quit (Quit: Computer has gone to sleep.)
[09:38:32]* maestrojed has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[09:52:01]* theMusican5044 has left #aegir ()