[pve-devel] Magic auto upgrade?

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Thu Jul 4 11:35:19 CEST 2013


Am 04.07.2013 11:34, schrieb Alexandre DERUMIER:
> this bin/pvebanner which overwrite /etc/issue, since this commit
> 
> https://git.proxmox.com/?p=pve-manager.git;a=commit;h=d44735b0b30909464afef791471978045c69f6d1
Oh and it contains hardcoded:
  31 $banner .= "Debian GNU/Linux 7.0 \\n \\l\n\n";


Maybe

$banner .= `cat /etc/issue.net`;

is a way better.



> ----- Mail original ----- 
> 
> De: "Michael Rasmussen" <mir at datanom.net> 
> À: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag>, "Alexandre DERUMIER" <aderumier at odiso.com> 
> Cc: pve-devel at pve.proxmox.com 
> Envoyé: Jeudi 4 Juillet 2013 10:35:33 
> Objet: Re: [pve-devel] Magic auto upgrade? 
> 
> I think it is the proxmox meta package which changes the Debian string in the issue file. 
> 
> 
> Stefan Priebe - Profihost AG <s.priebe at profihost.ag> wrote: 
> 
> Am 04.07.2013 10:08, schrieb Alexandre DERUMIER: 
> 
> <blockquote>
> 
> <blockquote>
> 
> <blockquote>
> But I've no idea where this comes from. 
> 
> Does PVE also write the Debian string? 
> 
> 
> 
> </blockquote>
> Yes, don't remember which package. 
> 
> 
> <blockquote>
> 
> <blockquote>
> I'm backporting all wheezy packages from PVE to squeeze. 
> </blockquote>
> 
> 
> </blockquote>
> Oh, so maybe you are on squeeze, but simple the /etc/issue has been replaced ? 
> 
> what do you see if you do a : 
> 
> dpkg -l 
> 
> 
> do you see squeeze packages or wheezy packages ? 
> </blockquote>
> 
> all are squeeze but i don't know how that one get replaced by a wheezy 
> string. 
> 
> 
> 
> <blockquote>
> ----- Mail original ----- 
> 
> De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
> À: "Alexandre DERUMIER" <aderumier at odiso.com> 
> Cc: "Michael Rasmussen" <mir at datanom.net>, pve-devel at pve.proxmox.com 
> Envoyé: Jeudi 4 Juillet 2013 08:57:32 
> Objet: Re: [pve-devel] Magic auto upgrade? 
> 
> Am 03.07.2013 18:37, schrieb Alexandre DERUMIER: 
> 
> <blockquote>
> 
> <blockquote>
> 
> <blockquote>
> Proxmox is modifying /etc/issue 
> 
> </blockquote>
> 
> </blockquote>
> The proxmox wheezy package have an update for /etc/issue. 
> 
> But my squeeze proxmox don't update it. 
> 
> I have done tests, I really can't auto upgrade from squeeze to wheezy without change sources.list. 
> </blockquote>
> 
> The sources.list still only contains links to Squeeze but the etc/issue 
> looks like this: 
> # cat /etc/issue 
> 
> 
> 
> 
> Welcome to the Proxmox Virtual Environment. Please use your web browser to 
> configure this server - connect to: 
> 
> https://10.255.0.10:8006 / 
> 
> 
> 
> 
> Debian GNU/Linux 7.0 \n \l 
> 
> 
> But I've no idea where this comes from. 
> 
> Does PVE also write the Debian string? I'm backporting all wheezy 
> packages from PVE to squeeze. 
> 
> Stefan 
> 
> 
> <blockquote>
> ----- Mail original ----- 
> 
> De: "Michael Rasmussen" <mir at datanom.net> 
> À: pve-devel at pve.proxmox.com 
> Envoyé: Mercredi 3 Juillet 2013 18:10:20 
> Objet: Re: [pve-devel] Magic auto upgrade? 
> 
> On Wed, 03 Jul 2013 15:12:19 +0200 
> Stefan Priebe - Profihost AG <s.priebe at profihost.ag> wrote: 
> 
> 
> <blockquote>
> sources.list and stuff still points to squeeze. 
> 
> Also all packages are Squeeze based. Does proxmox write to /etc/issue? 
> </blockquote>
> 
> Proxmox is modifying /etc/issue so perhaps it is only the issue file 
> that claims Debian Wheezy. 
> </blockquote>
> 
> 
> 
> </blockquote>
> !DSPAM:51d52e84159371954914065! 
> 
> 
> 
> </blockquote>
> 



More information about the pve-devel mailing list