Re: change "/tmp" deletion from the time of boot to the time of shutting down to prevent data loss

2021-07-26 Thread Nicholas Guriev
Hello!

On Пн, 2021-07-12 at 00:33 +0300, Tamooz wrote:
> I have personally encountered a potentially widespread problem with the 
> deletion of the "/tmp" folder at boot, as I can not recover 
> automatically saved files found in said folder after a system crash, 
> which may result in losing valuable data that has been created between 
> the time of the last manual save and the automatic saving of said files.
> 
> My idea is to delete "/tmp" at the time of shutting down the machine 
> properly, as in that case they wouldn't be needed, or after a certain 
> amount of crashes occur without a successful shut-down, delete all data 
> from generated before previous crashes

You can pass `init=/bin/bash` as kernel boot parameter through GRUB and
then copy the temporary files to a safe place. And that way will work
even if the computer was off normally. I once used this loophole myself
to save files which I had forgotten. However in general, /tmp is not
intended to have important data which is worth regretting.

-- 
I am sending this message for the second time because of wrong author's
address earlier. Sorry if you receive this message twice.



signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Build limits for specific package

2021-09-23 Thread Nicholas Guriev
Hi folks!

What is actual RAM limit on Launchpad for building packages for Ubuntu?

I noticed some builds of the telegram-desktop package failed with an
error "virtual memory exhausted: Cannot allocate memory". For example:

https://launchpad.net/ubuntu/+source/telegram-desktop/2.9.2+ds-1ubuntu2/+build/22012030

At last, I was forced to lower debug info by the -g1 compiler flag in
attempting to reduce main memory consumption. But sadly this makes
generated stacktraces hardly readable.

Is there a chance to raise the limit for the package?



signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Package telegram-desktop in Ubuntu LTS

2022-01-02 Thread Nicholas Guriev
Dear Ubuntu Developers,

I would like to discuss a situation with the telegram-desktop package in
Ubuntu 20.04 (Focal Fossa). Our users is suffering problems with an
outdated version, 2.1.7, that is unable to connect to servers anymore.
More details see in bug description at .

What is the point to have stable non-working versions? However, an
update which may fix this stuck in the upload queue since October.
And I do not understand what else can we do for progress of the SRU?



signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: unixodbc-dev 2.3.11 seems broken

2023-02-14 Thread Nicholas Guriev
On 12.02.2023 02:46:37 MSK Robert Ayrapetyan wrote:
> You're right, it came from:
> 
> https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64
> unixodbc-dev amd64 2.3.11 [42.1 kB]
> 
> What's the best way to install the right package (2.3.11-2) without
> removing MS repo?

You can lower priority of Microsoft's repository putting the following in the 
/etc/apt/preferences file.

Package: *
Pin: origin "packages.microsoft.com"
Pin-Priority: 100

See apt_preferences(5) for details.


signature.asc
Description: This is a digitally signed message part.
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss