• 0 Posts
  • 32 Comments
Joined 1 year ago
cake
Cake day: June 28th, 2023

help-circle



  • the idea is that: all your applications work under the same user. or at least under the same group. because this is exactly how the differentiation of rights is applied.

    A good plan is to create some kind of user in all three containers and run qbittorrent, samba and the third application under it.

    A bad plan is to run everything under a random user with 777 rights, but this is a really bad plan.

    Create a user in all three containers and work under it. That is not hard. Run qbittorent with that user. Config will be there: /home/user/.config . Then set that user for samba. I don’t know third app , but I think you can find how change user in manual.




  • In first you need understand what type of suspend you use:

    Suspend to RAM (aka suspend, aka sleep) The S3 sleeping state as defined by ACPI. Works by cutting off power to most parts of the machine aside from the RAM, which is required to restore the machine’s state. Because of the large power savings, it is advisable for laptops to automatically enter this mode when the computer is running on batteries and the lid is closed (or the user is inactive for some time). Suspend to disk (aka hibernate) The S4 sleeping state as defined by ACPI. Saves the machine’s state into swap space and completely powers off the machine. When the machine is powered on, the state is restored. Until then, there is zero power consumption. Hybrid suspend (aka hybrid sleep) A hybrid of suspending and hibernating, sometimes called suspend to both. Saves the machine’s state into swap space, but does not power off the machine. Instead, it invokes the default suspend. Therefore, if the battery is not depleted, the system can resume instantly. If the battery is depleted, the system can be resumed from disk, which is much slower than resuming from RAM, but the machine’s state has not been lost.

    I think you use Hybrid suspend. Hybrid suspend store memory to disk (20 seconds lag) and then lost battery for memory renew. Need you Suspend to RAM maybe? 20 Seconds lag will fixed with that.

    Then check

    cat /sys/power/mem_sleep
    

    If you see

    [s2idle] shallow deep
    

    check first if your UEFI advertises some settings for it, generally under Power or Sleep state or similar wording, with options named Windows 10, Windows and Linux or S3/Modern standby support for S0ix, and Legacy, Linux, Linux S3 or S3 enabled for S3 sleep.

    If you don’t see anything you can swap sleep mode to Suspend to disk. That slow but don’t use any power. Or try fix sleep status.

    More information you can find here: https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate


  • You need to create an MX record in the DNS zone of your domain. Something like:

    @ IN MX 10 my.zome.
    @ IN MX 20 server1.my.zome.
    

    You can create 1 MX record or more. 10 and 20 server priority for input mails.

    Then you need to create an spf record. There are several options here. For example

    @ IN TXT "v=spf1 +a +mx -all"

    allows you to send emails from A domain records, then from MX domain records and prohibits from all other hosts.

    Theoretically, you can only create an SPF record with A but without MX and dont create MX DNS records. Although I have not tried this configuration.

    This is the minimum set after which you will get into spam, but at least the letters will reach.

    You also need to make a PTR record to avoid spam folder, but this is not possible on a dynamic IP.



  • interesting facts about LVM:

    1. You can make a volume snapshot of the system before a major change (for example, an update).

    2. You can enable caching and use HDD together with SSD cache

    3. You can build raid 0,1,5 directly on LVM (you still need modules from mdraid)

    4. Even without a raid, you can expand the partition beyond one disk to another or migrate the partition from disk to disk (without even disabling it)

    However, all this is done from the console and I do not know if there is a GUI.






  • I think not. the regime is very slow to advance its interests, and you don’t have time to look back, because 7 years have passed, and everyone has served at least a year in a hot spot.

    For example. Mobilization has begun. People were outraged. Everyone was shown on TV how Putin promises that they will not demand more. What we really have: no one has canceled the mobilization on paper. Mobilization orders are coming in, only slowly, so as not to cause unrest. Contractors cannot quit after the contract expires, as mobilization and military operations seem to be continuing. For greater security, they began to send out mobilization orders through state websites, so as not to run after those who are runs away from the military commissariat. And if he did not show up, then he is deprived of his driver’s license and credit rating. But I don’t see any dissatisfaction.

    And so it is everywhere.



  • Well, that’s right. But already now the business is starting to hire women more willingly than men who can conscripted. And just recently, a law was passed that those who could refuse the draft after entering the institute would still serve after the institute. Government introduced new much stricter laws against draft evasion. Look like preparation for the beginning of mobilization.


  • No one would understand what the amount in rubles means here. I suspect that even in dollars it is difficult to understand.

    For example, is it possible to survive in Russia on $ 160 a month? The answer is - if you have a living space in a property or a country house, then yes, although this will make you save a lot on food, and in some cases you will starve a little.

    In general, if you are interested in delving into the topic, there are a lot of social benefits for pensioners in Russia. For example, you can not pay land tax if you live outside the city, do not pay tax for a car, do not pay for public transport and in some cases for train tickets. Medical care is also free, although queues usually line up for several weeks in advance. But almost all of these benefits are provided not by the pension fund, but by other.

    I can’t speak for everyone, but many of my friends pensioners who have suburban plots are engaged in gardening to save on food. In any case, in the western part of Russia, where the climate allows.

    In any case, in numbers, the situation is still exactly like this. My father has not worked officially for half his life and receives a pension of 13,000 rubles. 143$. My mother worked almost all her life at two jobs with a high salary and receives 18,000 rubles. 197$. Almost all pensioners rely on children to provide money or work to death.

    And proof for you:



  • nitrolife@rekabu.rutoWorld News@lemmy.mlRussia is preparing for a long war
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    11 months ago

    the Russian army has never been well trained. Almost the entire composition of the army below the officers are forcibly conscripted civilians. the number of contractors is ridiculously small.

    the Russian army has never been contracted. And a year of training of a forcibly conscripted person always gives approximately the same result.

    UPD: if we lived in the world of starcraft, Russia would undoubtedly be Zerg. In general, the command and tactics are applied accordingly - a swarm of Zerg. I am generally surprised that conscripts are at least given weapons.

    when I served in the army on universal conscription for 2.5 years of compulsory conscription many, years ago, I fired from a machine gun about 2 times. This is the average level of training of a Russian soldier.